diff options
author | Felix Domke <tmbinc@elitedvb.ne> | 2005-07-17 23:31:16 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-17 23:31:16 +0000 |
commit | b4c6b653d6e9ea0cdcdc32837421593863b16141 (patch) | |
tree | 8b2cd536532829448f839cb8d9d3c758ad8e77c2 /packages/gmp/gmp-4.1.4/amd64.patch | |
parent | 9c15f353d7d2f8ee7de9631581040848cc4d962f (diff) |
upgrade gmp to 4.1.4: old version did not build with gcc4
Diffstat (limited to 'packages/gmp/gmp-4.1.4/amd64.patch')
-rw-r--r-- | packages/gmp/gmp-4.1.4/amd64.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gmp/gmp-4.1.4/amd64.patch b/packages/gmp/gmp-4.1.4/amd64.patch new file mode 100644 index 0000000000..67be9dd350 --- /dev/null +++ b/packages/gmp/gmp-4.1.4/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 */ + |