Browse files

Merge pull request #163 from jauhien/master

sci-libs/givaro gcc-4.7 fix for issue #162
  • Loading branch information...
2 parents 52b1458 + 40548f0 commit a141cac7c9f4874d3691fa8b956618d8a6a16dc2 @kiwifb kiwifb committed Aug 20, 2012
View
7 sci-libs/givaro/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*givaro-3.2.16-r2 (20 Aug 2012)
+
+ 20 Aug 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
+ -givaro-3.2.16-r1.ebuild, +givaro-3.2.16-r2.ebuild,
+ files/givaro-3.2.16-gcc47.patch:
+ fix for issue #162
+
*givaro-3.2.16-r1 (16 Aug 2012)
16 Aug 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
View
6 sci-libs/givaro/Manifest
@@ -1,10 +1,10 @@
-AUX givaro-3.2.16-gcc47.patch 21641 SHA256 4787134a61b79945a0707039987a0879b18e08cec14895143383ca63360fb0dd SHA512 3106e45211319d2c8f7fcd001ad20deee8b6db0c9150160e14226ac77e5f266cb9ad30cb1dd23eff729c99da565f02cce20110bbf54c0b744cf33ff1fbea3c20 WHIRLPOOL e61144cbf830c933ade5a5aba4904db19c73d6c9855a272221d820c7a954b3b00e033b02b79c93f7ea0adb30ce48bc232e6ea90d3a40c1c51eaccc8275335f53
+AUX givaro-3.2.16-gcc47.patch 23014 SHA256 e5f0dcadbcc4df56c33c4700743c9254a1fb95c1840fe8914ebdc7bcb48055f9 SHA512 9cc28c2146c55ffb73d84244ed32ccfe9bfc4cf7e1a111dc7684bc5f6aa2aec1aef6897cc587d201ea156d2833dec0b476ac76d813eab9957bb4d936a3fd53f4 WHIRLPOOL 66322f2451794dda4ec42b59824e0cc9849fc4d3f9b442f87c7f157adc04db001687751fefb51a5f9330ada022fd696e8b27516e3756c277d51c5fe77754b250
AUX givaro-3.3.6-fix-compiler-checks.patch 672 SHA256 370555ac38f98c1d7ff1e101626fcd9d815191c87c6eaa858e33d1c439feb03e SHA512 ae3625394d4e2cbb93b806d03cb5ee9c3dda2800c35d80158f8aafc4ce727a3b773ba5ce34a5cdb3646fd1fd145a039a3d0d9f3874d3e2c9db8f06c1f5c26e32 WHIRLPOOL b7b17549205d74b3127ca93c59a7cdae287ac5c07e9955e69af00a702519232313e447545a11c3465fa47356841b01723a95f71de67b808edeaecbb70f9da412
DIST givaro-3.2.16.tar.gz 629189 SHA256 0e56e90dc5bf1017f1eac8d0b7857f7041c119f4eabf37cd74c7d5aae3c0c592 SHA512 1604ce256f13f054d7520792c09e55ecb455636543c8a25da5f84da6912fe50ac7ff71e09287d499db800b4dd76185859a22c8c6c821924c38c58f66d315e096 WHIRLPOOL 3f91f9982b361de0fd542032cd91035a19efad21e05700e11c3ffe72849bb8ff808028a1e22ea077c2eb59dd018a43cd07a19a8f77be612e2084069bf261d6f2
DIST givaro-3.3.6.tar.gz 723502 SHA256 8221ea8bfede5c06231f367e2ecfe875b38fa07feae0beb3fee52fa0dbe641dc
DIST givaro-3.7.0.tar.gz 907273 SHA256 7f9b89770f799184031578b813e53a066a26d3549ba20965786815eae4889964
-EBUILD givaro-3.2.16-r1.ebuild 639 SHA256 995804a866d77bb20e9498dea42e66bbd42b761bb6e10bb6423761e673c05516 SHA512 65a2f812d9020d09bba7912134d7ec55371549ad4c3c6a078c1684ecf476379210c2992a5f07a15d25fa5b5b07a62b1d10200de0d3f8f0e776fb8d9705fd88c2 WHIRLPOOL 78452a16b4e0e51c72f59abc61112e592ef4a3053fc74f1fae5ef9f8f840dd161820a3168fa1a33df0073ced414d99a8c8faf110030681d9807fe21b69ea6b30
+EBUILD givaro-3.2.16-r2.ebuild 639 SHA256 995804a866d77bb20e9498dea42e66bbd42b761bb6e10bb6423761e673c05516 SHA512 65a2f812d9020d09bba7912134d7ec55371549ad4c3c6a078c1684ecf476379210c2992a5f07a15d25fa5b5b07a62b1d10200de0d3f8f0e776fb8d9705fd88c2 WHIRLPOOL 78452a16b4e0e51c72f59abc61112e592ef4a3053fc74f1fae5ef9f8f840dd161820a3168fa1a33df0073ced414d99a8c8faf110030681d9807fe21b69ea6b30
EBUILD givaro-3.3.6.ebuild 636 SHA256 2893e3c3535f0af4a3866e585e0860c30d50c99a517d0498a7dc3a207695af68 SHA512 793f132890716aac209e5197b786da2c5b94142903d155705210a1ba178ce072763cb6b5174270422c8c2b68c65f0320a078830727157808476098c3438c3e86 WHIRLPOOL 9df8f1e8827224b530c689f1cd5288828eb434de0fb4c014a972b86df30f91360c3a19a6e4e7b3ceab07c29b746a28160665a85dff69deee57fcb3f10c517522
EBUILD givaro-3.7.0.ebuild 614 SHA256 8fd349cd8d9662e84fb02ed1b133f0166318c790a8c02f958502a1226e243042 SHA512 96d27196608dea0db0275f59a91354f4501ae203192b329724ec69bc44024e69dbc17bcda5beb8b2c79f4e42fa6f0d00a86a8afa18fef9aa7177294ae24f2e3f WHIRLPOOL 699a8bfe1ee371a0a9761b2dd5c43222992333d1d875e0e5bdfc3668fa8887020a7725e5b18d14eff74976e463c187912dc1fbde0398eb40040337ad103495fb
-MISC ChangeLog 3434 SHA256 921fbceada9a26f88eba2555161cffea0f8d8b48429fceabaa10efc96bf656cd SHA512 14be529bb7fae14314b3286211ffc50bc18db2f5f6d859e110c4b644665ae8fd2f835193df9a79bab157739cdcfbe9348e37bee0c09788c549b3dcbf5cbd8ab8 WHIRLPOOL 5b5c8427d392ec29b267ee45767b52fa03293c476fabe84e44b4e54958da2cb57ca662a62c68ee9cfa0ddcbaefb53fc7c09ef07d57087a3e9ccb9f79c969ea99
+MISC ChangeLog 3643 SHA256 4a9a203614af93db0d69cc22293d08ae74ac4a1bf0696288b656d1b6a2573122 SHA512 9887077ab9a04cd6b4fdd4452b6cb1bf4773ccdf23c33e92325f0f4cf988f0c36382a25067797017748627036d48aa8037b62ace20ed565bf5286e8a25c72ba5 WHIRLPOOL 9d2eceb5aa5f8e09197dbf24551eb423121186347e5844c253d91036bb53baccd7a68e66648ecbc00e166badf6fc9cd39a80c0352c3333b87d61a9ad006a9737
MISC metadata.xml 218 SHA256 45420c665fb7a061ce85d5300ea7ed5a034a812dc286e2c87540b90d1388d79d SHA512 d0379679719f607297c40a8f3eb4bdbf9da336c5ccfb50b8e7b382def18185fa006383522062b024a6c0041609a65a599a3ad03a7600a061e8a29800cf73436b WHIRLPOOL ee5eecf9e3547cf4d8896a4ba6efe465f38931e7c35951bd54830f15674d946df093da0f78e054f6c988618dac06c316332c9565ba610631d9ff9057106b52bb
View
34 sci-libs/givaro/files/givaro-3.2.16-gcc47.patch
@@ -529,6 +529,15 @@ diff -u -r givaro-3.2.16.orig/src/library/poly1/givpoly1proot.inl givaro-3.2.16/
Residu_t MOD = _domain.residu();
// Search for an irreducible BINOMIAL : X^n + a
+@@ -80,7 +80,7 @@
+ inline typename Poly1FactorDom<Domain,Tag, RandIter>::Element& Poly1FactorDom<Domain,Tag, RandIter>::random_irreducible (Element& R, Degree n) const {
+ // Search for a monic irreducible Polynomial
+ // with random Elements
+- init(R, n, _domain.one);
++ this->init(R, n, _domain.one);
+ Residu_t MOD = _domain.residu();
+
+ do {
@@ -102,9 +102,9 @@
// ---------------------------------------------------------------
template<class Domain, class Tag, class RandIter >
@@ -558,3 +567,28 @@ diff -u -r givaro-3.2.16.orig/src/library/poly1/givpoly1proot.inl givaro-3.2.16/
// FD.pow(q ,IMOD, d.value());
// FD.sub(qp, q, FD.one);
FD.subin( FD.pow(qp ,IMOD, d.value()) , FD.one);
+@@ -292,13 +292,13 @@
+ template<class Domain, class Tag, class RandIter >
+ inline typename Poly1FactorDom<Domain,Tag, RandIter>::Rep& Poly1FactorDom<Domain,Tag, RandIter>::give_prim_root(Rep& R, const Rep& F) const {
+- Degree n; degree(n,F);
++ Degree n; this->degree(n,F);
+ Residu_t MOD = _domain.residu();
+ // this->write(std::cout << "Give Pr: ", F) << std::endl;
+
+
+ // Search for a primitive BINOMIAL : X^i + a
+ for(Degree di=1;di<n;++di) {
+- init(R, di, _domain.one);
++ this->init(R, di, _domain.one);
+ // for(Residu_t a=MOD; a--; ) {
+ for(Residu_t a=0; a<MOD;++a ) {
+ _domain.assign(R[0],a);
+@@ -308,7 +308,7 @@
+ }
+ // Search for a primitive TRINOMIAL : X^i + b*X^j + a
+ for(Degree di=2;di<n;++di) {
+- init(R, di, _domain.one);
++ this->init(R, di, _domain.one);
+ for(Degree dj=1;dj<di;++dj)
+ // for(Residu_t b=MOD; b--;) {
+ for(Residu_t b=0; b<MOD;++b) {
View
0 sci-libs/givaro/givaro-3.2.16-r1.ebuild → sci-libs/givaro/givaro-3.2.16-r2.ebuild
File renamed without changes.

0 comments on commit a141cac

Please sign in to comment.