From 7f74bc90eaa8f38f85915c2b495131e5b20cee2d Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Thu, 16 Oct 2003 16:42:04 +0000 Subject: amd64 umask and longlong.patch, closing bug #29201 --- dev-libs/gmp/files/longlong.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-libs/gmp/files/longlong.patch (limited to 'dev-libs/gmp/files') 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 */ + -- cgit v1.2.3-65-gdbad