diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-08-13 15:42:48 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-08-13 17:47:58 +0200 |
commit | aa77a2ce7499d4f8a233c9ceb6a426f022dff902 (patch) | |
tree | ee205589c7ae9132670f5f5dd39c60aaeb3ad541 /x11-misc | |
parent | dev-python/pytest-subprocess: Keyword 1.5.0 x86, #909029 (diff) | |
download | gentoo-aa77a2ce7499d4f8a233c9ceb6a426f022dff902.tar.gz gentoo-aa77a2ce7499d4f8a233c9ceb6a426f022dff902.tar.bz2 gentoo-aa77a2ce7499d4f8a233c9ceb6a426f022dff902.zip |
x11-misc/autorandr: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32298
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/autorandr/files/autorandr-Makefile-fix-install_udev-target-by-s-TARGETS-MAKECM.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/x11-misc/autorandr/files/autorandr-Makefile-fix-install_udev-target-by-s-TARGETS-MAKECM.patch b/x11-misc/autorandr/files/autorandr-Makefile-fix-install_udev-target-by-s-TARGETS-MAKECM.patch deleted file mode 100644 index ff3b31d01326..000000000000 --- a/x11-misc/autorandr/files/autorandr-Makefile-fix-install_udev-target-by-s-TARGETS-MAKECM.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 4b8d397fc7a0d22a51ee13428ae13d892c0cc911 Mon Sep 17 00:00:00 2001 -From: Florian Schmaus <flo@geekplace.eu> -Date: Thu, 20 Oct 2022 10:48:54 +0200 -Subject: [PATCH] Makefile: fix install_udev target by s/TARGETS/MAKECMDGOALS/ - -A Gentoo user reported [1] that the 'install_udev' target would -install a systemd-flavored udev rules, despite the 'systemd' target -not being selected. Replacing 'TARGETS' with 'MAKECMDGOALS' in the -Makefile rule fixes this . - -I am not sure where the TARGETS variable origniates from, but GNU make -uses MAKECMDGOALS (FreeBSD make uses .TARGETS, i.e., with a leading -dot). So if further portability between make variants is required, -then this needs to be adjusted. - -1: https://bugs.gentoo.org/803545#c3 -Fixes: ae1f18a06039 ("udev rule: Dynamically call either systemd or autorandr directly depending on whether systemd unit is available") ---- a/Makefile -+++ b/Makefile -@@ -129,7 +129,7 @@ endif - install_udev: - $(if $(UDEV_RULES_DIR),,$(error UDEV_RULES_DIR is not defined)) - mkdir -p ${DESTDIR}/${UDEV_RULES_DIR}/ -- echo 'ACTION=="change", SUBSYSTEM=="drm", RUN+="$(if $(findstring systemd, $(TARGETS)),/bin/systemctl start --no-block autorandr.service,${PREFIX}/bin/autorandr --batch --change --default default)"' > ${DESTDIR}/${UDEV_RULES_DIR}/40-monitor-hotplug.rules -+ echo 'ACTION=="change", SUBSYSTEM=="drm", RUN+="$(if $(findstring systemd, $(MAKECMDGOALS)),/bin/systemctl start --no-block autorandr.service,${PREFIX}/bin/autorandr --batch --change --default default)"' > ${DESTDIR}/${UDEV_RULES_DIR}/40-monitor-hotplug.rules - @echo - @echo "To activate the udev rules, run this command as root:" - @echo " udevadm control --reload-rules" |