[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/, dev-libs/ntl/files/

2020-04-24 Thread Michael Orlitzky
commit: 16bf0e7f6968b4a6eff5a3139a79d26871a37037
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Apr 24 21:24:57 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Apr 24 21:41:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bf0e7f

dev-libs/ntl: remove old "unused" versions.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest  |   3 -
 .../ntl/files/ntl-9.2.0-sanitize-makefile.patch| 160 -
 dev-libs/ntl/files/ntl-9.2.0-singular.patch|  13 --
 .../ntl/files/ntl-9.6.4-sanitize-makefile.patch| 160 -
 dev-libs/ntl/ntl-10.5.0.ebuild |  62 
 dev-libs/ntl/ntl-9.3.0.ebuild  |  82 ---
 dev-libs/ntl/ntl-9.6.4.ebuild  |  85 ---
 7 files changed, 565 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 3ae669d70fb..c1c7dc4d859 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,4 +1 @@
-DIST ntl-10.5.0.tar.gz 1278729 BLAKE2B 
a061ac4e0989ea671c51a22904851e5b7919f3a7e55624048c576d6f48d2ba3d6f88baa6c656c9ef43ad2145a03df9d891372f8462a1c5b6b53bc1d05301d9f6
 SHA512 
b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
 DIST ntl-11.4.3.tar.gz 2274421 BLAKE2B 
d2c2fe695b17f47b24ad714d51dd723cbba453cc0fd67b8f46392103ef2f40ba54246411c793f0f60d1d50aae27cb8e75f6e8526fa9592e04c2cd0bdecef760c
 SHA512 
26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
-DIST ntl-9.3.0.tar.gz 888710 BLAKE2B 
153a6f1bd11f27ef2944e4df5e941c4ddbb1783449e2a72aa1a272fcf169997b01646cfac63ac3af5a85a7f9a4db99a664503615d323ba54784849e764316b0c
 SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
-DIST ntl-9.6.4.tar.gz 915256 BLAKE2B 
78d8415bb1fe858881f997383ca9adcc8af2499251fc1b2e8e2211a8c7b8edc249ef28f3705e302d438c19cc07bd31d8b36681cb6b5a846d4f0b35ff09d310ff
 SHA512 
ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868

diff --git a/dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch 
b/dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch
deleted file mode 100644
index 2e8b77ae4b9..000
--- a/dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch
+++ /dev/null
@@ -1,160 +0,0 @@
-diff -Naur ntl-9.2.0.orig/src/DoConfig ntl-9.2.0/src/DoConfig
 ntl-9.2.0.orig/src/DoConfig2015-07-09 21:45:26.959930693 +1200
-+++ ntl-9.2.0/src/DoConfig 2015-07-09 21:46:52.250122780 +1200
-@@ -38,14 +38,16 @@
- 
- 'LDFLAGS' => '',
- 'LDLIBS'  => '-lm',
-+'PICFLAG' => '-fPIC',
- 'CPPFLAGS'=> '',
- 
--'DEF_PREFIX'  => '/usr/local',
-+'DEF_PREFIX'  => '/usr',
- 
- 'PREFIX'  => '$(DEF_PREFIX)',
- 'LIBDIR'  => '$(PREFIX)/lib',
- 'INCLUDEDIR'  => '$(PREFIX)/include',
- 'DOCDIR'  => '$(PREFIX)/share/doc',
-+'SHMAKE'  => 'non-gld',
- 
- 'GMP_PREFIX'  => '$(DEF_PREFIX)',
- 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
-diff -Naur ntl-9.2.0.orig/src/mfile ntl-9.2.0/src/mfile
 ntl-9.2.0.orig/src/mfile   2015-07-09 21:45:26.959930693 +1200
-+++ ntl-9.2.0/src/mfile2015-07-09 21:57:40.631583489 +1200
-@@ -109,6 +109,16 @@
- WIZARD=@{WIZARD}
- # Set to off if you want to bypass the wizard; otherwise, set to on.
- 
-+###
-+#
-+# New addition for shared library building. With gcc you need to
-+# choose the Position Indepent Code flag. You have a choice of 
-+# -fpic better code but in rare case not available (ppc)
-+# -fPIC slightly slower code but guaranted to work anywhere.
-+#
-+###
-+
-+PICFLAG=@{PICFLAG}
- 
- #
- #
-@@ -141,6 +151,8 @@
- 
- OBJ=$(O19)
- 
-+SHOBJ=$(subst .o,.lo,$(OBJ))
-+
- # library source files
- 
- 
-@@ -314,6 +326,8 @@
- 
- LINK = $(CXX) $(NTL_INCLUDE) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
- 
-+.SUFFIXES: .lo
-+
- 
- 
- # 'make all' does a complete make, including all setup.
-@@ -322,11 +336,11 @@
- # again.
- 
- all:
--  make setup1
--  make setup2
--  make setup3
--  make setup4
--  make ntl.a
-+  ${MAKE} setup1
-+  ${MAKE} setup2
-+  ${MAKE} setup3
-+  ${MAKE} setup4
-+  ${MAKE} ntl.a
-   touch all
- 
- 
-@@ -373,22 +387,37 @@
- lip.o:lip.c g_lip_impl.h c_lip_impl.h 
-   $(LCOMP) $(COMPILE) $(GMP_OPT_INCDIR) lip.c
- 
-+lip.lo:   lip.c g_lip_impl.h c_lip_impl.h 
-+  $(LCOMP) $(COMPILE) $(PICFLAG) $(GMP_OPT_INCDIR) lip.c -o lip.lo
-+
- ctools.o: ctools.c
-   $(LCOMP) $(COMPILE) ctools.c
- 
-+ctools.lo:ctools.c

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/, dev-libs/ntl/files/

2015-09-20 Thread Justin Lecher
commit: fbec1fd4628a54d93cb2fdb98b548c83ec7ea751
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Sep 20 11:31:02 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Sep 20 11:31:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbec1fd4

Revert "dev-libs/ntl: Clean old"

This reverts commit 532a9b6c9bdc1a4011d9733c679a5b67cd0fd5c1.

Version still required

 dev-libs/ntl/Manifest  |   1 +
 dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch  |  53 +++
 dev-libs/ntl/files/ntl-5.5.2-shared.patch  | 166 +
 dev-libs/ntl/files/ntl-5.5.2-singular.patch|  12 ++
 dev-libs/ntl/metadata.xml  |   6 +-
 .../ntl/{ntl-6.1.0.ebuild => ntl-5.5.2.ebuild} |  38 +++--
 dev-libs/ntl/ntl-6.1.0.ebuild  |  28 ++--
 7 files changed, 266 insertions(+), 38 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index a8c8131..bb34f48 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,2 +1,3 @@
+DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99

diff --git a/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch 
b/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
new file mode 100644
index 000..fafa973
--- /dev/null
+++ b/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
@@ -0,0 +1,53 @@
+--- include/NTL/tools.h.orig   2008-05-06 22:14:06.0 +1200
 include/NTL/tools.h2008-05-06 22:14:23.0 +1200
+@@ -249,6 +249,12 @@
+ char IntValToChar(long a);
+ 
+ 
++/*
++  This function is not present in vanilla NTL
++  See tools.c for documentation.
++ */
++void SetErrorCallbackFunction(void (*func)(const char *s, void *context), 
void *context);
++
+ 
+ void Error(const char *s);
+ 
+--- src/tools.c.orig   2008-05-06 22:15:32.0 +1200
 src/tools.c2008-05-06 22:15:45.0 +1200
+@@ -8,8 +8,35 @@
+ NTL_START_IMPL
+ 
+ 
++/*
++   The following code differs from vanilla NTL
++
++   We add a SetErrorCallbackFunction(). This sets a global callback function 
_function_,
++   which gets called with parameter _context_ and an error message string 
whenever Error()
++   gets called.
++
++   Note that if the custom error handler *returns*, then NTL will dump the 
error message
++   back to stderr and abort() as it habitually does.
++
++   -- David Harvey (2008-04-12)
++*/
++
++void (*ErrorCallbackFunction)(const char*, void*) = NULL;
++void *ErrorCallbackContext = NULL;
++
++
++void SetErrorCallbackFunction(void (*function)(const char*, void*), void 
*context)
++{
++   ErrorCallbackFunction = function;
++   ErrorCallbackContext = context;
++}
++
++
+ void Error(const char *s)
+ {
++   if (ErrorCallbackFunction != NULL)
++  ErrorCallbackFunction(s, ErrorCallbackContext);
++
+cerr << s << "\n";
+abort();
+ }

diff --git a/dev-libs/ntl/files/ntl-5.5.2-shared.patch 
b/dev-libs/ntl/files/ntl-5.5.2-shared.patch
new file mode 100644
index 000..1ddd745
--- /dev/null
+++ b/dev-libs/ntl/files/ntl-5.5.2-shared.patch
@@ -0,0 +1,166 @@
+--- src/DoConfig.orig  2009-05-05 07:46:39.0 +0100
 src/DoConfig   2009-08-10 19:24:43.0 +0100
+@@ -25,14 +25,16 @@
+ 'LDFLAGS_CXX' => '$(LDFLAGS)',
+ 'LDLIBS'  => '-lm',
+ 'LDLIBS_CXX'  => '$(LDLIBS)',
++'PICFLAG' => '-fPIC',
+ 'CPPFLAGS'=> '',
+ 
+-'DEF_PREFIX'  => '/usr/local',
++'DEF_PREFIX'  => '/usr',
+ 
+ 'PREFIX'  => '$(DEF_PREFIX)',
+ 'LIBDIR'  => '$(PREFIX)/lib',
+ 'INCLUDEDIR'  => '$(PREFIX)/include',
+ 'DOCDIR'  => '$(PREFIX)/share/doc',
++'SHMAKE'  => 'non-gld',
+ 
+ 'GMP_PREFIX'  => '$(DEF_PREFIX)',
+ 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
+@@ -87,11 +89,6 @@
+ 
+ foreach $arg (@ARGV) {
+ 
+-   if ($arg =~ '-h|help|-help|--help') {
+-  system("more ../doc/config.txt");
+-  exit;
+-   }
+-
+if (($name, $val) = ($arg =~ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/, dev-libs/ntl/files/

2015-08-11 Thread Thomas Kahle
commit: 4505c68f5b9931562a484253d8b448d56330e883
Author: Thomas Kahle tomka AT gentoo DOT org
AuthorDate: Mon Aug 10 11:36:41 2015 +
Commit: Thomas Kahle tomka AT gentoo DOT org
CommitDate: Tue Aug 11 10:43:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4505c68f

dev-libs/ntl: Remove old

Package-Manager: portage-2.2.20

 dev-libs/ntl/Manifest  |   3 -
 .../ntl/files/ntl-8.1.2-sanitize-makefile.patch| 158 -
 dev-libs/ntl/ntl-6.0.0.ebuild  |  75 --
 dev-libs/ntl/ntl-8.1.2.ebuild  |  75 --
 dev-libs/ntl/ntl-9.0.2.ebuild  |  75 --
 5 files changed, 386 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 0a56760..bb34f48 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,6 +1,3 @@
 DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
-DIST ntl-6.0.0.tar.gz 714741 SHA256 
9342fa7d83a0ee6748ebae683368250eff06b19d7df5dfb85bcba8a896c0a29b SHA512 
fa1f1745e75c7588ca5af437648ab0844281f5c6e6a22a3bcaf0409792f3d4c70f0b8050823d90d19673ebcecae18ce6d39e6c9b1fec9f2d79f87b788b58d261
 WHIRLPOOL 
ba8d7355639d54c6b95b66f648330876a892223c2232ddd5dd7097c53b783f01a26c5da01e72c6ad4527c3829b3c9e7123b58e63ecb8d22b4940f71a9b8a422d
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
-DIST ntl-8.1.2.tar.gz 865458 SHA256 
35c71d63786a7d7aa60e70c838e662da771ff14c98d643213baeda09bcbbfab5 SHA512 
40a3e9f49c8b0f654668ac2bbd4dc18824ede22841ab6c809886a4abbf2d0ce9e7e544be62cc705c31c452cac0e29be9f93345fcf4bb6554badcf17134c32f69
 WHIRLPOOL 
88d675cfc7153abce8bf409236eea86dcc9e649bf0028b5265f033316db399339a01196274379eb16793bbe538f4fb4a80af2f4ce50b18416eb52058fb75e543
-DIST ntl-9.0.2.tar.gz 872258 SHA256 
9b961b5fef294784bd4ece994a8a623c90ae9f01231b269c390d44bb4be5e346 SHA512 
c720b8e8d36e078e8d4f6f053bccc352758bac71ef868579482f4c847084cb4498b62e40a43de1bd7bcc2357a58f728fa092caef6019ec98f24853046549ba00
 WHIRLPOOL 
b7cd955b7cd52252f1978aa85600105a21b3ecdc133b6af87ed171271f0a9c3144efa33325c2f1706efe059f0de4b198d713b69807314547e5c7f043bfa87294
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99

diff --git a/dev-libs/ntl/files/ntl-8.1.2-sanitize-makefile.patch 
b/dev-libs/ntl/files/ntl-8.1.2-sanitize-makefile.patch
deleted file mode 100644
index a586887..000
--- a/dev-libs/ntl/files/ntl-8.1.2-sanitize-makefile.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-diff -U 3 -dHrN ntl-8.1.2/src/DoConfig ntl-8.1.2-shared/src/DoConfig
 ntl-8.1.2/src/DoConfig 2015-01-31 14:07:38.0 +0100
-+++ ntl-8.1.2-shared/src/DoConfig  2015-03-26 10:23:41.117816775 +0100
-@@ -21,14 +21,16 @@
- 
- 'LDFLAGS' = '',
- 'LDLIBS'  = '-lm',
-+'PICFLAG' = '-fPIC',
- 'CPPFLAGS'= '',
- 
--'DEF_PREFIX'  = '/usr/local',
-+'DEF_PREFIX'  = '/usr',
- 
- 'PREFIX'  = '$(DEF_PREFIX)',
- 'LIBDIR'  = '$(PREFIX)/lib',
- 'INCLUDEDIR'  = '$(PREFIX)/include',
- 'DOCDIR'  = '$(PREFIX)/share/doc',
-+'SHMAKE'  = 'non-gld',
- 
- 'GMP_PREFIX'  = '$(DEF_PREFIX)',
- 'GMP_INCDIR'  = '$(GMP_PREFIX)/include',
-diff -U 3 -dHrN ntl-8.1.2/src/mfile ntl-8.1.2-shared/src/mfile
 ntl-8.1.2/src/mfile2015-01-31 14:07:38.0 +0100
-+++ ntl-8.1.2-shared/src/mfile 2015-03-26 10:56:50.277826975 +0100
-@@ -109,6 +109,16 @@
- WIZARD=@{WIZARD}
- # Set to off if you want to bypass the wizard; otherwise, set to on.
- 
-+###
-+#
-+# New addition for shared library building. With gcc you need to
-+# choose the Position Indepent Code flag. You have a choice of 
-+# -fpic better code but in rare case not available (ppc)
-+# -fPIC slightly slower code but guaranted to work anywhere.
-+#
-+###
-+
-+PICFLAG=@{PICFLAG}
- 
- #
- #
-@@ -141,6 +151,8 @@
- 
- OBJ=$(O19)
- 
-+SHOBJ=$(subst