aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rsound/pidfile.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-11-22 03:48:01 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-11-22 03:48:01 +0100
commita6f5b2138adcabfba1a59db447f746c9d1cc8eed (patch)
treee4cec407f1df5e8051a7faa19e31e118c1925d7c /testing/rsound/pidfile.patch
parentf46dcb42265a1385184d63c5535215568f970308 (diff)
testing/rsound: add OpenRC service
Diffstat (limited to 'testing/rsound/pidfile.patch')
-rw-r--r--testing/rsound/pidfile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/rsound/pidfile.patch b/testing/rsound/pidfile.patch
new file mode 100644
index 00000000000..26b10e3a28a
--- /dev/null
+++ b/testing/rsound/pidfile.patch
@@ -0,0 +1,12 @@
+diff -upr RSound-1.1.orig/src/rsound-common.c RSound-1.1/src/rsound-common.c
+--- RSound-1.1.orig/src/rsound-common.c 2015-11-22 03:25:55.595163404 +0100
++++ RSound-1.1/src/rsound-common.c 2015-11-22 03:26:56.161613187 +0100
+@@ -49,7 +49,7 @@
+
+
+ /* Not really portable, need to find something better */
+-#define PIDFILE "/tmp/.rsound.pid"
++#define PIDFILE "/var/run/rsound.pid"
+
+ /* Pulls in callback structs depending on compilation options. */
+