diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-06-10 22:42:42 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-06-10 22:42:42 +0000 |
commit | f1468f69f5b1172801c549c5e8e96fb36ca769a7 (patch) | |
tree | 3f03c04a6e490e135f6d1142596d23712817557c /time/plan/patches | |
parent | 9c1d103865e2b1aaeddf233381f8eca7302b52d0 (diff) | |
download | pkgsrc-f1468f69f5b1172801c549c5e8e96fb36ca769a7.tar.gz |
Make this compile on Linux and IRIX and increase odds of working on
other non-NetBSD platforms as well (though they may need ALL_TARGET
tweaking):
- apparently some versions of Linux/gcc combinations require
the header file errno.h included in each file in order for
it to link (otherwise, it will compile (!?) but bail out
when linking)
- set ALL_TARGET to LOWER_OPSYS
this works for netbsd and linux, and should work for the other bsds
at least.
- set ALL_TARGET differently for IRIX
- use CFLAGS instead of hard-coded ABI flags for IRIX 6
- some install-sh/install can not handle multiple files/directories at
once. Newer bootstrapped versions can, but for systems that still
have the older one we may as well split this for better compatibility.
Diffstat (limited to 'time/plan/patches')
-rw-r--r-- | time/plan/patches/patch-aa | 15 | ||||
-rw-r--r-- | time/plan/patches/patch-ae | 12 | ||||
-rw-r--r-- | time/plan/patches/patch-af | 12 |
3 files changed, 36 insertions, 3 deletions
diff --git a/time/plan/patches/patch-aa b/time/plan/patches/patch-aa index 48b1fdfaf24..fa85b495aa8 100644 --- a/time/plan/patches/patch-aa +++ b/time/plan/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 2001/07/24 09:27:58 jlam Exp $ +$NetBSD: patch-aa,v 1.4 2004/06/10 22:42:42 jschauma Exp $ ---- Makefile.orig Mon Jul 17 13:07:03 2000 -+++ Makefile +--- Makefile.orig 2000-07-17 16:07:03.000000000 -0400 ++++ Makefile 2004-06-10 18:02:25.000000000 -0400 @@ -8,19 +8,19 @@ # after "=", this is parsed and rewritten by the configure script. # @@ -54,6 +54,15 @@ $NetBSD: patch-aa,v 1.3 2001/07/24 09:27:58 jlam Exp $ #------------------------- end of configuration section ---------------------- OPT=$(DEBUG) $(PLANRULE) -DPLANLOCK=\"$(PLANLOCK)\" -DPLANDLOCK=\"$(PLANDLOCK)\" +@@ -102,7 +102,7 @@ + + SGI4_C = + SGI5_C = -DSYSV -DSVR4 -DDESKTOP +-SGI6_C = -n32 -mips3 -woff 1110,1167,1185 -DSYSV -DSVR4 -DDESKTOP -D_BSD_SIGNALS ++SGI6_C = ${CFLAGS} -woff 1110,1167,1185 -DSYSV -DSVR4 -DDESKTOP -D_BSD_SIGNALS + 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 @@ USL_C = -DNOKILL0 -I/usr/X/include BSDI_C = -DBSD -DRABBITS -I/usr/X11/include -DFLOCK -DNOREGEX -Dbsdi diff --git a/time/plan/patches/patch-ae b/time/plan/patches/patch-ae new file mode 100644 index 00000000000..d08f71777be --- /dev/null +++ b/time/plan/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 2004/06/10 22:42:43 jschauma Exp $ + +--- g_dbfile.c.orig 2004-06-11 18:17:47.000000000 -0400 ++++ g_dbfile.c 2004-06-11 18:18:13.000000000 -0400 +@@ -6,6 +6,7 @@ + */ + + #include <X11/Xos.h> ++#include <errno.h> + #include <stdio.h> + #include <stdlib.h> + #include <time.h> diff --git a/time/plan/patches/patch-af b/time/plan/patches/patch-af new file mode 100644 index 00000000000..4ef4e001b7f --- /dev/null +++ b/time/plan/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1 2004/06/10 22:42:43 jschauma Exp $ + +--- netplan.c.orig 2004-06-11 18:18:30.000000000 -0400 ++++ netplan.c 2004-06-11 18:18:43.000000000 -0400 +@@ -4,6 +4,7 @@ + + typedef void *Widget; /* dummy for prototype declarations in config.h */ + ++#include <errno.h> + #include <stdio.h> + #include <string.h> + #include <stdlib.h> |