summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Le <r0bertz@gentoo.org>2008-11-28 02:29:03 +0800
committerZhang Le <r0bertz@gentoo.org>2008-11-28 02:29:03 +0800
commit8569e7bdf4b6eb85d9da6dd5f2e2191442d2dc1d (patch)
tree0db916389deab429541d52d2aeb82a01ba474b36 /dev-libs
parentfixed xorg-server manifest (diff)
downloadloongson-8569e7bdf4b6eb85d9da6dd5f2e2191442d2dc1d.tar.gz
loongson-8569e7bdf4b6eb85d9da6dd5f2e2191442d2dc1d.tar.bz2
loongson-8569e7bdf4b6eb85d9da6dd5f2e2191442d2dc1d.zip
fixed gmp-gcc4.4-mips.patch
Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/gmp/Manifest2
-rw-r--r--dev-libs/gmp/files/gmp-gcc4.4-mips.patch9
2 files changed, 6 insertions, 5 deletions
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index 5bcc685..1dba26d 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -4,7 +4,7 @@ AUX gmp-4.2.1-s390.diff 1848 RMD160 04eecb2aaae4c444841e40b33abd38a662254632 SHA
AUX gmp-4.2.2-ABI-multilib.patch 12425 RMD160 b30e1a237252663199457f5f020de7fb81118e2a SHA1 d716749bad6f7996f6862bc8468eb2c7b6c89c42 SHA256 deac10a8fd120e3b8d2a566c5babfea3cf7e6ecf6cc234fe7787b4ffecacb521
AUX gmp-4.2.2-cstdio-stdfile.patch 263 RMD160 53e172ee3824899f765eee3ea8a042ac59b18b7e SHA1 5c8ec47a99c2652c466df3b9a281852c59fc3565 SHA256 469816f18dc19de304e932304c78f01f54b8960b98dd27bd10a984a0f515e733
AUX gmp-4.2.3-ABI-multilib.patch 12456 RMD160 d225bac7ea2d152bfecf8ce3b887b35a70f09eb4 SHA1 8b9ec5d278db0d1c925c8eff337126c4f9986547 SHA256 5656454b0330686984e012129c0d5889ab9d161e514d69de34b5a2eaa7383d6a
-AUX gmp-gcc4.4-mips.patch 1901 RMD160 2c93efed233a0441b65f34173117611256b8e32f SHA1 da8644c8f1957776ab74394593cbb9bce3639ce7 SHA256 f687d7a39f7b5ef38b4739be1a85d52cbb317ad7939759486fbb99b3408712f4
+AUX gmp-gcc4.4-mips.patch 1965 RMD160 25170f4ba40ee828805cbfa01a7e7a58bfa0682a SHA1 9a5cfbfe1d1cc5f88485cd33e693e512d94ea48b SHA256 a6ce0137ca0676f7638063da32341411163bb08c630582994b26bf33c4175c08
DIST gmp-4.2.4.tar.bz2 1710660 RMD160 15c6c40c377088a3bcf9d432bcc27c777991cb12 SHA1 bb721f94fbeeb8c609104540b408da6707c370ec SHA256 5420b0e558a69a53b36f2b2c70a69f547e075d98366a585fc80cbbcce1efe368
EBUILD gmp-4.2.4.ebuild 2131 RMD160 c721cc158a82f44a911893145c9d80752f397f79 SHA1 31f3a8592e5a788960274d89ed155379805d3085 SHA256 e33ef2e37df4872e866db01b3da70f0bd23fac3158203dbb5189ae6b81ffd1c8
MISC ChangeLog 14297 RMD160 e93a4ed427da9c758d52dd9fe88d1bf009545412 SHA1 3d91c12bb5bae1396abafea481ce9a49383317c6 SHA256 dcb37a74e2c73e8820721fae07c4f77593a9919ebbcf8bf63b753575599c69d5
diff --git a/dev-libs/gmp/files/gmp-gcc4.4-mips.patch b/dev-libs/gmp/files/gmp-gcc4.4-mips.patch
index 3c24048..a3d4215 100644
--- a/dev-libs/gmp/files/gmp-gcc4.4-mips.patch
+++ b/dev-libs/gmp/files/gmp-gcc4.4-mips.patch
@@ -1,19 +1,20 @@
diff --git a/gmp-impl.h b/gmp-impl.h
-index bf0dc65..239fc80 100644
+index bf0dc65..330422f 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
-@@ -2812,6 +2812,9 @@ typedef int SItype __attribute__ ((mode (SI)));
+@@ -2812,6 +2812,10 @@ typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));
typedef int DItype __attribute__ ((mode (DI)));
typedef unsigned int UDItype __attribute__ ((mode (DI)));
-+#if W_TYPE_SIZE == 64
++#if BITS_PER_MP_LIMB == 64
++typedef int TItype __attribute__ ((mode (TI)));
+typedef unsigned int UTItype __attribute__ ((mode (TI)));
+#endif
#else
typedef unsigned char UQItype;
typedef long SItype;
diff --git a/longlong.h b/longlong.h
-index 234c25c..48f7429 100644
+index 3e2aa15..e8db21d 100644
--- a/longlong.h
+++ b/longlong.h
@@ -1012,27 +1012,23 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ((UWtype *, UWtype, UWtype, UWtype));