summaryrefslogtreecommitdiff
path: root/multimedia/kmplayer/files/patch-git_7dafda
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-12-30 11:45:34 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-12-30 11:45:34 +0000
commit34c596e2660d2351eaa515bd7d80ad964095df5e (patch)
treed4dcdb94ed994d335791f641248964591ab51935 /multimedia/kmplayer/files/patch-git_7dafda
parentUSES=compiler:c++11-lang is necessary to build on GCC architectures. (diff)
multimedia/kmplayer: moved from multimedia/kmplayer-kde4 and updated to KF5 based version
- as to not have this port be removed tomororw, update it to KF5 Differential Revision: https://reviews.freebsd.org/D18632
Diffstat (limited to 'multimedia/kmplayer/files/patch-git_7dafda')
-rw-r--r--multimedia/kmplayer/files/patch-git_7dafda34
1 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/kmplayer/files/patch-git_7dafda b/multimedia/kmplayer/files/patch-git_7dafda
new file mode 100644
index 000000000000..8bc9f4423df7
--- /dev/null
+++ b/multimedia/kmplayer/files/patch-git_7dafda
@@ -0,0 +1,34 @@
+From 7dafda636033d23436ea72c45967af78f54d76fb Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 17 Apr 2018 12:07:04 +0200
+Subject: Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)
+
+Test Plan: Built fine with Qt 5.11_beta3.
+
+Reviewers: pino, vriezen
+
+Differential Revision: https://phabricator.kde.org/D12272
+---
+ src/CMakeLists.txt | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f675d9a..57af1ed 100644
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -161,9 +161,9 @@ qt5_add_dbus_adaptor(kphononplayer_SRCS org.kde.kmplayer.streamslave.xml
+
+ add_executable(kphononplayer ${kphononplayer_SRCS})
+
+-qt5_use_modules(kphononplayer Core DBus Widgets X11Extras)
+-
+-target_link_libraries(kphononplayer Phonon::phonon4qt5 ${XCB_LIBRARIES})
++target_link_libraries(kphononplayer Phonon::phonon4qt5 ${XCB_LIBRARIES}
++ Qt5::Core Qt5::DBus Qt5::Widgets Qt5::X11Extras
++)
+
+ install(TARGETS kphononplayer ${INSTALL_TARGETS_DEFAULT_ARGS})
+
+--
+cgit v1.1
+