freebsd-ports/x11-clocks/dclock/files/patch-Dclock.c
Pav Lucistnik 8b86060252 - 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>
2005-12-18 14:54:18 +00:00

23 lines
732 B
C

--- 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 */