浏览代码

make sure we are patching gcrypt

Kevin Bradley 3 年之前
父节点
当前提交
8099f24793
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      the_memo2.sh

+ 2 - 2
the_memo2.sh

@@ -914,7 +914,7 @@ buildGpgError() {
 
 patchGcrypt() {
 	if [[ "$PLATFORM" == "AppleTVOS" ]]; then
-		if [[ "$PKG_VERSION" == "1.8.2-1" ]]; then
+		#if [[ "$PKG_VERSION" == "1.8.2-1" ]]; then
 			cat tests/random.c | head -n 39 > random.patched.c
 			echo "#include <stdint.h>" >> random.patched.c
 			echo "#include <stdio.h>" >> random.patched.c
@@ -928,7 +928,7 @@ patchGcrypt() {
 			fixSystem "random.patched.c"
 			cat tests/random.c | tail -n 727 | sed 's/system (cmdline)/RunCmd(cmdline)/g' >> random.patched.c
 			cp random.patched.c tests/random.c
-		fi
+		#fi
 	fi
 }