[arch-commits] Commit in linbox/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Oct 19 17:03:25 UTC 2016


    Date: Wednesday, October 19, 2016 @ 17:03:24
  Author: arojas
Revision: 192609

Fix build with fplll 5.0

Modified:
  linbox/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-19 16:42:12 UTC (rev 192608)
+++ PKGBUILD	2016-10-19 17:03:24 UTC (rev 192609)
@@ -8,11 +8,20 @@
 arch=(i686 x86_64)
 url="http://linalg.org/"
 license=(LGPL)
-depends=(m4rie lapack flint libfplll iml givaro) 
+depends=(m4rie lapack flint fplll iml givaro) 
 makedepends=(fflas-ffpack)
-source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
-md5sums=('c0daf8a74b373cf577dec975bca4fb9c')
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+        linbox-fplll5.patch::"https://github.com/fingolfin/linbox/commit/95355873.patch")
+md5sums=('c0daf8a74b373cf577dec975bca4fb9c'
+         '47d5fa608972cd6807b9facc5d828e53')
 
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with fplll 5.0
+  patch -p1 -i ../linbox-fplll5.patch
+  sed -e 's|fplll/dpe.h|fplll/nr/dpe.h|g' -i linbox/algorithms/short-vector.h
+}
+
 build() {
   cd $pkgname-$pkgver
 



More information about the arch-commits mailing list