[SCM] Qt 4 packaging branch, experimental, updated. debian/4.8.0-1-42-g1513b50
Pino Toscano
pino at alioth.debian.org
Sun Apr 29 17:46:58 UTC 2012
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qt4-x11.git;a=commitdiff;h=6748ee5
The following commit has been merged in the experimental branch:
commit 6748ee5e3c3ca4bf0cc277709f126cab6e131d6c
Author: Pino Toscano <pino at debian.org>
Date: Tue Apr 17 12:09:46 2012 +0200
fix build failures with GCC 4.7 (#667911)
(cherry picked from commit 91d70486a5e3cd0c403235febc206504d19adc5c)
Conflicts:
debian/changelog
debian/patches/series
---
debian/changelog | 1 +
debian/patches/gcc-4.7.diff | 69 +++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c8b528f..6876733 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,7 @@ qt4-x11 (4:4.8.1-0r1) UNRELEASED; urgency=low
upstream.
[ Pino Toscano ]
+ * Fix build failures with GCC 4.7; patch gcc-4.7.diff. (Closes: #667911)
* Fix atomic support on sparc64, by Aurelien Jarno (thanks!);
patch qt_atomic_sparc64.patch. (Closes: #647265)
diff --git a/debian/patches/gcc-4.7.diff b/debian/patches/gcc-4.7.diff
new file mode 100644
index 0000000..c77c034
--- /dev/null
+++ b/debian/patches/gcc-4.7.diff
@@ -0,0 +1,69 @@
+Author: Pino Toscano <pino at debian.org>
+Description: Fix build failures with GCC 4.7
+ Fix build issues with GCC 4.7, like code wrongly mistaken for operator"".
+Origin: vendor
+Forwarded: no
+Last-Update: 2012-04-17
+
+--- a/src/testlib/qxmltestlogger.cpp
++++ b/src/testlib/qxmltestlogger.cpp
+@@ -119,7 +119,7 @@
+ QTest::qt_asprintf(&buf,
+ "<Environment>
"
+ " <QtVersion>%s</QtVersion>
"
+- " <QTestVersion>"QTEST_VERSION_STR"</QTestVersion>
"
++ " <QTestVersion>" QTEST_VERSION_STR "</QTestVersion>
"
+ "</Environment>
", qVersion());
+ outputString(buf.constData());
+ }
+--- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h
++++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h
+@@ -57,9 +57,7 @@
+
+ class JSGlobalObject : public JSVariableObject {
+ protected:
+- using JSVariableObject::JSVariableObjectData;
+-
+- struct JSGlobalObjectData : public JSVariableObjectData {
++ struct JSGlobalObjectData : public JSVariableObject::JSVariableObjectData {
+ // We use an explicit destructor function pointer instead of a
+ // virtual destructor because we want to avoid adding a vtable
+ // pointer to this struct. Adding a vtable pointer would force the
+--- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h
++++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h
+@@ -32,8 +32,7 @@
+
+ class JSStaticScopeObject : public JSVariableObject {
+ protected:
+- using JSVariableObject::JSVariableObjectData;
+- struct JSStaticScopeObjectData : public JSVariableObjectData {
++ struct JSStaticScopeObjectData : public JSVariableObject::JSVariableObjectData {
+ JSStaticScopeObjectData()
+ : JSVariableObjectData(&symbolTable, ®isterStore + 1)
+ {
+--- a/src/corelib/kernel/qobjectdefs.h
++++ b/src/corelib/kernel/qobjectdefs.h
+@@ -216,7 +216,7 @@
+ #define QTOSTRING_HELPER(s) #s
+ #define QTOSTRING(s) QTOSTRING_HELPER(s)
+ #ifndef QT_NO_DEBUG
+-# define QLOCATION "
--
Qt 4 packaging
More information about the pkg-kde-commits
mailing list