summaryrefslogtreecommitdiff
path: root/package/mpfr/patches/patch-src_mpfr-longlong_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-06 17:44:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-06 17:44:04 +0100
commitcf4220a53a56270f40195f2425898d2b6f9f5cbd (patch)
tree7995d9b2c804569eb94c6c8d969f74f1ece6c4b7 /package/mpfr/patches/patch-src_mpfr-longlong_h
parenta43ce22bf093eb78276a17344da5b2d79a8a1a2d (diff)
parentff6313ae0ed89f6d86658a001ff9db0177b1f432 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mpfr/patches/patch-src_mpfr-longlong_h')
-rw-r--r--package/mpfr/patches/patch-src_mpfr-longlong_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mpfr/patches/patch-src_mpfr-longlong_h b/package/mpfr/patches/patch-src_mpfr-longlong_h
new file mode 100644
index 000000000..e68cfa752
--- /dev/null
+++ b/package/mpfr/patches/patch-src_mpfr-longlong_h
@@ -0,0 +1,11 @@
+--- mpfr-3.1.2.orig/src/mpfr-longlong.h 2013-03-13 16:37:32.000000000 +0100
++++ mpfr-3.1.2/src/mpfr-longlong.h 2014-01-06 16:29:39.854354889 +0100
+@@ -1043,7 +1043,7 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO (
+ #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 { \