[arch-commits] Commit in ntl/repos (10 files)
Antonio Rojas
arojas at archlinux.org
Fri Jun 5 16:48:26 UTC 2015
Date: Friday, June 5, 2015 @ 18:48:26
Author: arojas
Revision: 134846
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
ntl/repos/community-staging-i686/
ntl/repos/community-staging-i686/PKGBUILD
(from rev 134845, ntl/trunk/PKGBUILD)
ntl/repos/community-staging-i686/ntl-sage.patch
(from rev 134845, ntl/trunk/ntl-sage.patch)
ntl/repos/community-staging-x86_64/
ntl/repos/community-staging-x86_64/PKGBUILD
(from rev 134845, ntl/trunk/PKGBUILD)
ntl/repos/community-staging-x86_64/ntl-sage.patch
(from rev 134845, ntl/trunk/ntl-sage.patch)
Deleted:
ntl/repos/community-staging-i686/PKGBUILD
ntl/repos/community-staging-i686/ntl-sage.patch
ntl/repos/community-staging-x86_64/PKGBUILD
ntl/repos/community-staging-x86_64/ntl-sage.patch
-----------------------------------------+
/PKGBUILD | 78 ++++++++++++++++++++++
/ntl-sage.patch | 104 ++++++++++++++++++++++++++++++
community-staging-i686/PKGBUILD | 39 -----------
community-staging-i686/ntl-sage.patch | 52 ---------------
community-staging-x86_64/PKGBUILD | 39 -----------
community-staging-x86_64/ntl-sage.patch | 52 ---------------
6 files changed, 182 insertions(+), 182 deletions(-)
Deleted: community-staging-i686/PKGBUILD
===================================================================
--- community-staging-i686/PKGBUILD 2015-02-28 11:01:04 UTC (rev 128405)
+++ community-staging-i686/PKGBUILD 2015-06-05 16:48:26 UTC (rev 134846)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Brad Conte <brad AT bradconte.com>
-
-pkgname=ntl
-pkgver=8.1.2
-pkgrel=1
-pkgdesc="A Library for doing Number Theory"
-arch=(i686 x86_64)
-url="http://www.shoup.net/ntl/"
-license=(GPL)
-depends=(gf2x gmp)
-makedepends=()
-options=(!libtool)
-source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz" 'ntl-sage.patch')
-md5sums=('93f36123ac008db31c1031498a9b1e81'
- '4cb5f97080281109bf358959ab993691')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p0 -i $srcdir/ntl-sage.patch
-}
-
-build() {
- cd $pkgname-$pkgver/src
- ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NTL_GMP_LIP=on
- make
-}
-
-check() {
- cd $pkgname-$pkgver/src
- make -k check
-}
-
-package() {
- cd $pkgname-$pkgver/src
- make PREFIX="$pkgdir/usr" install
-}
-
Copied: ntl/repos/community-staging-i686/PKGBUILD (from rev 134845, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-06-05 16:48:26 UTC (rev 134846)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=9.2.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(i686 x86_64)
+url="http://www.shoup.net/ntl/"
+license=(GPL)
+depends=(gf2x gmp)
+makedepends=()
+options=(!libtool)
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz" 'ntl-sage.patch')
+md5sums=('bf419b48ea567858e47e0aac3c849fbe'
+ '4cb5f97080281109bf358959ab993691')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p0 -i $srcdir/ntl-sage.patch
+}
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NTL_GMP_LIP=on
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver/src
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver/src
+ make PREFIX="$pkgdir/usr" install
+}
+
Deleted: community-staging-i686/ntl-sage.patch
===================================================================
--- community-staging-i686/ntl-sage.patch 2015-02-28 11:01:04 UTC (rev 128405)
+++ community-staging-i686/ntl-sage.patch 2015-06-05 16:48:26 UTC (rev 134846)
@@ -1,52 +0,0 @@
---- ./include/NTL/tools.h.orig 2015-01-09 06:58:19.000000000 -0700
-+++ ./include/NTL/tools.h 2015-01-12 20:00:00.000000000 -0700
-@@ -406,7 +406,12 @@ void swap(WrappedPtr<T,Deleter>& x, Wrap
-
- // Error Handling
-
--
-+/*
-+ This function is not present in vanilla NTL.
-+ See tools.c for documentation.
-+ */
-+void SetErrorCallbackFunction(void (*func)(const char *s, void *context),
-+ void *context);
-
- class ErrorObject : public NTL_SNS runtime_error {
- public:
---- ./src/tools.c.orig 2015-01-09 06:58:19.000000000 -0700
-+++ ./src/tools.c 2015-01-12 20:00:00.000000000 -0700
-@@ -17,9 +17,33 @@ NTL_START_IMPL
-
- NTL_THREAD_LOCAL void (*ErrorCallback)() = 0;
-
-+/*
-+ 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 TerminalError(const char *s)
- {
-+ if (ErrorCallbackFunction != NULL)
-+ ErrorCallbackFunction(s, ErrorCallbackContext);
-+
- cerr << s << "\n";
- _ntl_abort();
- }
Copied: ntl/repos/community-staging-i686/ntl-sage.patch (from rev 134845, ntl/trunk/ntl-sage.patch)
===================================================================
--- community-staging-i686/ntl-sage.patch (rev 0)
+++ community-staging-i686/ntl-sage.patch 2015-06-05 16:48:26 UTC (rev 134846)
@@ -0,0 +1,52 @@
+--- ./include/NTL/tools.h.orig 2015-01-09 06:58:19.000000000 -0700
++++ ./include/NTL/tools.h 2015-01-12 20:00:00.000000000 -0700
+@@ -406,7 +406,12 @@ void swap(WrappedPtr<T,Deleter>& x, Wrap
+
+ // Error Handling
+
+-
++/*
++ This function is not present in vanilla NTL.
++ See tools.c for documentation.
++ */
++void SetErrorCallbackFunction(void (*func)(const char *s, void *context),
++ void *context);
+
+ class ErrorObject : public NTL_SNS runtime_error {
+ public:
+--- ./src/tools.c.orig 2015-01-09 06:58:19.000000000 -0700
++++ ./src/tools.c 2015-01-12 20:00:00.000000000 -0700
+@@ -17,9 +17,33 @@ NTL_START_IMPL
+
+ NTL_THREAD_LOCAL void (*ErrorCallback)() = 0;
+
++/*
++ 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 TerminalError(const char *s)
+ {
++ if (ErrorCallbackFunction != NULL)
++ ErrorCallbackFunction(s, ErrorCallbackContext);
++
+ cerr << s << "\n";
+ _ntl_abort();
+ }
Deleted: community-staging-x86_64/PKGBUILD
===================================================================
--- community-staging-x86_64/PKGBUILD 2015-02-28 11:01:04 UTC (rev 128405)
+++ community-staging-x86_64/PKGBUILD 2015-06-05 16:48:26 UTC (rev 134846)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Brad Conte <brad AT bradconte.com>
-
-pkgname=ntl
-pkgver=8.1.2
-pkgrel=1
-pkgdesc="A Library for doing Number Theory"
-arch=(i686 x86_64)
-url="http://www.shoup.net/ntl/"
-license=(GPL)
-depends=(gf2x gmp)
-makedepends=()
-options=(!libtool)
-source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz" 'ntl-sage.patch')
-md5sums=('93f36123ac008db31c1031498a9b1e81'
- '4cb5f97080281109bf358959ab993691')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p0 -i $srcdir/ntl-sage.patch
-}
-
-build() {
- cd $pkgname-$pkgver/src
- ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NTL_GMP_LIP=on
- make
-}
-
-check() {
- cd $pkgname-$pkgver/src
- make -k check
-}
-
-package() {
- cd $pkgname-$pkgver/src
- make PREFIX="$pkgdir/usr" install
-}
-
Copied: ntl/repos/community-staging-x86_64/PKGBUILD (from rev 134845, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-06-05 16:48:26 UTC (rev 134846)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=9.2.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(i686 x86_64)
+url="http://www.shoup.net/ntl/"
+license=(GPL)
+depends=(gf2x gmp)
+makedepends=()
+options=(!libtool)
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz" 'ntl-sage.patch')
+md5sums=('bf419b48ea567858e47e0aac3c849fbe'
+ '4cb5f97080281109bf358959ab993691')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p0 -i $srcdir/ntl-sage.patch
+}
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NTL_GMP_LIP=on
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver/src
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver/src
+ make PREFIX="$pkgdir/usr" install
+}
+
Deleted: community-staging-x86_64/ntl-sage.patch
===================================================================
--- community-staging-x86_64/ntl-sage.patch 2015-02-28 11:01:04 UTC (rev 128405)
+++ community-staging-x86_64/ntl-sage.patch 2015-06-05 16:48:26 UTC (rev 134846)
@@ -1,52 +0,0 @@
---- ./include/NTL/tools.h.orig 2015-01-09 06:58:19.000000000 -0700
-+++ ./include/NTL/tools.h 2015-01-12 20:00:00.000000000 -0700
-@@ -406,7 +406,12 @@ void swap(WrappedPtr<T,Deleter>& x, Wrap
-
- // Error Handling
-
--
-+/*
-+ This function is not present in vanilla NTL.
-+ See tools.c for documentation.
-+ */
-+void SetErrorCallbackFunction(void (*func)(const char *s, void *context),
-+ void *context);
-
- class ErrorObject : public NTL_SNS runtime_error {
- public:
---- ./src/tools.c.orig 2015-01-09 06:58:19.000000000 -0700
-+++ ./src/tools.c 2015-01-12 20:00:00.000000000 -0700
-@@ -17,9 +17,33 @@ NTL_START_IMPL
-
- NTL_THREAD_LOCAL void (*ErrorCallback)() = 0;
-
-+/*
-+ 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 TerminalError(const char *s)
- {
-+ if (ErrorCallbackFunction != NULL)
-+ ErrorCallbackFunction(s, ErrorCallbackContext);
-+
- cerr << s << "\n";
- _ntl_abort();
- }
Copied: ntl/repos/community-staging-x86_64/ntl-sage.patch (from rev 134845, ntl/trunk/ntl-sage.patch)
===================================================================
--- community-staging-x86_64/ntl-sage.patch (rev 0)
+++ community-staging-x86_64/ntl-sage.patch 2015-06-05 16:48:26 UTC (rev 134846)
@@ -0,0 +1,52 @@
+--- ./include/NTL/tools.h.orig 2015-01-09 06:58:19.000000000 -0700
++++ ./include/NTL/tools.h 2015-01-12 20:00:00.000000000 -0700
+@@ -406,7 +406,12 @@ void swap(WrappedPtr<T,Deleter>& x, Wrap
+
+ // Error Handling
+
+-
++/*
++ This function is not present in vanilla NTL.
++ See tools.c for documentation.
++ */
++void SetErrorCallbackFunction(void (*func)(const char *s, void *context),
++ void *context);
+
+ class ErrorObject : public NTL_SNS runtime_error {
+ public:
+--- ./src/tools.c.orig 2015-01-09 06:58:19.000000000 -0700
++++ ./src/tools.c 2015-01-12 20:00:00.000000000 -0700
+@@ -17,9 +17,33 @@ NTL_START_IMPL
+
+ NTL_THREAD_LOCAL void (*ErrorCallback)() = 0;
+
++/*
++ 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 TerminalError(const char *s)
+ {
++ if (ErrorCallbackFunction != NULL)
++ ErrorCallbackFunction(s, ErrorCallbackContext);
++
+ cerr << s << "\n";
+ _ntl_abort();
+ }
More information about the arch-commits
mailing list