The following commit has been merged in the master branch:
commit 7f02b130f2fc224e7574a6d0d1451251e14ed415
Author: Tobias Hansen <[email protected]>
Date:   Tue Aug 28 01:46:38 2012 +0200

    Add workaround for gcc bug PR c++/53821.

diff --git a/debian/patches/gcc-pr53821-workaround.patch 
b/debian/patches/gcc-pr53821-workaround.patch
new file mode 100644
index 0000000..0a23ba0
--- /dev/null
+++ b/debian/patches/gcc-pr53821-workaround.patch
@@ -0,0 +1,15 @@
+Description: Work around gcc bug PR c++/53821
+ This bug is present in Wheezys gcc-4.7 4.7.1-2.
+ It is fixed in gcc-4.7 4.7.1-3.
+Author: Tobias Hansen <[email protected]>
+
+--- a/bsnes/nall/sort.hpp
++++ b/bsnes/nall/sort.hpp
+@@ -69,6 +69,7 @@
+   }
+ 
+   template<typename T>
++  inline
+   void sort(T list[], unsigned size) {
+     return sort(list, size, [](const T &l, const T &r) { return l < r; });
+   }
diff --git a/debian/patches/series b/debian/patches/series
index b9b315b..2281f17 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ use-dpkg-buildflags.patch
 detect-endianness.patch
 remove-march=native-build-flag.patch
 fix-purify-header-removal-and-input.patch
+gcc-pr53821-workaround.patch

-- 
Packaging for bsnes

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to