summaryrefslogtreecommitdiff
path: root/archivers/zip/patches
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2009-09-18 14:01:32 +0000
committersketch <sketch@pkgsrc.org>2009-09-18 14:01:32 +0000
commit5d19911a3f8c8fe73be4497c0e8d89ae7472babb (patch)
tree940d7f8b1cd8176afdd7a8dc53be072dd2f7ed7f /archivers/zip/patches
parent7e658a3a672a68bf71c88e3feb6a9df5b7a16b87 (diff)
downloadpkgsrc-5d19911a3f8c8fe73be4497c0e8d89ae7472babb.tar.gz
Allow assembler to be disabled completely and do so with sunpro.
Diffstat (limited to 'archivers/zip/patches')
-rw-r--r--archivers/zip/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/archivers/zip/patches/patch-ab b/archivers/zip/patches/patch-ab
new file mode 100644
index 00000000000..3301623d71a
--- /dev/null
+++ b/archivers/zip/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.4 2009/09/18 14:01:32 sketch Exp $
+
+--- unix/configure.orig Fri Sep 18 14:57:23 2009
++++ unix/configure Fri Sep 18 14:58:24 2009
+@@ -235,6 +235,7 @@
+ echo Check if we can use asm code
+ OBJA=""
+ OCRCU8=""
++if [ -z "$DISABLE_ASM" ]; then
+ if eval "$CPP match.S > _match.s 2>/dev/null"; then
+ if test ! -s _match.s || grep error < _match.s > /dev/null; then
+ :
+@@ -257,6 +258,7 @@
+ fi
+ fi
+ rm -f _match.s _match.o _crc_i386.s _crc_i386.o
++fi
+
+
+ # ANSI options for compilers that don't have __STDC__ defined by default