Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f71d018e86b70982f7f7b8fb8d3fed4de1a53d19

commit f71d018e86b70982f7f7b8fb8d3fed4de1a53d19
Author: Elentir <elen...@frugalware.org>
Date:   Wed Sep 8 23:14:13 2010 +0200

gfan-0.4-1-i686

* new package

diff --git a/source/apps-extra/gfan/FrugalBuild 
b/source/apps-extra/gfan/FrugalBuild
new file mode 100644
index 0000000..5e08a23
--- /dev/null
+++ b/source/apps-extra/gfan/FrugalBuild
@@ -0,0 +1,28 @@
+# Compiling Time: 0.14 SBU
+# Maintainer: Elentir <elen...@frugalware.org>
+
+pkgname=gfan
+pkgver=0.4
+pkgextraver="plus"
+pkgrel=1
+pkgdesc="A software package for computing Grobner fans and tropical varieties"
+archs=('i686' 'x86_64')
+url="http://www.math.tu-berlin.de/~jensen/software/gfan/gfan.html";
+Fpkgversep=""
+groups=('apps-extra')
+depends=('gmp')
+makedepends=('cddlib')
+up2date="Flasttar $url"
+source=(http://www.math.tu-berlin.de/~jensen/software/gfan/gfan${pkgver}${pkgextraver}.tar.gz
 \
+        gfan-gcc45.patch)
+sha1sums=('e8e3f2c2f730c88d0c556f5b0fdf3a99b66b9bac' \
+          '051c82a74ca4fffa979ff5fea0b6856e79a4c199')
+
+build() {
+       Fpatchall
+       Fsed "-O2" "${CFLAGS}" Makefile
+       Fmake
+       Fmakeinstall PREFIX="$Fdestdir/usr"
+}
+
+# optimization OK
diff --git a/source/apps-extra/gfan/gfan-gcc45.patch 
b/source/apps-extra/gfan/gfan-gcc45.patch
new file mode 100644
index 0000000..8b27f80
--- /dev/null
+++ b/source/apps-extra/gfan/gfan-gcc45.patch
@@ -0,0 +1,22 @@
+--- lll.cpp.orig       2009-10-22 01:25:58.000000000 +0200
++++ lll.cpp    2010-06-02 10:40:28.589708473 +0200
+@@ -12,7 +12,7 @@
+   return int(f-1);
+ }
+
+-void calcmy(IntegerMatrix const &b, FloatMatrix &my, Vektor<double> &B)
++void calcmy(IntegerMatrix &b, FloatMatrix &my, Vektor<double> &B)
+ {
+   FloatMatrix bs=integerToFloatMatrix(b);
+
+--- linalg.cpp.orig    2010-06-02 10:43:34.576370660 +0200
++++ linalg.cpp 2010-06-02 10:43:47.039689089 +0200
+@@ -525,7 +525,7 @@
+ }
+
+
+-FieldMatrix::FieldMatrix FieldMatrix::solver()const
++FieldMatrix FieldMatrix::solver()const
+ {
+   FieldMatrix 
ret=combineOnTop(*this,theField.zHomomorphism(-1)*identity(theField,getWidth())).transposed();
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to