summaryrefslogtreecommitdiff
path: root/net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch1
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-10 16:42:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-10 16:42:40 +0100
commit7e1b8981e61fee0f45be93efab532da2db299fe0 (patch)
treea0429f55f9e3ab371320f193643b93933a80b12a /net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch1
parent0e7db54c8296afae23d09a8e3e5a58e438fab9e6 (diff)
net-libs/gtk-vnc : import from gentoo, fix build with >=dev-util/meson-0.63.0 ( https://bugs.gentoo.org/846467 )
Diffstat (limited to 'net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch1')
-rw-r--r--net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch134
1 files changed, 34 insertions, 0 deletions
diff --git a/net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch1 b/net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch1
new file mode 100644
index 00000000..fdcaa5c0
--- /dev/null
+++ b/net-libs/gtk-vnc/files/8da5e173ebdccbca60387ef2347c629be3c78dff.patch1
@@ -0,0 +1,34 @@
+diff --git a/meson.build b/meson.build
+index 299113a3fc24f58d3d3f3a01bb47bb3830a5f2a4..bf72f13eb256c48bd99146a47b118c16addac9e0 100644
+--- a/meson.build
++++ b/meson.build
+@@ -133,10 +133,10 @@ gtk_vnc_version_check_flags = gvnc_version_check_flags + [
+ '-DGDK_VERSION_MAX_ALLOWED=@0@'.format(gtk_min_version_symbol),
+ ]
+
+-subproject('keycodemapdb')
++keycodemapdb = subproject('keycodemapdb')
+
+-keymapgen = files('subprojects/keycodemapdb/tools/keymap-gen')
+-keymapcsv = files('subprojects/keycodemapdb/data/keymaps.csv')
++keymapgen = find_program('keymap-gen')
++keymapcsv = keycodemapdb.get_variable('keymaps_csv')
+
+
+ gnome = import('gnome')
+diff --git a/src/meson.build b/src/meson.build
+index 247c59759a7422d939c9625d976ec8d1a9143bd7..67fa8b9333324587d2c9ec07f11c398ab862f7bb 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -336,9 +336,10 @@ foreach keymap: keymaps
+ cmd = [
+ python,
+ keymapgen,
++ 'code-map',
+ '--lang', 'glib2',
+ '--varname', varname,
+- 'code-map', keymapcsv, keymap, 'qnum'
++ keymapcsv, keymap, 'qnum'
+ ]
+ gtk_vnc_sources += custom_target(
+ target,