summaryrefslogtreecommitdiff
path: root/x11-clocks/dclock/files/patch-Dclock.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-18 14:54:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-18 14:54:18 +0000
commit8b860602522100d32030a692e2d50186c1648b7a (patch)
treef4c50995a8b9630b93c039c03dc096f7382b6e25 /x11-clocks/dclock/files/patch-Dclock.c
parentNew port -- SCIM IMEngine module using Tomoe (diff)
- Update to 2.1.2.7 and take maintainership
As is described in pkg-descr, now this port uses Debian porting of Tim Edwards's version 2.0. It is heavily modified from Dan Heller's original version, and is not fully compatible with it. But still it is reasonable replacement of disappeared old version. PR: ports/90570 Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
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 */