summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2012-03-30 14:48:08 +0000
committerDavide Pesavento <pesa@gentoo.org>2012-03-30 14:48:08 +0000
commita2f4159afd0f1bd6ace8828da0c85d81eb106ad4 (patch)
tree94f7d107ffe3e4c6d3db06b5e02f5ea3d1ec0cb6 /x11-libs/qt-dbus/files
parent[bump] dev-perl/HTML-Form-6.30.0 (diff)
downloadgentoo-2-a2f4159afd0f1bd6ace8828da0c85d81eb106ad4.tar.gz
gentoo-2-a2f4159afd0f1bd6ace8828da0c85d81eb106ad4.tar.bz2
gentoo-2-a2f4159afd0f1bd6ace8828da0c85d81eb106ad4.zip
Fix build for hppa, bug 367583.
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qt-dbus/files')
-rw-r--r--x11-libs/qt-dbus/files/qt-dbus-4.7-qdbusintegrator-no-const.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-libs/qt-dbus/files/qt-dbus-4.7-qdbusintegrator-no-const.patch b/x11-libs/qt-dbus/files/qt-dbus-4.7-qdbusintegrator-no-const.patch
new file mode 100644
index 000000000000..086eb47a071c
--- /dev/null
+++ b/x11-libs/qt-dbus/files/qt-dbus-4.7-qdbusintegrator-no-const.patch
@@ -0,0 +1,11 @@
+--- src/dbus/qdbusintegrator.cpp.orig 2011-03-12 02:11:32.313467991 +0100
++++ src/dbus/qdbusintegrator.cpp 2011-03-12 02:11:03.795809176 +0100
+@@ -71,7 +71,7 @@
+ static bool isDebugging;
+ #define qDBusDebug if (!::isDebugging); else qDebug
+
+-Q_GLOBAL_STATIC_WITH_ARGS(const QString, orgFreedesktopDBusString, (QLatin1String(DBUS_SERVICE_DBUS)))
++Q_GLOBAL_STATIC_WITH_ARGS(QString, orgFreedesktopDBusString, (QLatin1String(DBUS_SERVICE_DBUS)))
+
+ static inline QString dbusServiceString()
+ { return *orgFreedesktopDBusString(); }