[SCM] sooperlooper/master: Suppport for C++-11 (Closes: #802365)
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Wed Oct 21 09:16:31 UTC 2015
The following commit has been merged in the master branch:
commit 2857337111256ff38470653dca823a0897806589
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date: Wed Oct 21 11:16:17 2015 +0200
Suppport for C++-11 (Closes: #802365)
diff --git a/debian/patches/05-C++11.patch b/debian/patches/05-C++11.patch
new file mode 100644
index 0000000..cf7f8e8
--- /dev/null
+++ b/debian/patches/05-C++11.patch
@@ -0,0 +1,41 @@
+Description: enable C++-11 support
+ the code uses C++-11 features, so we have to pass "-std=c++11"
+ unfortunately the submodules ignore any CXXFLAGS we pass them,
+ so we need to patch the configure process
+Author: IOhannes m zmölnig
+Last-Update: 2015-10-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- sooperlooper.orig/configure.ac
++++ sooperlooper/configure.ac
+@@ -357,7 +357,7 @@
+ )
+
+ AM_BUILD_ENVIRONMENT
+-
++ CXXFLAGS="-std=c++11 $CXXFLAGS"
+
+ AC_SUBST(BASE_LIBS)
+ AC_SUBST(BASE_INCLUDES)
+--- sooperlooper.orig/libs/midi++/configure.ac
++++ sooperlooper/libs/midi++/configure.ac
+@@ -239,7 +239,7 @@
+
+ AM_BUILD_ENVIRONMENT
+
+-CXXFLAGS="$CXXFLAGS $GUI_INCLUDES $SIGCPP_CFLAGS"
++CXXFLAGS="-std=c++11 $CXXFLAGS $GUI_INCLUDES $SIGCPP_CFLAGS"
+
+ AC_OUTPUT([Makefile
+ version.cc
+--- sooperlooper.orig/libs/pbd/configure.ac
++++ sooperlooper/libs/pbd/configure.ac
+@@ -199,7 +199,7 @@
+ AM_BUILD_ENVIRONMENT
+
+ CFLAGS="$CFLAGS $XML_CFLAGS $SIGCPP_CFLAGS"
+-CXXFLAGS="$CXXFLAGS $XML_CFLAGS $SIGCPP_CFLAGS"
++CXXFLAGS="-std=c++11 $CXXFLAGS $XML_CFLAGS $SIGCPP_CFLAGS"
+ LIBS="$LIBS $XML_LIBS $SIGCPP_LIBS"
+
+ AC_OUTPUT([Makefile
diff --git a/debian/patches/series b/debian/patches/series
index 0d6b439..1d38463 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
02-remove_dmalloc.patch
03-indirect_linking.patch
04-build_with_wx_30.patch
+05-C++11.patch
--
sooperlooper packaging
More information about the pkg-multimedia-commits
mailing list