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

commit 47d75a128aaa06c6c58f83614c8128b60aed2474
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Apr 25 11:42:08 2009 +0200

libghemical-2.98-1-i686

- version bump
- add libghemical-2.98-gcc43.patch

diff --git a/source/lib-extra/libghemical/FrugalBuild 
b/source/lib-extra/libghemical/FrugalBuild
index c55b788..2e70c01 100644
--- a/source/lib-extra/libghemical/FrugalBuild
+++ b/source/lib-extra/libghemical/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Christian Hamar alias krix <kr...@linuxforum.hu>

pkgname=libghemical
-pkgver=2.96
+pkgver=2.98
pkgrel=1
pkgdesc="Libghemical is a software library which contains all of the 
computational chemistry functionality of the ghemical application."
url="http://www.uku.fi/~thassine/projects/libghemical/index.html";
@@ -11,7 +11,9 @@ makedepends=('doxygen')
groups=('lib-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.uku.fi/~thassine/projects/download/current/ | 
Flasttar"
-source=(http://www.uku.fi/~thassine/projects/download/current/$pkgname-$pkgver.tar.gz)
-sha1sums=('39a55931b634f08a8493b24b17dd1372400a26ee')
+source=(http://www.uku.fi/~thassine/projects/download/current/$pkgname-$pkgver.tar.gz
 \
+       libghemical-2.98-gcc43.patch)
+sha1sums=('7baad41d9dc65ec6efe06e57822ec035ca1fa9a4' \
+          '25a4a1f1ff0c1d33db52f697f62e4c1e7688e152')

# optimization OK
diff --git a/source/lib-extra/libghemical/libghemical-2.98-gcc43.patch 
b/source/lib-extra/libghemical/libghemical-2.98-gcc43.patch
new file mode 100644
index 0000000..d92d31d
--- /dev/null
+++ b/source/lib-extra/libghemical/libghemical-2.98-gcc43.patch
@@ -0,0 +1,43 @@
+--- src/atom.h.orig    2008-06-09 03:59:34.262567972 -0500
++++ src/atom.h 2008-06-09 04:00:07.136698792 -0500
+@@ -10,6 +10,8 @@
+ #ifndef ATOM_H
+ #define ATOM_H
+
++#include <cstdlib>
++#include <cstring>
+ #include "libghemicaldefine.h"
+ #include "libghemicalconfig2.h"
+
+--- src/notice.h.orig  2008-06-09 04:00:24.472509840 -0500
++++ src/notice.h       2008-06-09 04:00:44.608265748 -0500
+@@ -10,6 +10,7 @@
+ #ifndef NOTICE_H
+ #define NOTICE_H
+
++#include <cstring>
+ #include "libghemicaldefine.h"
+ #include "libghemicalconfig2.h"
+
+--- src/sasaeval.cpp   2008-08-01 09:39:01.000000000 +0530
++++ src/sasaeval.cpp   2008-08-01 09:40:33.000000000 +0530
+@@ -21,6 +21,9 @@
+ #include "sasaeval.h"
+
+ #include "engine.h"
++#include <vector>
++#include <algorithm>
++using namespace std;
+
+ // the surface area code apparently contains some bugs, since it sometimes
+ // crashes. another possibility is that the surface area math contains some
+--- src/sasaeval.h     2008-07-31 00:40:08.000000000 +0530
++++ src/sasaeval.h     2008-08-01 09:40:04.000000000 +0530
+@@ -24,6 +24,7 @@
+ #define SASAEVAL_H
+
+ #include "typedef.h"
++#include <stdlib.h>
+
+ struct cg_nbt3_nl;    // SASA neighbor list.
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to