[Debian-med-packaging] Bug#672033: add patch
Matthias Klose
doko at debian.org
Thu May 10 19:30:45 UTC 2012
tags 672033 + patch
thanks
-------------- next part --------------
diff -Nru sitplus-1.0.3/debian/changelog sitplus-1.0.3/debian/changelog
--- sitplus-1.0.3/debian/changelog 2012-03-05 21:10:25.000000000 +0000
+++ sitplus-1.0.3/debian/changelog 2012-05-10 18:48:22.000000000 +0000
@@ -1,3 +1,10 @@
+sitplus (1.0.3-1.1) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Work around build failure with GCC 4.7. Closes: #672033.
+
+ -- Matthias Klose <doko at debian.org> Thu, 10 May 2012 20:47:32 +0200
+
sitplus (1.0.3-1) unstable; urgency=low
[ Andreas Tille ]
diff -Nru sitplus-1.0.3/debian/rules sitplus-1.0.3/debian/rules
--- sitplus-1.0.3/debian/rules 2012-03-05 21:10:25.000000000 +0000
+++ sitplus-1.0.3/debian/rules 2012-05-10 18:47:24.000000000 +0000
@@ -7,8 +7,10 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) -fpermissive
+
override_dh_auto_configure:
- dh_auto_configure -- \
+ CXXFLAGS="$(CXXFLAGS)" dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH=/usr/lib/sitplus \
-DCMAKE_EXE_LINKER_FLAGS="-lboost_system -lopencv_core -lopencv_highgui" \
More information about the Debian-med-packaging
mailing list