[med-svn] r10507 - in trunk/packages/mustang/trunk/debian: . patches
Andreas Tille
tille at alioth.debian.org
Sun Apr 22 16:41:08 UTC 2012
Author: tille
Date: 2012-04-22 16:41:07 +0000 (Sun, 22 Apr 2012)
New Revision: 10507
Added:
trunk/packages/mustang/trunk/debian/patches/gcc-4.7.patch
Modified:
trunk/packages/mustang/trunk/debian/changelog
trunk/packages/mustang/trunk/debian/patches/series
Log:
Fix FTBFS using gcc-4.7
Modified: trunk/packages/mustang/trunk/debian/changelog
===================================================================
--- trunk/packages/mustang/trunk/debian/changelog 2012-04-22 16:31:23 UTC (rev 10506)
+++ trunk/packages/mustang/trunk/debian/changelog 2012-04-22 16:41:07 UTC (rev 10507)
@@ -2,6 +2,8 @@
* debian/upstream:
- Use BibTeX friendly formating of authors
+ * debian/patches/gcc-4.7.patch: Fix build issue with gcc-4.7
+ Closes: #667293
-- Andreas Tille <tille at debian.org> Sun, 22 Apr 2012 18:18:34 +0200
Added: trunk/packages/mustang/trunk/debian/patches/gcc-4.7.patch
===================================================================
--- trunk/packages/mustang/trunk/debian/patches/gcc-4.7.patch (rev 0)
+++ trunk/packages/mustang/trunk/debian/patches/gcc-4.7.patch 2012-04-22 16:41:07 UTC (rev 10507)
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at 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"
Modified: trunk/packages/mustang/trunk/debian/patches/series
===================================================================
--- trunk/packages/mustang/trunk/debian/patches/series 2012-04-22 16:31:23 UTC (rev 10506)
+++ trunk/packages/mustang/trunk/debian/patches/series 2012-04-22 16:41:07 UTC (rev 10507)
@@ -1 +1,2 @@
03-test_zf-cchh.patch
+gcc-4.7.patch
More information about the debian-med-commit
mailing list