[arch-commits] Commit in ntl/trunk (PKGBUILD ntl-sage.patch)

Antonio Rojas arojas at archlinux.org
Sat Feb 28 11:00:47 UTC 2015


    Date: Saturday, February 28, 2015 @ 12:00:47
  Author: arojas
Revision: 128404

Update to 8.1.2

Modified:
  ntl/trunk/PKGBUILD
  ntl/trunk/ntl-sage.patch

----------------+
 PKGBUILD       |   14 +++++++-------
 ntl-sage.patch |   21 +++++++++++----------
 2 files changed, 18 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-28 06:41:41 UTC (rev 128403)
+++ PKGBUILD	2015-02-28 11:00:47 UTC (rev 128404)
@@ -3,18 +3,18 @@
 # Contributor: Brad Conte <brad AT bradconte.com>
 
 pkgname=ntl
-pkgver=6.2.1
+pkgver=8.1.2
 pkgrel=1
 pkgdesc="A Library for doing Number Theory"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url="http://www.shoup.net/ntl/"
-license=('GPL')
-depends=('gf2x' 'gmp')
+license=(GPL)
+depends=(gf2x gmp)
 makedepends=()
-options=('!libtool')
+options=(!libtool)
 source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz" 'ntl-sage.patch')
-md5sums=('00b7e1cab9bf9b0eae2ad9beab4b0fc9'
-         'a95cae771ac6fc823c8c09cd05d40461')
+md5sums=('93f36123ac008db31c1031498a9b1e81'
+         '4cb5f97080281109bf358959ab993691')
 
 prepare() {
   cd $pkgname-$pkgver

Modified: ntl-sage.patch
===================================================================
--- ntl-sage.patch	2015-02-28 06:41:41 UTC (rev 128403)
+++ ntl-sage.patch	2015-02-28 11:00:47 UTC (rev 128404)
@@ -1,9 +1,10 @@
---- ./include/NTL/tools.h.orig	2014-08-26 11:51:43.000000000 -0600
-+++ ./include/NTL/tools.h	2014-09-18 20:00:00.000000000 -0600
-@@ -310,6 +310,12 @@ long CharToIntVal(long c);
- char IntValToChar(long a);
+--- ./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.
@@ -11,10 +12,10 @@
 +void SetErrorCallbackFunction(void (*func)(const char *s, void *context),
 +			      void *context);
  
- void Error(const char *s);
- 
---- ./src/tools.c.orig	2014-08-26 11:51:42.000000000 -0600
-+++ ./src/tools.c	2014-09-18 20:00:00.000000000 -0600
+ 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;
@@ -41,7 +42,7 @@
 +   ErrorCallbackContext = context;
 +}
  
- void Error(const char *s)
+ void TerminalError(const char *s)
  {
 +   if (ErrorCallbackFunction != NULL)
 +      ErrorCallbackFunction(s, ErrorCallbackContext);
@@ -48,4 +49,4 @@
 +
     cerr << s << "\n";
     _ntl_abort();
- }
\ No newline at end of file
+ }



More information about the arch-commits mailing list