lirc/lirc-0.9.4-run_dir.patch

25 lines
1.0 KiB
Diff

--- lirc-0.9.4/lirc_options.conf.orig 2016-08-11 16:23:50.927031912 +0200
+++ lirc-0.9.4/lirc_options.conf 2016-08-11 16:25:05.137115690 +0200
@@ -10,8 +10,8 @@
nodaemon = False
driver = devinput
device = auto
-output = /var/run/lirc/lircd
-pidfile = /var/run/lirc/lircd.pid
+output = /run/lirc/lircd
+pidfile = /run/lirc/lircd.pid
plugindir = /usr/lib/lirc/plugins
permission = 666
allow-simulate = No
--- lirc-0.9.4/Makefile.am.orig 2016-08-11 16:43:40.059632349 +0200
+++ lirc-0.9.4/Makefile.am 2016-08-11 16:43:46.059629485 +0200
@@ -81,7 +81,7 @@
@echo "#define PATHS_H" >>$@
@echo '#define DATADIR "$(datadir)"' >>$@
@echo '#define SYSCONFDIR "$(sysconfdir)"' >>$@
- @echo '#define VARRUNDIR "$(localstatedir)/run"' >>$@
+ @echo '#define VARRUNDIR "/run"' >>$@
@echo '#define LOCALSTATEDIR "$(localstatedir)"' >>$@
@echo '#define LIBDIR "$(libdir)"' >>$@
@echo "#endif" >>$@