summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xf86-input-wacom-fix-variable-name-when-dealing-with-systemd-unit-dir.patch23
-rw-r--r--xorg-x11-drv-wacom.spec1
2 files changed, 24 insertions, 0 deletions
diff --git a/xf86-input-wacom-fix-variable-name-when-dealing-with-systemd-unit-dir.patch b/xf86-input-wacom-fix-variable-name-when-dealing-with-systemd-unit-dir.patch
new file mode 100644
index 0000000..9bb3ec7
--- /dev/null
+++ b/xf86-input-wacom-fix-variable-name-when-dealing-with-systemd-unit-dir.patch
@@ -0,0 +1,23 @@
+From 25d6610d24cd24ae11a8e6abe6abfa76a8187e74 Mon Sep 17 00:00:00 2001
+From: fundawang <fundawang@yeah.net>
+Date: Sun, 17 Nov 2024 18:47:05 +0800
+Subject: [PATCH] meson.build: fix variable name when dealing with
+ systemd-unit-dir
+
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 139dc3f4..130f95f0 100644
+--- a/meson.build
++++ b/meson.build
+@@ -89,7 +89,7 @@ if dir_udev_rules == ''
+ endif
+
+ dir_systemd_unit = get_option('systemd-unit-dir')
+-if dir_udev_rules == ''
++if dir_systemd_unit == ''
+ dir_systemd_unit = dir_systemd / 'systemd'
+ endif
+
diff --git a/xorg-x11-drv-wacom.spec b/xorg-x11-drv-wacom.spec
index c87a609..d0689ee 100644
--- a/xorg-x11-drv-wacom.spec
+++ b/xorg-x11-drv-wacom.spec
@@ -7,6 +7,7 @@ License: GPL-2.0-or-later
Summary: Xorg X11 wacom input driver
URL: https://www.x.org
Source0: https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-%{version}/xf86-input-wacom-%{version}.tar.bz2
+Patch0: xf86-input-wacom-fix-variable-name-when-dealing-with-systemd-unit-dir.patch
BuildRequires: meson >= 0.51.0
BuildRequires: pkgconfig(gio-2.0)