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

commit 8942e37c3c46ef584d67327614791bc825e5e41c
Author: Michel Hermier <herm...@frugalware.org>
Date:   Mon Sep 5 11:21:27 2011 +0200

gnucap-0.35-2-i686

* Die termcap DIEEEE!!!!

diff --git a/source/apps-extra/gnucap/FrugalBuild 
b/source/apps-extra/gnucap/FrugalBuild
index 50fdfc8..3cb7d8b 100644
--- a/source/apps-extra/gnucap/FrugalBuild
+++ b/source/apps-extra/gnucap/FrugalBuild
@@ -3,17 +3,20 @@

pkgname=gnucap
pkgver=0.35
-pkgrel=1
+pkgrel=2
pkgdesc="GNU Circuit Analysis Package"
url="http://www.gnucap.org/";
-depends=('readline' 'termcap' 'libstdc++')
+depends=('readline' 'libstdc++')
makedepends=('texlive')
groups=('apps-extra')
options=('scriptlet')
archs=('i686' 'x86_64')
-up2date="lynx -dump $url/dist|Flasttar"
-source=($url/dist/$pkgname-$pkgver.tar.gz)
-sha1sums=('fa4da0ca4a36ca509d00b7c7286ffb8a008ceaaf')
+up2date="Flasttar $url/dist"
+source=("$url/dist/$pkgname-$pkgver.tar.gz" \
+       "gnucap-0.35-gcc43.patch")

+sha1sums=('fa4da0ca4a36ca509d00b7c7286ffb8a008ceaaf' \
+       '0d4c30961d474534bc8f35e7318f40997bf3061a')

# optimization OK
+
diff --git a/source/apps-extra/gnucap/gnucap-0.35-gcc43.patch 
b/source/apps-extra/gnucap/gnucap-0.35-gcc43.patch
new file mode 100644
index 0000000..3bd6489
--- /dev/null
+++ b/source/apps-extra/gnucap/gnucap-0.35-gcc43.patch
@@ -0,0 +1,22 @@
+diff -Naur gnucap-0.35-orig/modelgen/md.h gnucap-0.35/modelgen/md.h
+--- gnucap-0.35-orig/modelgen/md.h     2006-08-28 00:15:43.000000000 -0600
++++ gnucap-0.35/modelgen/md.h  2009-02-15 14:31:22.000000000 -0600
+@@ -44,6 +44,7 @@
+ #include <csetjmp>
+ #include <csignal>
+ #include <iostream>
++#include <cstring>
+ // types
+ #include <complex>
+ #include <string>
+diff -Naur gnucap-0.35-orig/src/md.h gnucap-0.35/src/md.h
+--- gnucap-0.35-orig/src/md.h  2006-08-28 00:15:43.000000000 -0600
++++ gnucap-0.35/src/md.h       2009-02-15 14:31:22.000000000 -0600
+@@ -44,6 +44,7 @@
+ #include <csetjmp>
+ #include <csignal>
+ #include <iostream>
++#include <cstring>
+ // types
+ #include <complex>
+ #include <string>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to