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

Antonio Rojas arojas at archlinux.org
Wed Jan 1 19:06:31 UTC 2020


    Date: Wednesday, January 1, 2020 @ 19:06:30
  Author: arojas
Revision: 545884

Update to 11.4.2

Modified:
  ntl/trunk/PKGBUILD
Deleted:
  ntl/trunk/ntl-gf2x-1.3.patch

--------------------+
 PKGBUILD           |   15 +++++----------
 ntl-gf2x-1.3.patch |   11 -----------
 2 files changed, 5 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-01 18:35:56 UTC (rev 545883)
+++ PKGBUILD	2020-01-01 19:06:30 UTC (rev 545884)
@@ -2,8 +2,8 @@
 # Contributor: Brad Conte <brad AT bradconte.com>
 
 pkgname=ntl
-pkgver=11.4.1
-pkgrel=2
+pkgver=11.4.2
+pkgrel=1
 pkgdesc="A Library for doing Number Theory"
 arch=(x86_64)
 url="https://www.shoup.net/ntl/"
@@ -10,16 +10,11 @@
 license=(LGPL)
 depends=(gf2x gmp)
 makedepends=()
-source=("https://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz"
-         ntl-gf2x-1.3.patch)
-sha256sums=('a30687c4fbb8f114200426d2b1ece840bd024f64e2c5c6920b2d11ebcd82620e'
-            '45d08b12ba4d0906d6bcdafb466a0c55c1ea13bb4af87b76ec9d400458ab4a3c')
+source=("https://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('2b64729b64192e017bd81b32561c4252257357b1cbb86944e272357dcf702387')
 
 prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../ntl-gf2x-1.3.patch # Fix build with gf2x 1.3
-
-  cd src
+  cd $pkgname-$pkgver/src
   rm -r libtool-origin
 }
 

Deleted: ntl-gf2x-1.3.patch
===================================================================
--- ntl-gf2x-1.3.patch	2020-01-01 18:35:56 UTC (rev 545883)
+++ ntl-gf2x-1.3.patch	2020-01-01 19:06:30 UTC (rev 545884)
@@ -1,11 +0,0 @@
---- ntl-11.4.1/src/gf2x_version_1_2_or_later_required.cpp.orig	2019-12-10 15:33:19.317814419 +0000
-+++ ntl-11.4.1/src/gf2x_version_1_2_or_later_required.cpp	2019-12-10 15:33:46.244836785 +0000
-@@ -7,6 +7,8 @@
- #if (defined(NTL_GF2X_LIB) && defined(NTL_THREADS))
- // we require v1.2 or later
- 
-+#include <gf2x.h>
-+
- #ifndef GF2X_VERSION_MAJOR
- // versions after v1.2 should define GF2X_VERSION_MAJOR
- 



More information about the arch-commits mailing list