summaryrefslogtreecommitdiff
path: root/time/xchrono/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'time/xchrono/patches/patch-ac')
-rw-r--r--time/xchrono/patches/patch-ac21
1 files changed, 19 insertions, 2 deletions
diff --git a/time/xchrono/patches/patch-ac b/time/xchrono/patches/patch-ac
index 78fea55dd1e..c6a6fdadab9 100644
--- a/time/xchrono/patches/patch-ac
+++ b/time/xchrono/patches/patch-ac
@@ -1,8 +1,16 @@
-$NetBSD: patch-ac,v 1.1 2003/01/30 22:37:27 simonb Exp $
+$NetBSD: patch-ac,v 1.2 2006/11/28 23:04:55 agc Exp $
--- xchrono.c.orig Fri Jan 31 09:23:44 2003
+++ xchrono.c
-@@ -91,9 +91,7 @@ static struct {
+@@ -29,6 +29,7 @@
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include <stdio.h>
+
+ #include <X11/Xatom.h>
+ #include <X11/Intrinsic.h>
+@@ -91,9 +92,7 @@
#define TOKYO (HAWAII+1)
{ "Japan", "Tokyo" },
#define SYDNEY (TOKYO+1)
@@ -13,3 +21,12 @@ $NetBSD: patch-ac,v 1.1 2003/01/30 22:37:27 simonb Exp $
#define LONDON (SYDNEY+1)
{ "GB-Eire", "London" },
#define PARIS (LONDON+1)
+@@ -231,7 +230,7 @@
+ { XtNheight, (XtArgVal) 0 },
+ };
+
+-void main(argc, argv)
++int main(argc, argv)
+ int argc;
+ char **argv;
+ {