summaryrefslogtreecommitdiffstats
path: root/multimedia/acme/files/patch-src_acme.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/acme/files/patch-src_acme.c')
-rw-r--r--multimedia/acme/files/patch-src_acme.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/acme/files/patch-src_acme.c b/multimedia/acme/files/patch-src_acme.c
new file mode 100644
index 0000000..4da386b
--- /dev/null
+++ b/multimedia/acme/files/patch-src_acme.c
@@ -0,0 +1,15 @@
+--- src/acme.c.orig Sun Jan 19 06:43:45 2003
++++ src/acme.c Mon Jan 27 18:09:38 2003
+@@ -201,10 +201,10 @@
+ if ((soundfile == NULL) || (strcmp (soundfile, "") == 0))
+ return;
+
+- if (g_file_test ("/usr/bin/esdplay",
++ if (g_file_test ("%%LOCALBASE%%/bin/esdplay",
+ (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))
+ {
+- command = g_strdup_printf ("/usr/bin/esdplay %s",
++ command = g_strdup_printf ("%%LOCALBASE%%/bin/esdplay %s",
+ soundfile);
+ } else if (g_file_test ("/usr/bin/play",
+ (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))
OpenPOWER on IntegriCloud