From 7bb4f97292ac3b0dd1e43addbb577c6d3bb5e5fe Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 8 May 2008 06:52:09 +0000 Subject: disapproval of revision 'b8e46b797b32111526a2116d020fdd9e1c079965' --- packages/gmp/gmp-4.2.1/amd64.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/gmp/gmp-4.2.1/amd64.patch (limited to 'packages/gmp/gmp-4.2.1/amd64.patch') diff --git a/packages/gmp/gmp-4.2.1/amd64.patch b/packages/gmp/gmp-4.2.1/amd64.patch new file mode 100644 index 0000000000..67be9dd350 --- /dev/null +++ b/packages/gmp/gmp-4.2.1/amd64.patch @@ -0,0 +1,14 @@ +--- gmp-4.1.4/longlong.h.orig 2004-04-22 00:34:28.000000000 +0200 ++++ gmp-4.1.4/longlong.h 2005-07-18 01:13:06.000000000 +0200 +@@ -738,8 +738,10 @@ + count is only an int. */ + #define count_trailing_zeros(count, x) \ + do { \ ++ UDItype __cbtmp; \ + ASSERT ((x) != 0); \ +- __asm__ ("bsfq %1,%q0" : "=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