~ruther/guix-local

ref: 04ccc74bb9d295d4ac5fc936d04f2f989ea46337 guix-local/gnu/packages/patches/brightnessctl-elogind-support.patch -rw-r--r-- 440 bytes
04ccc74b — Dariqq gnu: linux-libre 6.6: Update to 6.6.64. 1 year, 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
From https://github.com/Hummer12007/brightnessctl/issues/67

--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,8 @@ MODE = ${MODE_${INSTALL_UDEV_RULES}}
 ifdef ENABLE_SYSTEMD
 	CFLAGS += ${shell pkg-config --cflags libsystemd}
 	LDLIBS += ${shell pkg-config --libs libsystemd}
+	CFLAGS += ${shell pkg-config --cflags libelogind}
+	LDLIBS += ${shell pkg-config --libs libelogind}
 	CPPFLAGS += -DENABLE_SYSTEMD
 	INSTALL_UDEV_RULES=0
 	MODE = 0755