summaryrefslogtreecommitdiff
path: root/security/pgp5
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-03-14 12:32:40 +0000
committerwiz <wiz@pkgsrc.org>2002-03-14 12:32:40 +0000
commit0c39bad777b1ff1ba78575a6b36ce83a615a51f1 (patch)
tree82d126128660aa0f74f72f454baec98c40125dbe /security/pgp5
parenta2121b2d1abfb1d5d6c313338aeb694db4bc5911 (diff)
downloadpkgsrc-0c39bad777b1ff1ba78575a6b36ce83a615a51f1.tar.gz
Disable "bad" assembler (gcc-2.95.3 does not want to compile it).
Closes pkg/15138.
Diffstat (limited to 'security/pgp5')
-rw-r--r--security/pgp5/patches/patch-al13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/pgp5/patches/patch-al b/security/pgp5/patches/patch-al
new file mode 100644
index 00000000000..5abf046bad0
--- /dev/null
+++ b/security/pgp5/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2002/03/14 12:32:40 wiz Exp $
+
+--- lib/pgp/random/pgpRndPool.c.orig Sat Aug 9 23:45:13 1997
++++ lib/pgp/random/pgpRndPool.c
+@@ -296,7 +296,7 @@
+ * #define UMULH_32(r,a,b) (r) = 0
+ */
+ #ifndef UMULH_32
+-#if defined(__GNUC__) && defined(__i386__)
++#if defined(__GNUC__) && defined(__i386__) && 0
+ /* Inline asm goodies */
+ #define UMULH_32(r,a,b) __asm__("mull %2" : "=d"(r) : "%a"(a), "mr"(b) : "ax")
+ #elif HAVE64