diff options
-rw-r--r-- | devel/gmp/distinfo | 3 | ||||
-rw-r--r-- | devel/gmp/patches/patch-aa | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/gmp/distinfo b/devel/gmp/distinfo index b97cec96e27..8b11f0a3723 100644 --- a/devel/gmp/distinfo +++ b/devel/gmp/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.7 2003/02/21 12:25:22 mycroft Exp $ +$NetBSD: distinfo,v 1.8 2004/02/26 17:08:22 drochner Exp $ SHA1 (gmp-4.1.2.tar.gz) = 68a6ee6488e9c660f201be70bc55b8e2c40b16b1 Size (gmp-4.1.2.tar.gz) = 2159329 bytes +SHA1 (patch-aa) = ade0452f0d95518e70b6ddf71940da11d50f10d7 diff --git a/devel/gmp/patches/patch-aa b/devel/gmp/patches/patch-aa new file mode 100644 index 00000000000..86ec18f9359 --- /dev/null +++ b/devel/gmp/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.9 2004/02/26 17:09:08 drochner Exp $ + +--- longlong.h.orig 2004-02-26 17:07:18.000000000 +0100 ++++ longlong.h 2004-02-26 17:49:56.000000000 +0100 +@@ -715,8 +715,10 @@ + } while (0) + #define count_trailing_zeros(count, x) \ + do { \ ++ UDItype __cbtmp; \ + ASSERT ((x) != 0); \ +- __asm__ ("bsfq %1,%0" : "=r" (count) : "rm" ((UDItype)(x))); \ ++ __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \ ++ (count) = __cbtmp; \ + } while (0) + #endif /* x86_64 */ + |