summarylogtreecommitdiffstats
path: root/cpp11.diff
diff options
context:
space:
mode:
authoryparitcher2019-05-15 11:05:47 -0400
committeryparitcher2019-05-15 11:05:47 -0400
commit5f7ce021cda4189f74dfa7bc98c794c258cde85d (patch)
tree72372db39a7b16c179a4a9de257f83ba66b266a7 /cpp11.diff
parentcca34ecb329282ef9da501f674f9e6cbcbb46ab5 (diff)
downloadaur-5f7ce021cda4189f74dfa7bc98c794c258cde85d.tar.gz
update to version 5.0 based on qt5
Diffstat (limited to 'cpp11.diff')
-rw-r--r--cpp11.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp11.diff b/cpp11.diff
new file mode 100644
index 000000000000..3daea408f126
--- /dev/null
+++ b/cpp11.diff
@@ -0,0 +1,14 @@
+Description: building against Qt5 requires at least C++11
+Author: Florian Schlichting <fsfs@debian.org>
+
+--- a/src/xxdiff.pro
++++ b/src/xxdiff.pro
+@@ -111,7 +111,7 @@
+ #linux-g++:QMAKE_LIBS += -lmpatrol -lbfd -liberty
+
+ # auto_ptr deprecated in C++11, removed in C++17
+-linux: QMAKE_CXXFLAGS += -std=c++03
++linux: QMAKE_CXXFLAGS += -std=c++11
+
+ #----------------------------------------
+ # Max OS X with XFree86 port, macx-g++