[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 20 20:27:05 UTC 2014


    Date: Saturday, December 20, 2014 @ 21:27:04
  Author: arojas
Revision: 124209

Splitting sage-mathematics

Added:
  gfan/
  gfan/trunk/
  gfan/trunk/PKGBUILD
  gfan/trunk/fix-build.patch

-----------------+
 PKGBUILD        |   29 +++++++++++++++++++++++++++++
 fix-build.patch |   11 +++++++++++
 2 files changed, 40 insertions(+)

Added: gfan/trunk/PKGBUILD
===================================================================
--- gfan/trunk/PKGBUILD	                        (rev 0)
+++ gfan/trunk/PKGBUILD	2014-12-20 20:27:04 UTC (rev 124209)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=gfan
+pkgver=0.5
+pkgrel=1
+pkgdesc="A software package for computing Gröbner fans and tropical varieties"
+arch=('i686' 'x86_64')
+url="http://home.imf.au.dk/jensen/software/gfan/gfan.html"
+license=('GPL')
+depends=('cddlib')
+source=("http://home.imf.au.dk/jensen/software/gfan/gfan${pkgver}.tar.gz" 'fix-build.patch')
+md5sums=('2d76d1625e0766c57c2b3ece809c23c8'
+         'e327ec23a3bdf20ce6c8711ab154db50')
+
+prepare() {
+  cd gfan$pkgver
+  patch -p1 -i $srcdir/fix-build.patch
+}
+
+build() {
+  cd gfan$pkgver
+  make
+}
+
+package() {
+  cd gfan$pkgver
+  make PREFIX="$pkgdir"/usr install
+}

Added: gfan/trunk/fix-build.patch
===================================================================
--- gfan/trunk/fix-build.patch	                        (rev 0)
+++ gfan/trunk/fix-build.patch	2014-12-20 20:27:04 UTC (rev 124209)
@@ -0,0 +1,11 @@
+--- gfan0.5/app_minkowski.cpp.orig	2013-03-11 19:53:30.252937718 +0100
++++ gfan0.5/app_minkowski.cpp	2013-03-11 19:53:37.346265847 +0100
+@@ -160,7 +160,7 @@
+ 	    //log0 fprintf(Stderr,"4");
+ 	    f.insert(c);
+ 	    //log0 fprintf(Stderr,"5\n");
+-	    static int i;
++	    //static int i;
+ 	    //log0 fprintf(Stderr,"inserted:%i\n",++i);
+ 	  }
+ 	log1 fprintf(Stderr,"Resolving symmetries.\n");



More information about the arch-commits mailing list