summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf')
-rw-r--r--x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf b/x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf
new file mode 100644
index 00000000000..68053687128
--- /dev/null
+++ b/x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf
@@ -0,0 +1,15 @@
+$NetBSD: patch-features_wayland-scanner-client-wayland-protocol-include.prf,v 1.1 2019/10/28 21:35:43 nia Exp $
+
+Fix path to QMAKE_WAYLAND_SCANNER.
+
+--- features/wayland-scanner-client-wayland-protocol-include.prf.orig 2019-08-13 09:25:25.000000000 +0000
++++ features/wayland-scanner-client-wayland-protocol-include.prf
+@@ -10,7 +10,7 @@
+ # #include <QtWaylandClient/private/wayland-wayland-client-protocol.h>
+ # to the wayland-scanner generated files.
+
+-isEmpty(QMAKE_WAYLAND_SCANNER):error("QMAKE_WAYLAND_SCANNER not defined for this mkspec")
++QMAKE_WAYLAND_SCANNER = @PREFIX@/bin/wayland-scanner
+
+ !isEmpty(MODULE_INCNAME) {
+ WAYLAND_INCLUDE_DIR = $$MODULE_INCNAME/private