From dc3f7e0ba33cedefbeac7f7bf44af259eae3acdf Mon Sep 17 00:00:00 2001 From: schwarz Date: Sun, 1 Oct 2006 08:26:56 +0000 Subject: added support for IRIX 5 --- time/remind/Makefile | 9 ++++++++- time/remind/distinfo | 6 +++--- time/remind/patches/patch-ab | 19 ++++++++++++++----- time/remind/patches/patch-ac | 16 ++++++++++------ 4 files changed, 35 insertions(+), 15 deletions(-) (limited to 'time') diff --git a/time/remind/Makefile b/time/remind/Makefile index 866fc7f78d8..2599e44f85f 100644 --- a/time/remind/Makefile +++ b/time/remind/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/07/22 09:25:54 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2006/10/01 08:26:56 schwarz Exp $ # DISTNAME= remind-03.00.24 @@ -47,4 +47,11 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/www/rem2html \ ${PREFIX}/bin/rem2html +.include "../../mk/bsd.prefs.mk" +.if !empty(LOWER_OPSYS:Mirix5*) +# needs glob.h +. include "../../pkgtools/libnbcompat/buildlink3.mk" +CPPFLAGS+= -DNBCOMPAT_GLOB_H +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/time/remind/distinfo b/time/remind/distinfo index ac6f6b9fe36..601b146164a 100644 --- a/time/remind/distinfo +++ b/time/remind/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2006/07/22 09:25:54 wiz Exp $ +$NetBSD: distinfo,v 1.6 2006/10/01 08:26:56 schwarz Exp $ SHA1 (remind-03.00.24.tar.gz) = 7fc8823e4e574fd7630b2ff3e2f5d014003fd26b RMD160 (remind-03.00.24.tar.gz) = 2f84a240dd28b68e352c6f8d13ed241a2626f0d6 Size (remind-03.00.24.tar.gz) = 303964 bytes -SHA1 (patch-ab) = e233064a21aac1a9c25f2d1b2a0cd444e7970f1c -SHA1 (patch-ac) = 91e11e2e41e7bdfba97629af0f9b305273c6e587 +SHA1 (patch-ab) = c14e78560d091c417a719a1d699b580a84f934e7 +SHA1 (patch-ac) = fa0f512ee5ca4f2167c7fc9c4f25df025c79d63f SHA1 (patch-ad) = 56feacc6f9af5c59197900fe4591e7d54ff9372c SHA1 (patch-ae) = 4e90c971a519d9ac46992fe5e5ab70300c352262 diff --git a/time/remind/patches/patch-ab b/time/remind/patches/patch-ab index 7c10f8d28eb..f8a29450231 100644 --- a/time/remind/patches/patch-ab +++ b/time/remind/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2006/07/22 09:25:54 wiz Exp $ +$NetBSD: patch-ab,v 1.3 2006/10/01 08:26:56 schwarz Exp $ ---- src/Makefile.in.orig 2005-09-30 03:29:32.000000000 +0000 -+++ src/Makefile.in -@@ -15,11 +15,12 @@ VPATH=$(srcdir) +--- src/Makefile.in.orig 2005-09-30 05:29:32.000000000 +0200 ++++ src/Makefile.in 2006-09-17 20:00:20.000000000 +0200 +@@ -15,11 +15,12 @@ INSTALL=@INSTALL@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ @@ -16,7 +16,16 @@ $NetBSD: patch-ab,v 1.2 2006/07/22 09:25:54 wiz Exp $ MANS= $(srcdir)/../man/kall.1 $(srcdir)/../man/rem.1 \ $(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \ -@@ -50,9 +51,12 @@ remind: $(REMINDOBJS) +@@ -40,7 +41,7 @@ + sh ../tests/test-rem + + .c.o: +- @CC@ -c @CFLAGS@ @DEFS@ $(CEXTRA) $(LANGDEF) -I. -I$(srcdir) $< ++ @CC@ -c @CFLAGS@ @CPPFLAGS@ @DEFS@ $(CEXTRA) $(LANGDEF) -I. -I$(srcdir) $< + + rem2ps: rem2ps.o dynbuf.o + @CC@ @LDFLAGS@ -o rem2ps rem2ps.o dynbuf.o +@@ -50,9 +51,12 @@ install: all -mkdir -p $(DESTDIR)$(bindir) || true diff --git a/time/remind/patches/patch-ac b/time/remind/patches/patch-ac index d5ed4d6b8a5..999e1ebb474 100644 --- a/time/remind/patches/patch-ac +++ b/time/remind/patches/patch-ac @@ -1,16 +1,20 @@ -$NetBSD: patch-ac,v 1.3 2006/07/22 09:25:54 wiz Exp $ +$NetBSD: patch-ac,v 1.4 2006/10/01 08:26:56 schwarz Exp $ ---- src/files.c.orig 2005-09-30 03:29:32.000000000 +0000 -+++ src/files.c -@@ -19,6 +19,7 @@ static char const RCSID[] = "$Id: files. +--- src/files.c.orig 2005-09-30 05:29:32.000000000 +0200 ++++ src/files.c 2006-09-17 19:33:26.000000000 +0200 +@@ -19,6 +19,11 @@ #include #include -+#include ++#ifdef NBCOMPAT_GLOB_H ++# include ++#else ++# include ++#endif #include #ifdef TM_IN_SYS_TIME -@@ -365,16 +366,27 @@ int DoInclude(ParsePtr p) +@@ -365,16 +370,27 @@ { DynamicBuffer buf; int r, e; -- cgit v1.2.3