summaryrefslogtreecommitdiff
path: root/debian/patches/18_enable_qt3support_qtwebkit_debug_info.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/18_enable_qt3support_qtwebkit_debug_info.diff')
-rw-r--r--debian/patches/18_enable_qt3support_qtwebkit_debug_info.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/18_enable_qt3support_qtwebkit_debug_info.diff b/debian/patches/18_enable_qt3support_qtwebkit_debug_info.diff
new file mode 100644
index 0000000..f07b2ad
--- /dev/null
+++ b/debian/patches/18_enable_qt3support_qtwebkit_debug_info.diff
@@ -0,0 +1,26 @@
+author: Fathi Boudra <fabo@debian.org>
+
+On Qt >= 4.5, debug info are disabled for Qt3Support and QtWebkit.
+This patch enable them.
+
+--- a/src/3rdparty/webkit/WebCore/WebCore.pro
++++ b/src/3rdparty/webkit/WebCore/WebCore.pro
+@@ -2030,9 +2030,3 @@ HEADERS += $$WEBKIT_API_HEADERS
+ }
+ }
+
+-CONFIG(QTDIR_build):isEqual(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 4) {
+- # start with 4.5
+- CONFIG -= separate_debug_info
+- CONFIG += no_debug_info
+-}
+-
+--- a/src/qt3support/qt3support.pro
++++ b/src/qt3support/qt3support.pro
+@@ -34,6 +34,3 @@ MOCDIR = .moc
+
+ *-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
+
+-CONFIG -= separate_debug_info
+-CONFIG += no_debug_info
+-