summaryrefslogtreecommitdiff
path: root/time/remind/patches
diff options
context:
space:
mode:
Diffstat (limited to 'time/remind/patches')
-rw-r--r--time/remind/patches/patch-ab34
-rw-r--r--time/remind/patches/patch-ac43
-rw-r--r--time/remind/patches/patch-ad11
-rw-r--r--time/remind/patches/patch-ae40
4 files changed, 128 insertions, 0 deletions
diff --git a/time/remind/patches/patch-ab b/time/remind/patches/patch-ab
new file mode 100644
index 00000000000..3a34488c175
--- /dev/null
+++ b/time/remind/patches/patch-ab
@@ -0,0 +1,34 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- src/Makefile.in.orig Wed Mar 15 11:03:39 2000
++++ src/Makefile.in Fri Mar 17 15:13:31 2000
+@@ -15,11 +15,12 @@
+
+ INSTALL=@INSTALL@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
++INSTALL_SCRIPT=@INSTALL@ -m 0555
+ INSTALL_DATA=@INSTALL_DATA@
+
+ PROGS= remind rem2ps
+ SCRIPTS= $(srcdir)/../scripts/kall $(srcdir)/../scripts/rem \
+- $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem.tcl
++ $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem
+
+ MANS= $(srcdir)/../man/kall.1 $(srcdir)/../man/rem.1 \
+ $(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \
+@@ -49,11 +50,12 @@
+ @CC@ @LDFLAGS@ -o remind $(REMINDOBJS) @LIBS@
+
+ install: all
+- for prog in $(PROGS) $(SCRIPTS) ; do \
++ for prog in $(PROGS) ; do \
+ $(INSTALL_PROGRAM) $$prog $(bindir) ; \
+ done
+- -strip $(bindir)/remind
+- -strip $(bindir)/rem2ps
++ for prog in $(SCRIPTS) ; do \
++ $(INSTALL_SCRIPT) $$prog $(bindir) ; \
++ done
+ for man in $(MANS) ; do \
+ $(INSTALL_DATA) $$man $(mandir)/man1 ; \
+ done
diff --git a/time/remind/patches/patch-ac b/time/remind/patches/patch-ac
new file mode 100644
index 00000000000..e8885d990e7
--- /dev/null
+++ b/time/remind/patches/patch-ac
@@ -0,0 +1,43 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- src/files.c.orig Mon Apr 5 13:34:48 1999
++++ src/files.c Wed Mar 1 19:48:52 2000
+@@ -19,6 +19,7 @@
+
+ #include <string.h>
+ #include <ctype.h>
++#include <glob.h>
+ #include <sys/stat.h>
+
+ #ifdef TM_IN_SYS_TIME
+@@ -421,16 +422,26 @@
+ {
+ DynamicBuffer buf;
+ int r, e;
++ glob_t g;
+
+ DBufInit(&buf);
++ memset(&g, 0, sizeof(g));
++
+ if ( (r=ParseToken(p, &buf)) ) return r;
+ e = VerifyEoln(p);
+ if (e) Eprint("%s", ErrMsg[e]);
+- if ( (r=IncludeFile(DBufValue(&buf))) ) {
+- DBufFree(&buf);
+- return r;
+- }
++
++ glob(DBufValue(&buf), GLOB_NOCHECK|GLOB_BRACE|GLOB_TILDE, NULL, &g);
+ DBufFree(&buf);
++
++ do {
++ if ( (r=IncludeFile(*g.gl_pathv)) ) {
++ globfree(&g);
++ return r;
++ }
++ } while (*++g.gl_pathv != NULL);
++
++ globfree(&g);
+ NumIfs = 0;
+ IfFlags = 0;
+ return OK;
diff --git a/time/remind/patches/patch-ad b/time/remind/patches/patch-ad
new file mode 100644
index 00000000000..77f7301901d
--- /dev/null
+++ b/time/remind/patches/patch-ad
@@ -0,0 +1,11 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+--- scripts/cm2rem.tcl.orig Thu Feb 17 22:45:38 2000
++++ scripts/cm2rem.tcl Sun Apr 30 23:32:07 2000
+@@ -17,5 +17,5 @@
+
+ # the next line restarts using tclsh \
+-exec tclsh "$0" "$@"
++exec @TCLSH@ "$0" "$@"
+
+ set i 0
diff --git a/time/remind/patches/patch-ae b/time/remind/patches/patch-ae
new file mode 100644
index 00000000000..722dc193154
--- /dev/null
+++ b/time/remind/patches/patch-ae
@@ -0,0 +1,40 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+
+--- man/cm2rem.1.orig Wed Mar 15 10:51:36 2000
++++ man/cm2rem.1 Fri Mar 17 15:18:27 2000
+@@ -2,27 +2,27 @@
+ .TH CM2REM 1 "18 October 1999"
+ .UC4
+ .SH NAME
+-cm2rem.tcl \- Convert Sun's "cm" input file to Remind format
++cm2rem \- Convert Sun's "cm" input file to Remind format
+ .SH SYNOPSIS
+-.B cm2rem.tcl < cm_file > remind_file
++.B cm2rem < cm_file > remind_file
+ .SH DESCRIPTION
+-\fBcm2rem.tcl\fR reads the Sun calendar manager data file and converts
+-it into a \fBRemind\fR script. Note that \fBcm2rem.tcl\fR can convert
++\fBcm2rem\fR reads the Sun calendar manager data file and converts
++it into a \fBRemind\fR script. Note that \fBcm2rem\fR can convert
+ \fIonly\fR version 3 calendar manager files. If you are using version 4
+ files, there should be a system utility to convert them to version 3 files.
+ .SH AUTHOR
+-\fBcm2rem.tcl\fR is supported by Roaring Penguin Software
++\fBcm2rem\fR is supported by Roaring Penguin Software
+ Inc. (http://www.roaringpenguin.com)
+ .PP
+-\fBcm2rem.tcl\fR was written by David F. Skoll <dfs@roaringpenguin.com>.
++\fBcm2rem\fR was written by David F. Skoll <dfs@roaringpenguin.com>.
+ .SH BUGS
+ Not all of the Sun calendar manager options are respected. In particular,
+ nothing is done for e-mail actions. Also, the resulting Remind script
+ is not editable with \fBTkRemind\fR; you can only edit it with a text
+ editor.
+ .PP
+-\fBcm2rem.tcl\fR requires Tcl/Tk version 8.0 or higher. The
+-\fBtclsh\fR interpreter must be on your \fBpath\fR.
++\fBcm2rem\fR requires Tcl/Tk version 8.0 or higher. The
++\fB@TCLSH@\fR interpreter must be on your \fBpath\fR.
+
+ .SH SEE ALSO
+ \fBremind(1)\fR, \fBtkremind(1)\fR