[mate-system-monitor] 02/03: debian/patches: Add 1002_stdc++11.patch. Use -std=c++11 (instead of -std=c++98) in CXXFLAGS.

Mike Gabriel sunweaver at debian.org
Wed Oct 7 08:20:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository mate-system-monitor.

commit 1f29cad8d66cfe722d226aeb26f3d1d41666b3df
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Oct 7 10:14:41 2015 +0200

    debian/patches: Add 1002_stdc++11.patch. Use -std=c++11 (instead of -std=c++98) in CXXFLAGS.
---
 debian/patches/1002_stdc++11.patch | 14 ++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/1002_stdc++11.patch b/debian/patches/1002_stdc++11.patch
new file mode 100644
index 0000000..9f4c360
--- /dev/null
+++ b/debian/patches/1002_stdc++11.patch
@@ -0,0 +1,14 @@
+Description: Enable -std=c++11 (instead of -std=c++98) via CXXFLAGS
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -100,7 +100,7 @@
+     -Wcast-align -Wsign-compare \
+     -std=gnu89 \
+     $CFLAGS"
+-    CXXFLAGS="-Wall -std=c++98 $CXXFLAGS"
++    CXXFLAGS="-Wall -std=c++11 $CXXFLAGS"
+ else
+     AC_MSG_RESULT(no)
+ fi
diff --git a/debian/patches/series b/debian/patches/series
index dfa3d8d..081dca6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 1001_search-for-libsystemd-dev.patch
+1002_stdc++11.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-system-monitor.git



More information about the pkg-mate-commits mailing list