summaryrefslogtreecommitdiff
path: root/x11-clocks/dclock/files/patch-Dclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/dclock/files/patch-Dclock.c')
-rw-r--r--x11-clocks/dclock/files/patch-Dclock.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-clocks/dclock/files/patch-Dclock.c b/x11-clocks/dclock/files/patch-Dclock.c
new file mode 100644
index 000000000000..2f63600bcc93
--- /dev/null
+++ b/x11-clocks/dclock/files/patch-Dclock.c
@@ -0,0 +1,23 @@
+--- Dclock.c.orig Sat Dec 17 23:46:28 2005
++++ Dclock.c Sat Dec 17 23:47:28 2005
+@@ -9,9 +9,9 @@
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <string.h>
+-#include <values.h>
++#include <limits.h>
+ #include <time.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <errno.h>
+ #include <X11/IntrinsicP.h>
+ #include <X11/Xos.h>
+@@ -171,7 +171,7 @@
+ { XtNbellFile, "bellFile", XtRString, sizeof(String),
+ XtOffset(DclockWidget,dclock.bellfile), XtRString, (String)NULL},
+ { XtNaudioPlay, "audioPlay", XtRString, sizeof(String),
+- XtOffset(DclockWidget,dclock.audioplay), XtRString, "/usr/bin/play"},
++ XtOffset(DclockWidget,dclock.audioplay), XtRString, "%%LOCALBASE%%/bin/play"},
+ };
+
+ /* Define the Dclock widget */