summaryrefslogtreecommitdiff
path: root/time/plan/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-02 22:29:03 +0000
committerjoerg <joerg>2006-01-02 22:29:03 +0000
commit3cf78f99c831d137610cafb89408dc30c53baa2c (patch)
tree2207a7024a9832094a04c7f7930201f69ea5b959 /time/plan/patches
parent310900c38e453e39d836f1b5e971bf30be5d66a8 (diff)
downloadpkgsrc-3cf78f99c831d137610cafb89408dc30c53baa2c.tar.gz
Fix errno. DragonFly support.
Diffstat (limited to 'time/plan/patches')
-rw-r--r--time/plan/patches/patch-aa24
-rw-r--r--time/plan/patches/patch-ae14
-rw-r--r--time/plan/patches/patch-af14
-rw-r--r--time/plan/patches/patch-ag20
-rw-r--r--time/plan/patches/patch-ah12
-rw-r--r--time/plan/patches/patch-ai13
-rw-r--r--time/plan/patches/patch-aj12
7 files changed, 92 insertions, 17 deletions
diff --git a/time/plan/patches/patch-aa b/time/plan/patches/patch-aa
index fa85b495aa8..9e6116fa6cd 100644
--- a/time/plan/patches/patch-aa
+++ b/time/plan/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
+$NetBSD: patch-aa,v 1.5 2006/01/02 22:29:03 joerg Exp $
---- Makefile.orig 2000-07-17 16:07:03.000000000 -0400
-+++ Makefile 2004-06-10 18:02:25.000000000 -0400
+--- Makefile.orig 2000-07-17 20:07:03.000000000 +0000
++++ Makefile
@@ -8,19 +8,19 @@
# after "=", this is parsed and rewritten by the configure script.
#
@@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
# # subdirectory in home dir, or empty
PLANRULE=
# # lockfile for plan, %d is uid
-@@ -34,12 +34,12 @@
+@@ -34,12 +34,12 @@ LEX=lex
# # standard Unix compiler generator
YACC=yacc
# # numerical user ID of <nobody> account
@@ -45,7 +45,7 @@ $NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
# # by default, fork on startup? TRUE or FALSE
DOFORK=TRUE
# # switching to ISO8859-1
-@@ -55,7 +55,7 @@
+@@ -55,7 +55,7 @@ HOLIDAY=german
# # do NOT define -O2 on DEC OSF/1 machines!
DEBUG=-O2
# # what to do without make arguments
@@ -54,7 +54,7 @@ $NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
#------------------------- end of configuration section ----------------------
OPT=$(DEBUG) $(PLANRULE) -DPLANLOCK=\"$(PLANLOCK)\" -DPLANDLOCK=\"$(PLANDLOCK)\"
-@@ -102,7 +102,7 @@
+@@ -102,7 +102,7 @@ DESTDIR=
SGI4_C =
SGI5_C = -DSYSV -DSVR4 -DDESKTOP
@@ -63,7 +63,7 @@ $NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
HP8_C = -Aa -I/usr/include/Motif1.1 -I/usr/include/X11R4 -I/usr/include\
-D_INCLUDE_HPUX_SOURCE -D_INCLUDE_POSIX_SOURCE\
-D_INCLUDE_XOPEN_SOURCE -DNOREGEX -DFIXMBAR -DRABBITS
-@@ -140,8 +140,7 @@
+@@ -140,8 +140,7 @@ NCR_C = -DNCR -DNOMSEP -DRABBITS
USL_C = -DNOKILL0 -I/usr/X/include
BSDI_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi
BSDIG_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi -ansi
@@ -73,7 +73,7 @@ $NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
FBSD_C = -ansi -I/usr/X11R6/include -DBSD -DNOLOCK -DNOREGEX -DRABBITS\
-DSTDLIBMALLOC
LINUX_C = -I/usr/X11R6/include -D_POSIX_SOURCE -DNOLOCK -DLINUX
-@@ -224,8 +223,8 @@
+@@ -224,8 +223,8 @@ BSDI_L1 = -lXm -lXt -lX11
BSDI_L2 = -lc
BSDIG_L1= -L/usr/X11/lib -lXm -lXt -lX11
BSDIG_L2= -L/usr/X11/lib -lc
@@ -84,16 +84,18 @@ $NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $
FBSD_L1 = -L/usr/X11R6/lib -lXm -lXt -lX11 -lXext -lSM -lICE -lXpm
FBSD_L2 = -L/usr/X11R6/lib -lc
LINUX_L1= -L/usr/X11R6/lib -L/usr/lib/X11R6/lib -lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11
-@@ -420,7 +419,7 @@
+@@ -419,8 +418,8 @@ bsdi:
+ bsdig:
env CF="$(BSDIG_C)" L1F="$(BSDIG_L1)" L2F="$(BSDIG_L2)" MYCC=gcc make all
- netbsd:
+-netbsd:
- env CF="$(NBSD_C)" L1F="$(NBSD_L1)" L2F="$(NBSD_L2)" MYCC=gcc $(MAKE) all
++netbsd dragonfly:
+ env CF="$(NBSD_C)" L1F="$(NBSD_L1)" L2F="$(NBSD_L2)" MYCC=${CC} $(MAKE) all
freebsd:
env CF="$(FBSD_C)" L1F="$(FBSD_L1)" L2F="$(FBSD_L2)" MYCC=${CC} make all
-@@ -569,34 +568,18 @@
+@@ -569,34 +568,18 @@ g_dbase.o g_dbfile.o g_formfile.o g_form
#---------------------------------------------------------------
install:
diff --git a/time/plan/patches/patch-ae b/time/plan/patches/patch-ae
index d08f71777be..0973db9a842 100644
--- a/time/plan/patches/patch-ae
+++ b/time/plan/patches/patch-ae
@@ -1,7 +1,7 @@
-$NetBSD: patch-ae,v 1.1 2004/06/10 22:42:43 jschauma Exp $
+$NetBSD: patch-ae,v 1.2 2006/01/02 22:29:03 joerg Exp $
---- g_dbfile.c.orig 2004-06-11 18:17:47.000000000 -0400
-+++ g_dbfile.c 2004-06-11 18:18:13.000000000 -0400
+--- g_dbfile.c.orig 1998-12-24 11:04:41.000000000 +0000
++++ g_dbfile.c
@@ -6,6 +6,7 @@
*/
@@ -10,3 +10,11 @@ $NetBSD: patch-ae,v 1.1 2004/06/10 22:42:43 jschauma Exp $
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
+@@ -34,7 +35,6 @@
+ #define R_SEP '\n' /* row (card) separator */
+ #define ESC '\\' /* treat next char literally */
+
+-extern int errno;
+ extern char *progname; /* argv[0] */
+ extern Widget toplevel; /* top-level shell for icon name */
+
diff --git a/time/plan/patches/patch-af b/time/plan/patches/patch-af
index 4ef4e001b7f..54059165d1c 100644
--- a/time/plan/patches/patch-af
+++ b/time/plan/patches/patch-af
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.1 2004/06/10 22:42:43 jschauma Exp $
+$NetBSD: patch-af,v 1.2 2006/01/02 22:29:03 joerg Exp $
---- netplan.c.orig 2004-06-11 18:18:30.000000000 -0400
-+++ netplan.c 2004-06-11 18:18:43.000000000 -0400
+--- netplan.c.orig 2000-03-21 20:57:40.000000000 +0000
++++ netplan.c
@@ -4,6 +4,7 @@
typedef void *Widget; /* dummy for prototype declarations in config.h */
@@ -10,3 +10,11 @@ $NetBSD: patch-af,v 1.1 2004/06/10 22:42:43 jschauma Exp $
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+@@ -51,7 +52,6 @@ static struct pfile *file_list; /* array
+ struct client *client_list; /* array of clients (entry 0 unused) */
+ static fd_set rd0, wr0, ex0; /* preset fd masks for main select */
+ static time_t update_time; /* date of last unwritten change */
+-extern int errno;
+ static BOOL do_auth = FALSE;/* authentication required (identd) */
+ static int netplan_port[2];/* ports we are listening on */
+ static int fd_inet[2]; /* file descriptor for base socket */
diff --git a/time/plan/patches/patch-ag b/time/plan/patches/patch-ag
new file mode 100644
index 00000000000..3e1723ed204
--- /dev/null
+++ b/time/plan/patches/patch-ag
@@ -0,0 +1,20 @@
+$NetBSD: patch-ag,v 1.1 2006/01/02 22:29:03 joerg Exp $
+
+--- file_w.c.orig 2006-01-02 22:20:56.000000000 +0000
++++ file_w.c
+@@ -12,6 +12,7 @@
+ #ifdef MIPS
+ #include <sys/types.h>
+ #include <sys/fcntl.h>
++#include <errno.h>
+ #else
+ #include <unistd.h>
+ #include <fcntl.h>
+@@ -23,7 +24,6 @@
+
+ static BOOL writefile(struct plist *, char *, int, int);
+
+-extern int errno;
+ extern char *progname; /* argv[0] */
+ extern struct config config; /* global configuration data */
+ extern struct plist *mainlist; /* all schedule entries */
diff --git a/time/plan/patches/patch-ah b/time/plan/patches/patch-ah
new file mode 100644
index 00000000000..4d447f051f8
--- /dev/null
+++ b/time/plan/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1 2006/01/02 22:29:03 joerg Exp $
+
+--- g_formfile.c.orig 2006-01-02 22:23:01.000000000 +0000
++++ g_formfile.c
+@@ -35,7 +35,6 @@ char *itemname[NITEMS] = {
+ "None", "Label", "Print", "Input", "Time", "Note", "Choice", "Flag",
+ "Button", "Summary", "Chart" };
+
+-extern int errno;
+ extern char *progname; /* argv[0] */
+ extern Widget toplevel; /* top-level shell for error popups */
+
diff --git a/time/plan/patches/patch-ai b/time/plan/patches/patch-ai
new file mode 100644
index 00000000000..ed1f0dae456
--- /dev/null
+++ b/time/plan/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2006/01/02 22:29:03 joerg Exp $
+
+--- holiday.c.orig 2006-01-02 22:24:02.000000000 +0000
++++ holiday.c
+@@ -51,7 +51,7 @@ static int calc_pascha(int);
+ extern int yyparse(void);
+
+
+-#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(__FreeBSD__)||defined(HPGCC)||defined(__EMX__)
++#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(__FreeBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__DragonFly__)
+ int yylineno;
+ #else
+ extern int yylineno; /* current line # being parsed */
diff --git a/time/plan/patches/patch-aj b/time/plan/patches/patch-aj
new file mode 100644
index 00000000000..eba574ff7bc
--- /dev/null
+++ b/time/plan/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.1 2006/01/02 22:29:03 joerg Exp $
+
+--- daemon.c.orig 2006-01-02 22:25:46.000000000 +0000
++++ daemon.c
+@@ -110,7 +110,6 @@ extern time_t cutoff; /* all triggers
+ static BOOL reread; /* caught SIGHUP, re-read mainlist */
+ static BOOL debug; /* print debugging information */
+ static BOOL opt_t; /* TRUE if -t (tty) */
+-extern int errno; /* system error */
+
+ int curr_year; /* dummy for DST calculating routines*/
+ Widget mainwindow; /* dummy for error popup in network.c*/