summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-03-08 16:40:57 +0000
committertron <tron@pkgsrc.org>1999-03-08 16:40:57 +0000
commitf3d60db592695bce97587779703d60bba539f4f0 (patch)
treee74bd3ab97429456615bb55c134dd3e866d5146c /x11
parent1c131f7a6aabbfc7a789b252268074c3053e7267 (diff)
downloadpkgsrc-f3d60db592695bce97587779703d60bba539f4f0.tar.gz
Fix build problems under 1.3/1.3.x. Patches supplied by Rene Hexel.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-core/patches/patch-ac13
-rw-r--r--x11/gnome-core/patches/patch-ad16
2 files changed, 27 insertions, 2 deletions
diff --git a/x11/gnome-core/patches/patch-ac b/x11/gnome-core/patches/patch-ac
index 8e73a882651..241fc8feb9d 100644
--- a/x11/gnome-core/patches/patch-ac
+++ b/x11/gnome-core/patches/patch-ac
@@ -1,7 +1,16 @@
-$NetBSD: patch-ac,v 1.4 1999/03/07 21:17:50 tron Exp $
+$NetBSD: patch-ac,v 1.5 1999/03/08 16:40:57 tron Exp $
--- applets/modemlights/modemlights.c.orig Mon Feb 8 17:20:52 1999
-+++ applets/modemlights/modemlights.c Sun Mar 7 21:02:05 1999
++++ applets/modemlights/modemlights.c Mon Mar 8 15:23:45 1999
+@@ -32,7 +32,7 @@
+ #include <errno.h>
+ #include <ctype.h>
+
+-#ifdef __OpenBSD__
++#if defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <net/if_ppp.h>
+ #endif
+
@@ -249,13 +249,13 @@
struct ppp_stats stats;
diff --git a/x11/gnome-core/patches/patch-ad b/x11/gnome-core/patches/patch-ad
new file mode 100644
index 00000000000..049d2b21e39
--- /dev/null
+++ b/x11/gnome-core/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 1999/03/08 16:40:58 tron Exp $
+
+--- applets/jbc/jbc-applet.c.orig Wed Feb 24 15:30:35 1999
++++ applets/jbc/jbc-applet.c Mon Mar 8 14:43:44 1999
+@@ -67,7 +67,11 @@
+ do_flicker ()
+ {
+ thetime = time (NULL);
++#if defined(__NetBSD__) && __NetBSD_Version__ < 103010000
++ atime = *localtime (&thetime);
++#else
+ localtime_r (&thetime, &atime);
++#endif
+
+ d[0] = atime.tm_hour / 10;
+ d[1] = atime.tm_hour % 10;