[arch-commits] Commit in ratpoints/trunk (PKGBUILD fPIC.patch ratpoints-fPIC.patch)
Antonio Rojas
arojas at archlinux.org
Mon Jul 10 21:18:59 UTC 2017
Date: Monday, July 10, 2017 @ 21:18:59
Author: arojas
Revision: 243799
PIE rebuild
Added:
ratpoints/trunk/ratpoints-fPIC.patch
(from rev 243798, ratpoints/trunk/fPIC.patch)
Modified:
ratpoints/trunk/PKGBUILD
Deleted:
ratpoints/trunk/fPIC.patch
----------------------+
PKGBUILD | 17 ++++++++---------
fPIC.patch | 11 -----------
ratpoints-fPIC.patch | 11 +++++++++++
3 files changed, 19 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-10 21:13:25 UTC (rev 243798)
+++ PKGBUILD 2017-07-10 21:18:59 UTC (rev 243799)
@@ -3,21 +3,20 @@
pkgname=ratpoints
pkgver=2.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="A program that uses an optimized quadratic sieve algorithm in order to find rational points on hyperelliptic curves"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://www.mathe2.uni-bayreuth.de/stoll/programs/index.html"
-license=('GPL2')
-depends=('gmp')
-options=('staticlibs')
-source=("http://www.mathe2.uni-bayreuth.de/stoll/programs/$pkgname-$pkgver.tar.gz" 'fPIC.patch')
-md5sums=('597fee3856ef2f80fffc0a440e926208'
- '60cc67b9308b2e66e65fd6814d341ed6')
+license=(GPL2)
+depends=(gmp)
+source=("http://www.mathe2.uni-bayreuth.de/stoll/programs/$pkgname-$pkgver.tar.gz" 'ratpoints-fPIC.patch')
+sha256sums=('c4bd55b4fe6234ed4793edfb6126f63b13ee2eaf122f3dfd8f4737a7096a0a7e'
+ '4ecfadeda42611a817b81dbf1c281fd9d94f96a03d6749f741d3d30ebf719f98')
prepare() {
cd $pkgname-$pkgver
- patch -p0 -i $srcdir/fPIC.patch
+ patch -p0 -i $srcdir/ratpoints-fPIC.patch
}
build() {
Deleted: fPIC.patch
===================================================================
--- fPIC.patch 2017-07-10 21:13:25 UTC (rev 243798)
+++ fPIC.patch 2017-07-10 21:18:59 UTC (rev 243799)
@@ -1,11 +0,0 @@
---- Makefile.orig 2014-11-07 21:12:13.411106352 +0100
-+++ Makefile 2014-11-07 21:12:21.854468444 +0100
-@@ -29,7 +29,7 @@
-
- INSTALL_DIR = /usr/local
-
--CCFLAGS1 = -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=${PRIME_SIZE} -DUSE_SSE
-+CCFLAGS1 = -fPIC -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=${PRIME_SIZE} -DUSE_SSE
- # for gcc on Apple, may have to add '-fnested-functions' to CCFLAGS1
- CCFLAGS2 = -lgmp -lgcc -lc -lm
- CCFLAGS3 = -L. -lratpoints
Copied: ratpoints/trunk/ratpoints-fPIC.patch (from rev 243798, ratpoints/trunk/fPIC.patch)
===================================================================
--- ratpoints-fPIC.patch (rev 0)
+++ ratpoints-fPIC.patch 2017-07-10 21:18:59 UTC (rev 243799)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-11-07 21:12:13.411106352 +0100
++++ Makefile 2014-11-07 21:12:21.854468444 +0100
+@@ -29,7 +29,7 @@
+
+ INSTALL_DIR = /usr/local
+
+-CCFLAGS1 = -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=${PRIME_SIZE} -DUSE_SSE
++CCFLAGS1 = -fPIC -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=${PRIME_SIZE} -DUSE_SSE
+ # for gcc on Apple, may have to add '-fnested-functions' to CCFLAGS1
+ CCFLAGS2 = -lgmp -lgcc -lc -lm
+ CCFLAGS3 = -L. -lratpoints
More information about the arch-commits
mailing list