summaryrefslogtreecommitdiff
path: root/package/gmp/patches/patch-longlong_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
commit407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch)
tree0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/gmp/patches/patch-longlong_h
parent2ecefcf609e484d04d1546581191831e07ad71ec (diff)
parentabb858ae43374dc13a5fcef19b9e0ba9442013bb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gmp/patches/patch-longlong_h')
-rw-r--r--package/gmp/patches/patch-longlong_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gmp/patches/patch-longlong_h b/package/gmp/patches/patch-longlong_h
new file mode 100644
index 000000000..dd42a0ebc
--- /dev/null
+++ b/package/gmp/patches/patch-longlong_h
@@ -0,0 +1,11 @@
+--- gmp-5.1.3.orig/longlong.h 2013-09-30 12:18:28.000000000 +0200
++++ gmp-5.1.3/longlong.h 2014-01-06 16:07:47.886035812 +0100
+@@ -1230,7 +1230,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype
+ #define UDIV_TIME 100
+ #endif /* __mips */
+
+-#if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64
++#if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64 && defined (_LP64)
+ #if __GMP_GNUC_PREREQ (4,4)
+ #define umul_ppmm(w1, w0, u, v) \
+ do { \