pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/remind added support for IRIX 5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a569b0b48308
branches:  trunk
changeset: 519288:a569b0b48308
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Oct 01 08:26:56 2006 +0000

description:
added support for IRIX 5

diffstat:

 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(-)

diffs (101 lines):

diff -r 912bc5f4a028 -r a569b0b48308 time/remind/Makefile
--- a/time/remind/Makefile      Sun Oct 01 08:10:51 2006 +0000
+++ b/time/remind/Makefile      Sun Oct 01 08:26:56 2006 +0000
@@ -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 @@
        ${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 -r 912bc5f4a028 -r a569b0b48308 time/remind/distinfo
--- a/time/remind/distinfo      Sun Oct 01 08:10:51 2006 +0000
+++ b/time/remind/distinfo      Sun Oct 01 08:26:56 2006 +0000
@@ -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 -r 912bc5f4a028 -r a569b0b48308 time/remind/patches/patch-ab
--- a/time/remind/patches/patch-ab      Sun Oct 01 08:10:51 2006 +0000
+++ b/time/remind/patches/patch-ab      Sun Oct 01 08:26:56 2006 +0000
@@ -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 @@
  
  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 -r 912bc5f4a028 -r a569b0b48308 time/remind/patches/patch-ac
--- a/time/remind/patches/patch-ac      Sun Oct 01 08:10:51 2006 +0000
+++ b/time/remind/patches/patch-ac      Sun Oct 01 08:26:56 2006 +0000
@@ -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 <string.h>
  #include <ctype.h>
-+#include <glob.h>
++#ifdef NBCOMPAT_GLOB_H
++# include <nbcompat/glob.h>
++#else
++# include <glob.h>
++#endif
  #include <sys/stat.h>
  
  #ifdef TM_IN_SYS_TIME
-@@ -365,16 +366,27 @@ int DoInclude(ParsePtr p)
+@@ -365,16 +370,27 @@
  {     
      DynamicBuffer buf;
      int r, e;



Home | Main Index | Thread Index | Old Index