summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2003-10-16 16:42:04 +0000
committerDaniel Robbins <drobbins@gentoo.org>2003-10-16 16:42:04 +0000
commit7f74bc90eaa8f38f85915c2b495131e5b20cee2d (patch)
treed46ef94e4d618ece22bc999d1b96821ed8e272fe /dev-libs/gmp/files
parentamd64 unmask (diff)
downloadhistorical-7f74bc90eaa8f38f85915c2b495131e5b20cee2d.tar.gz
historical-7f74bc90eaa8f38f85915c2b495131e5b20cee2d.tar.bz2
historical-7f74bc90eaa8f38f85915c2b495131e5b20cee2d.zip
amd64 umask and longlong.patch, closing bug #29201
Diffstat (limited to 'dev-libs/gmp/files')
-rw-r--r--dev-libs/gmp/files/longlong.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/gmp/files/longlong.patch b/dev-libs/gmp/files/longlong.patch
new file mode 100644
index 000000000000..aa934a3aecb8
--- /dev/null
+++ b/dev-libs/gmp/files/longlong.patch
@@ -0,0 +1,14 @@
+--- longlong.old 2003-10-14 18:52:52.000000000 -0400
++++ longlong.h 2003-10-14 18:53:52.000000000 -0400
+@@ -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 */
+