summaryrefslogtreecommitdiffstats
path: root/main/truecrypt/truecrypt-arch-detection.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-06-13 08:32:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-06-13 08:32:13 +0000
commit82b24148942203f7b504cb6d3c3ec2420739ce5b (patch)
tree1bef764f951c77cf30058586842ecdef8c9b9d3c /main/truecrypt/truecrypt-arch-detection.patch
parentf170b059fef49ebcaa2c0e6beaa9a136b41398bc (diff)
downloadaports-82b24148942203f7b504cb6d3c3ec2420739ce5b.tar.bz2
aports-82b24148942203f7b504cb6d3c3ec2420739ce5b.tar.xz
main/truecrypt: moved from testing and fix libdl underlinking
Diffstat (limited to 'main/truecrypt/truecrypt-arch-detection.patch')
-rw-r--r--main/truecrypt/truecrypt-arch-detection.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/truecrypt/truecrypt-arch-detection.patch b/main/truecrypt/truecrypt-arch-detection.patch
new file mode 100644
index 000000000..bc16a2a36
--- /dev/null
+++ b/main/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