Bug#672055: add patch

Matthias Klose doko at debian.org
Wed May 9 00:59:10 UTC 2012


tags 672055 + patch
thanks

-------------- next part --------------
diff -Nru libstxxl-1.3.1/debian/changelog libstxxl-1.3.1/debian/changelog
--- libstxxl-1.3.1/debian/changelog	2012-02-18 14:40:48.000000000 +0000
+++ libstxxl-1.3.1/debian/changelog	2012-05-09 00:51:21.000000000 +0000
@@ -1,3 +1,10 @@
+libstxxl (1.3.1-2.1) unstable; urgency=low
+
+  * Non maintainer upload
+  * Fix build failure with GCC 4.7. Closes: #672055.
+
+ -- Matthias Klose <doko at debian.org>  Wed, 09 May 2012 00:50:24 +0000
+
 libstxxl (1.3.1-2) unstable; urgency=low
 
   * Team upload
diff -Nru libstxxl-1.3.1/debian/patches/gcc-4.7.diff libstxxl-1.3.1/debian/patches/gcc-4.7.diff
--- libstxxl-1.3.1/debian/patches/gcc-4.7.diff	1970-01-01 00:00:00.000000000 +0000
+++ libstxxl-1.3.1/debian/patches/gcc-4.7.diff	2012-05-09 00:52:08.000000000 +0000
@@ -0,0 +1,12 @@
+Index: libstxxl-1.3.1/utils/mlock.cpp
+===================================================================
+--- libstxxl-1.3.1.orig/utils/mlock.cpp	2010-08-31 12:22:17.000000000 +0000
++++ libstxxl-1.3.1/utils/mlock.cpp	2012-05-09 00:52:06.136011616 +0000
+@@ -17,6 +17,7 @@
+ #include <cstring>
+ #include <iostream>
+ #include <sys/mman.h>
++#include <unistd.h>
+ 
+ int main(int argc, char ** argv)
+ {
diff -Nru libstxxl-1.3.1/debian/patches/series libstxxl-1.3.1/debian/patches/series
--- libstxxl-1.3.1/debian/patches/series	2012-02-18 14:24:18.000000000 +0000
+++ libstxxl-1.3.1/debian/patches/series	2012-05-09 00:51:26.000000000 +0000
@@ -1 +1,2 @@
 enable-shared.patch
+gcc-4.7.diff


More information about the debian-science-maintainers mailing list