Gentoo Archives: gentoo-commits

From: "Jeffrey Gardner (je_fro)" <je_fro@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/libghemical/files: libghemical-2.98-gcc43.patch
Date: Sun, 30 Nov 2008 01:00:03
Message-Id: E1L6afI-0007zP-Qd@stork.gentoo.org
1 je_fro 08/11/30 01:00:00
2
3 Added: libghemical-2.98-gcc43.patch
4 Log:
5 Fix compilation, thanks to Arch guy abhidg at http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000752.html
6 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r4 x86_64)
7
8 Revision Changes Path
9 1.1 sci-libs/libghemical/files/libghemical-2.98-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libghemical/files/libghemical-2.98-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libghemical/files/libghemical-2.98-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: libghemical-2.98-gcc43.patch
15 ===================================================================
16 --- src/atom.h.orig 2008-06-09 03:59:34.262567972 -0500
17 +++ src/atom.h 2008-06-09 04:00:07.136698792 -0500
18 @@ -10,6 +10,8 @@
19 #ifndef ATOM_H
20 #define ATOM_H
21
22 +#include <cstdlib>
23 +#include <cstring>
24 #include "libghemicaldefine.h"
25 #include "libghemicalconfig2.h"
26
27 --- src/notice.h.orig 2008-06-09 04:00:24.472509840 -0500
28 +++ src/notice.h 2008-06-09 04:00:44.608265748 -0500
29 @@ -10,6 +10,7 @@
30 #ifndef NOTICE_H
31 #define NOTICE_H
32
33 +#include <cstring>
34 #include "libghemicaldefine.h"
35 #include "libghemicalconfig2.h"
36
37 --- src/sasaeval.cpp 2008-08-01 09:39:01.000000000 +0530
38 +++ src/sasaeval.cpp 2008-08-01 09:40:33.000000000 +0530
39 @@ -21,6 +21,9 @@
40 #include "sasaeval.h"
41
42 #include "engine.h"
43 +#include <vector>
44 +#include <algorithm>
45 +using namespace std;
46
47 // the surface area code apparently contains some bugs, since it sometimes
48 // crashes. another possibility is that the surface area math contains some
49 --- src/sasaeval.h 2008-07-31 00:40:08.000000000 +0530
50 +++ src/sasaeval.h 2008-08-01 09:40:04.000000000 +0530
51 @@ -24,6 +24,7 @@
52 #define SASAEVAL_H
53
54 #include "typedef.h"
55 +#include <stdlib.h>
56
57 struct cg_nbt3_nl; // SASA neighbor list.