summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Le <r0bertz@gentoo.org>2008-11-09 03:49:38 +0800
committerZhang Le <r0bertz@gentoo.org>2008-11-09 03:49:38 +0800
commitbff1c61349ab3fcee9369eb66f46c1c8b7eb3c2f (patch)
tree57416b33db8d6c5b7d58e63c27dfd23ed879e26f /dev-libs
parentcopied mpfr from tree (diff)
downloadloongson-bff1c61349ab3fcee9369eb66f46c1c8b7eb3c2f.tar.gz
loongson-bff1c61349ab3fcee9369eb66f46c1c8b7eb3c2f.tar.bz2
loongson-bff1c61349ab3fcee9369eb66f46c1c8b7eb3c2f.zip
added mpfr-gcc4.4-mips.patch, bump to mpfr-2.3.2_p1
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/mpfr/Manifest17
-rw-r--r--dev-libs/mpfr/files/2.3.2/mpfr-gcc4.4-mips.patch42
-rw-r--r--dev-libs/mpfr/mpfr-2.3.2_p1.ebuild (renamed from dev-libs/mpfr/mpfr-2.3.2.ebuild)0
3 files changed, 44 insertions, 15 deletions
diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
index 47029a4..a8ae577 100644
--- a/dev-libs/mpfr/Manifest
+++ b/dev-libs/mpfr/Manifest
@@ -1,18 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 2.3.1/patch01 8409 RMD160 ab6214e9177740552b5dfb543c5202b6d7c298da SHA1 3fe727c465ea76e2a2fc81ad470872d4c466343c SHA256 452e7bec28f702f0220f2d4445760e21bba8e5922788979a7ed3bc3c51129cdb
-DIST mpfr-2.3.1.tar.bz2 888921 RMD160 bee605214c22b6a918eef9b9bb77d12b4c4f1188 SHA1 302ebc61d24bed644e88e6ba269b2ec4146947a5 SHA256 d857f9df4a6cf50d0bc57dd11296dd1a8d1ac709442875ea4fcd757a89da8430
+AUX 2.3.2/mpfr-gcc4.4-mips.patch 1426 RMD160 5d054c2d9ae9d67924a326477fc59f91142cf011 SHA1 a88a107212f0c348c6e59b6374ebdded268865f6 SHA256 3565e7beb3cad49936b2c5b6ad952af8cf725f389b807e9ae1e35c15d80d40de
DIST mpfr-2.3.2.tar.lzma 816537 RMD160 eff9b819dee971cd907dde461cd525c473516e29 SHA1 1c48c7a545b571e54ea2418bd1eae8b5e3bfe753 SHA256 d8285d3f7fc824eb1fe86ebeb5b8e5064265be8e7439d5aec49bafcb53d710be
-EBUILD mpfr-2.3.1.ebuild 1320 RMD160 66c83ccd340bc86c874dc62913b9422a711209d1 SHA1 d3fea9aa3ce3a979958ad4c9841e317071a191e6 SHA256 52ec6fedccdd15f1fd4907486754592f7b4a1e2fd3e909eb8d9735c3af9c2ae2
-EBUILD mpfr-2.3.1_p1.ebuild 1375 RMD160 0f01350cb0f3e87c247cb48160779ad5d139161c SHA1 d740cfa864fec42c9d8e76a74658743d8ea28917 SHA256 df0db01c24df9ef32a852d2d326ecd666054a825f6b7452e5bd4af59945fa7a0
-EBUILD mpfr-2.3.2.ebuild 1414 RMD160 093e6f72a3174b59566deb19ceb047f9e6090601 SHA1 5174c86341e24b147205afe523c8beeba9abe07a SHA256 5aad2ce00fd4a81a48e257e7c856b3bb10ec2fdb1986def6c23ade6628c93b5f
+EBUILD mpfr-2.3.2_p1.ebuild 1414 RMD160 093e6f72a3174b59566deb19ceb047f9e6090601 SHA1 5174c86341e24b147205afe523c8beeba9abe07a SHA256 5aad2ce00fd4a81a48e257e7c856b3bb10ec2fdb1986def6c23ade6628c93b5f
MISC ChangeLog 9991 RMD160 bcaeb88e150b4aa878f49742cc78fa950d106166 SHA1 914fa38a621aa37aeca97d62733d7c67e011ca09 SHA256 a88a71799640fa947a75a3549d228b884d068399d1468b3bf0185efd62d1ded6
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkjgMcAACgkQ67wieSYcaxc9BACaAlx0arEz16EIvndycpynP1Cl
-Va4AoJ/slxL9mfZdOUzFY1+kiVVfN4ju
-=OyMR
------END PGP SIGNATURE-----
diff --git a/dev-libs/mpfr/files/2.3.2/mpfr-gcc4.4-mips.patch b/dev-libs/mpfr/files/2.3.2/mpfr-gcc4.4-mips.patch
new file mode 100644
index 0000000..4eaa929
--- /dev/null
+++ b/dev-libs/mpfr/files/2.3.2/mpfr-gcc4.4-mips.patch
@@ -0,0 +1,42 @@
+diff --git a/mpfr-longlong.h b/mpfr-longlong.h
+index 111b36c..57eba49 100644
+--- a/mpfr-longlong.h
++++ b/mpfr-longlong.h
+@@ -1011,27 +1011,23 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ((UWtype *, UWtype, UWtype, UWtype));
+ #endif /* __m88000__ */
+
+ #if defined (__mips) && W_TYPE_SIZE == 32
+-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #define umul_ppmm(w1, w0, u, v) \
+- __asm__ ("multu %2,%3" : "=l" (w0), "=h" (w1) : "d" (u), "d" (v))
+-#else
+-#define umul_ppmm(w1, w0, u, v) \
+- __asm__ ("multu %2,%3\n\tmflo %0\n\tmfhi %1" \
+- : "=d" (w0), "=d" (w1) : "d" (u), "d" (v))
+-#endif
++ do { \
++ UDItype __x = (UDItype) (USItype) (u) * (USItype) (v); \
++ (w1) = (USItype) (__x >> 32); \
++ (w0) = (USItype) (__x); \
++ } while (0)
+ #define UMUL_TIME 10
+ #define UDIV_TIME 100
+ #endif /* __mips */
+
+ #if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64
+-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #define umul_ppmm(w1, w0, u, v) \
+- __asm__ ("dmultu %2,%3" : "=l" (w0), "=h" (w1) : "d" (u), "d" (v))
+-#else
+-#define umul_ppmm(w1, w0, u, v) \
+- __asm__ ("dmultu %2,%3\n\tmflo %0\n\tmfhi %1" \
+- : "=d" (w0), "=d" (w1) : "d" (u), "d" (v))
+-#endif
++ do { \
++ UTItype __x = (UTItype) (UDItype) (u) * (UDItype) (v); \
++ (w1) = (UDItype) (__x >> 64); \
++ (w0) = (UDItype) (__x); \
++ } while (0)
+ #define UMUL_TIME 20
+ #define UDIV_TIME 140
+ #endif /* __mips */
diff --git a/dev-libs/mpfr/mpfr-2.3.2.ebuild b/dev-libs/mpfr/mpfr-2.3.2_p1.ebuild
index 3f98109..3f98109 100644
--- a/dev-libs/mpfr/mpfr-2.3.2.ebuild
+++ b/dev-libs/mpfr/mpfr-2.3.2_p1.ebuild