aboutsummaryrefslogtreecommitdiffstats
path: root/testing/truecrypt/truecrypt-arch-detection.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-04 15:25:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-04 15:25:48 +0000
commit4f637b8b117f138bb8138812671af40e4a0de547 (patch)
treed8041ff6d16a813e723243f80ed8300a60064612 /testing/truecrypt/truecrypt-arch-detection.patch
parent556138a22a851dfb6177d22c508a4842a7c82877 (diff)
downloadaports-4f637b8b117f138bb8138812671af40e4a0de547.tar.bz2
aports-4f637b8b117f138bb8138812671af40e4a0de547.tar.xz
testing/truecrypt: new aport
crypto ihttp
Diffstat (limited to 'testing/truecrypt/truecrypt-arch-detection.patch')
-rw-r--r--testing/truecrypt/truecrypt-arch-detection.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/truecrypt/truecrypt-arch-detection.patch b/testing/truecrypt/truecrypt-arch-detection.patch
new file mode 100644
index 0000000000..bc16a2a36e
--- /dev/null
+++ b/testing/truecrypt/truecrypt-arch-detection.patch
@@ -0,0 +1,15 @@
+diff -urN truecrypt-7.0a-source/Makefile truecrypt-7.0a-source.fixed/Makefile
+--- truecrypt-7.0a-source/Makefile 2010-09-05 10:32:10.000000000 -0400
++++ truecrypt-7.0a-source.fixed/Makefile 2011-07-05 21:41:50.296437879 -0400
+@@ -120,10 +120,7 @@
+
+ export CPU_ARCH ?= unknown
+
+-ARCH = $(shell uname -p)
+-ifeq "$(ARCH)" "unknown"
+- ARCH = $(shell uname -m)
+-endif
++ARCH = $(shell uname -m)
+
+ ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
+ CPU_ARCH = x86