summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/speechd-up/files/speechd-up-gentoo.patch')
-rw-r--r--app-accessibility/speechd-up/files/speechd-up-gentoo.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-accessibility/speechd-up/files/speechd-up-gentoo.patch b/app-accessibility/speechd-up/files/speechd-up-gentoo.patch
new file mode 100644
index 000000000000..eabb92f59fb0
--- /dev/null
+++ b/app-accessibility/speechd-up/files/speechd-up-gentoo.patch
@@ -0,0 +1,14 @@
+diff -Naur speechd-up.vanilla/speechd-up.c speechd-up/speechd-up.c
+--- speechd-up.vanilla/speechd-up.c 2004-05-01 12:36:55.417594928 +0000
++++ speechd-up/speechd-up.c 2004-05-01 12:36:15.691634192 +0000
+@@ -418,10 +418,7 @@
+ options_set_default();
+ options_parse(argc, argv);
+
+- if (!strcmp(PIDPATH, ""))
+ spd_spk_pid_file = (char*) strdup("/var/run/speechd-up.pid");
+- else
+- spd_spk_pid_file = (char*) strdup(PIDPATH"speechd.pid");
+
+ if (create_pid_file() == -1) exit(1);
+