wok-next view truecrypt/stuff/patches/truecrypt-arch-detection.patch @ rev 20036

Fix truecrypt. Although cryptography is not easy. Use it at your own risk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 22 19:31:48 2017 +0300 (2017-10-22)
parents
children
line source
1 diff -urN truecrypt-7.0a-source/Makefile truecrypt-7.0a-source.fixed/Makefile
2 --- truecrypt-7.0a-source/Makefile 2010-09-05 10:32:10.000000000 -0400
3 +++ truecrypt-7.0a-source.fixed/Makefile 2011-07-05 21:41:50.296437879 -0400
4 @@ -120,10 +120,7 @@
6 export CPU_ARCH ?= unknown
8 -ARCH = $(shell uname -p)
9 -ifeq "$(ARCH)" "unknown"
10 - ARCH = $(shell uname -m)
11 -endif
12 +ARCH = $(shell uname -m)
14 ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
15 CPU_ARCH = x86