From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/mustang/files: mustang-3.2.1-gcc-4.7.patch |
Date: | Sun, 29 Apr 2012 10:36:27 |
Message-Id: | 20120429103613.6513C2004C@flycatcher.gentoo.org |
1 | jlec 12/04/29 10:36:13 |
2 | |
3 | Added: mustang-3.2.1-gcc-4.7.patch |
4 | Log: |
5 | sci-chemistry/mustang: Fix for gcc-4.7, #413945 |
6 | |
7 | (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mustang-3.2.1-gcc-4.7.patch |
16 | =================================================================== |
17 | src/superpose_on_core_2.cpp | 2 ++ |
18 | 1 files changed, 2 insertions(+), 0 deletions(-) |
19 | |
20 | diff --git a/src/superpose_on_core_2.cpp b/src/superpose_on_core_2.cpp |
21 | index ae137de..059dfe3 100644 |
22 | --- a/src/superpose_on_core_2.cpp |
23 | +++ b/src/superpose_on_core_2.cpp |
24 | @@ -55,6 +55,8 @@ using std::ofstream ; |
25 | #include "multiple_superposition.h" |
26 | #include "3D_manip_functions.h" |
27 | |
28 | +#include <unistd.h> |
29 | + |
30 | int **core_columns ; |
31 | int *core_columns_2 , NCORE = 0 ; |
32 | int **algn_to_seq_hash ; |