diff options
Diffstat (limited to 'x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch')
-rw-r--r-- | x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch b/x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch new file mode 100644 index 000000000000..532413b954c3 --- /dev/null +++ b/x11-misc/qt5ct/files/qt5ct-0.32-fix-build-without-dbus.patch @@ -0,0 +1,16 @@ +See https://sourceforge.net/p/qt5ct/tickets/36/ + +diff --git a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro +--- a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (revision 408) ++++ b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (working copy) +@@ -10,7 +10,9 @@ + QT += gui-private platformsupport-private + } + +-greaterThan(QT_MINOR_VERSION, 5): QT += dbus ++!contains(DEFINES, QT_NO_DBUS):greaterThan(QT_MINOR_VERSION, 5) { ++ QT += dbus ++} + + SOURCES += \ + main.cpp \ |