diff options
author | maho <maho@FreeBSD.org> | 2009-02-14 16:07:13 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2009-02-14 16:07:13 +0800 |
commit | e040842d0961a7e7a455c99eebdf9628565d8e36 (patch) | |
tree | 84dbe55dd5f9cc419338d195663de28a68fad968 /science | |
parent | 79f0b92a34e5aeb488aac1ebf713e9b5602e5c40 (diff) | |
download | freebsd-ports-gnome-e040842d0961a7e7a455c99eebdf9628565d8e36.tar.gz freebsd-ports-gnome-e040842d0961a7e7a455c99eebdf9628565d8e36.tar.zst freebsd-ports-gnome-e040842d0961a7e7a455c99eebdf9628565d8e36.zip |
Fix build with gcc43.
Fix obtained from
http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000752.html
http://www.bioinformatics.org/pipermail/ghemical-devel/2008-July/000742.html
.
Spotted by: pav
Diffstat (limited to 'science')
-rw-r--r-- | science/libghemical/files/patch-gcc43 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/science/libghemical/files/patch-gcc43 b/science/libghemical/files/patch-gcc43 new file mode 100644 index 000000000000..8591304926d4 --- /dev/null +++ b/science/libghemical/files/patch-gcc43 @@ -0,0 +1,21 @@ +--- src/sasaeval.h.org 2008-07-31 04:10:08.000000000 +0900 ++++ src/sasaeval.h 2009-02-14 16:45:40.000000000 +0900 +@@ -24,6 +24,7 @@ + #define SASAEVAL_H + + #include "typedef.h" ++#include <cstdlib> + + struct cg_nbt3_nl; // SASA neighbor list. + +--- src/sasaeval.cpp~ 2008-07-31 04:10:08.000000000 +0900 ++++ src/sasaeval.cpp 2009-02-14 17:03:14.000000000 +0900 +@@ -17,6 +17,8 @@ + // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + /*################################################################################################*/ ++#include <algorithm> ++using namespace std; + + #include "sasaeval.h" + |