summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-Wno-c++0x-compat.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-12-12 07:59:31 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-12-13 13:00:10 +0400
commit624c4d5fa11e44acaa4f89a0df89f7b3ce7a7d6c (patch)
treee080650e503ffb2231332c1009abe241a7b7964d /debian/patches/dyson-Wno-c++0x-compat.patch
parent2b2703cd0381700a675cb27e9fbe721e0e07d3cb (diff)
downloadqtwebkit-624c4d5fa11e44acaa4f89a0df89f7b3ce7a7d6c.tar.gz
Added dyson-Wno-c++0x-compat.patch
Diffstat (limited to 'debian/patches/dyson-Wno-c++0x-compat.patch')
-rw-r--r--debian/patches/dyson-Wno-c++0x-compat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/dyson-Wno-c++0x-compat.patch b/debian/patches/dyson-Wno-c++0x-compat.patch
new file mode 100644
index 0000000..92ad944
--- /dev/null
+++ b/debian/patches/dyson-Wno-c++0x-compat.patch
@@ -0,0 +1,14 @@
+Index: qtwebkit/Source/WebKit.pri
+===================================================================
+--- qtwebkit.orig/Source/WebKit.pri 2013-12-10 19:58:34.964073035 +0400
++++ qtwebkit/Source/WebKit.pri 2013-12-12 14:47:56.394704704 +0400
+@@ -115,7 +115,9 @@
+ # Treat warnings as errors on x86/Linux/GCC
+ linux-g++*|glibc-*|hurd-* {
+ isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror -Wno-error=unused-local-typedefs
++}
+
++*-g++* {
+ greaterThan(QT_GCC_MAJOR_VERSION, 3):greaterThan(QT_GCC_MINOR_VERSION, 5) {
+ if (!contains(QMAKE_CXXFLAGS, -std=c++0x) && !contains(QMAKE_CXXFLAGS, -std=gnu++0x)) {
+ # We need to deactivate those warnings because some names conflicts with upcoming c++0x types (e.g.nullptr).