* [gentoo-commits] gentoo-x86 commit in sci-libs/libghemical/files: libghemical-2.98-gcc43.patch
@ 2008-11-30 1:00 Jeffrey Gardner (je_fro)
0 siblings, 0 replies; only message in thread
From: Jeffrey Gardner (je_fro) @ 2008-11-30 1:00 UTC (permalink / raw
To: gentoo-commits
je_fro 08/11/30 01:00:00
Added: libghemical-2.98-gcc43.patch
Log:
Fix compilation, thanks to Arch guy abhidg at http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000752.html
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r4 x86_64)
Revision Changes Path
1.1 sci-libs/libghemical/files/libghemical-2.98-gcc43.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libghemical/files/libghemical-2.98-gcc43.patch?rev=1.1&view=markup
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
Index: libghemical-2.98-gcc43.patch
===================================================================
--- 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-30 1:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-30 1:00 [gentoo-commits] gentoo-x86 commit in sci-libs/libghemical/files: libghemical-2.98-gcc43.patch Jeffrey Gardner (je_fro)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox