summaryrefslogtreecommitdiff
path: root/x11/qt4-libs/patches/patch-bg
blob: 108040ad3eb22316df3a27a6e354db4104ce239f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bg,v 1.2 2012/01/12 22:59:58 adam Exp $

this ends up going into non-const-able interfaces inside qt4

--- src/dbus/qdbusintegrator.cpp.orig	2011-03-30 05:19:07.000000000 +0000
+++ src/dbus/qdbusintegrator.cpp	2011-08-08 21:44:34.000000000 +0000
@@ -72,7 +72,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(); }