tags 667114 + patch
thanks

diff -Nru bitcoin-0.6.0/debian/changelog bitcoin-0.6.0/debian/changelog
--- bitcoin-0.6.0/debian/changelog      2012-03-30 18:01:49.000000000 +0000
+++ bitcoin-0.6.0/debian/changelog      2012-05-03 20:57:39.000000000 +0000
@@ -1,3 +1,10 @@
+bitcoin (0.6.0-1.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * Work around build failure with gcc 4.7. Closes: #667114.
+
+ -- Matthias Klose <d...@debian.org>  Thu, 03 May 2012 22:56:56 +0200
+
 bitcoin (0.6.0-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru bitcoin-0.6.0/debian/rules bitcoin-0.6.0/debian/rules
--- bitcoin-0.6.0/debian/rules  2012-03-30 17:36:38.000000000 +0000
+++ bitcoin-0.6.0/debian/rules  2012-05-03 20:56:40.000000000 +0000
@@ -38,6 +38,9 @@
 build/bitcoind::
        $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin)
 
+# work around build failure with gcc 4.7
+CXXFLAGS += -fpermissive
+
 # Readd default flags
 CXXFLAGS += -DNOPCH -DUSE_SSL
 #CXXFLAGS += -Wno-invalid-offsetof -Wformat

Reply via email to