Package: mustang / 3.2.3-1

gcc-4.7.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@debian.org>
Date: Sun, 22 Apr 2012 18:06:41 +0200
Bug-Closed: http://bugs.debian.org/667293
Description: Build with g++ version 4.7
 Followed hint given at
   http://gcc.gnu.org/gcc-4.7/porting_to.html

--- MUSTANG_v3.2.1.orig/src/superpose_on_core_2.cpp
+++ MUSTANG_v3.2.1/src/superpose_on_core_2.cpp
@@ -44,6 +44,8 @@
 using std::ifstream ;
 using std::ofstream ;
 
+#include <unistd.h>
+
 #include "macros.h"
 #include "globals.h"
 #include "alloc_routines.h"