summaryrefslogtreecommitdiff
path: root/time/titrax/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
committerwiz <wiz@pkgsrc.org>2000-12-17 23:32:09 +0000
commitdf7948804e18401baeb9f3f2ca9b7ded3f4f66c7 (patch)
tree73288b5bb97270ccddd92731e20bbfff8858d306 /time/titrax/patches
parent389033175de2a6d1922929cf5b7598f2da56932a (diff)
downloadpkgsrc-df7948804e18401baeb9f3f2ca9b7ded3f4f66c7.tar.gz
New category: time. Move many packages here:
misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime, misc/remind, sysutils/logtime, and 19 more from x11.
Diffstat (limited to 'time/titrax/patches')
-rw-r--r--time/titrax/patches/patch-aa64
-rw-r--r--time/titrax/patches/patch-ab17
2 files changed, 81 insertions, 0 deletions
diff --git a/time/titrax/patches/patch-aa b/time/titrax/patches/patch-aa
new file mode 100644
index 00000000000..efa4c3e11e1
--- /dev/null
+++ b/time/titrax/patches/patch-aa
@@ -0,0 +1,64 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+--- Imakefile.orig Tue Oct 17 14:44:48 1995
++++ Imakefile Tue Dec 8 12:16:34 1998
+@@ -1,10 +1,10 @@
+ # Installation options
+ #=====================
+ # The place where you install local programs (not X)
+-NONXBINDIR = /local/bin
++NONXBINDIR = @LOCALBASE@/bin
+ #
+ # PERLLIBDIR should be the output from perl -e 'print "@INC[0]\n"'
+-PERLLIBDIR = /usr/lib/perl
++PERLLIBDIR = @X11BASE@/libexec/titrax
+ # PERL - where your Perl executable is located (is in sumtitrax)
+ PERL = $(NONXBINDIR)/perl
+ #
+@@ -12,7 +12,7 @@
+ # XAWLIB = -lXaw3d
+ #
+ # If you want to stop UDP packets to the author, uncomment this
+-# CDEBUGFLAGS = -DDO_NOT_TELL_ABOUT_ME
++CDEBUGFLAGS = -DDO_NOT_TELL_ABOUT_ME
+ #
+ # If you have problems with undefined variables, you may have
+ # hit the linker bug with SunOS 4.1.2 and X11R4; uncomment this line
+@@ -44,13 +44,13 @@
+ # functions that are declared, but not used
+ LINTOPTS = -az
+
+-all:: titrax sumtitra titrat
++all:: titrax sumtitra titrat weekno.perl
+ depend:: Titrax_ad.h
+
+ ComplexProgramTarget(titrax)
+ InstallAppDefaults(Titrax)
+-InstallProgram(sumtitra,$(NONXBINDIR))
+-InstallProgram(titrat,$(NONXBINDIR))
++InstallNamedProg(sumtitra,sumtitra,$(BINDIR))
++InstallNamedProg(titrat,titrat,$(BINDIR))
+ InstallManPage(sumtitra,$(MANDIR))
+ InstallNonExec(weekno.perl,$(PERLLIBDIR))
+
+@@ -61,7 +61,7 @@
+ # Modifying PERL scripts - technique courtesy of Lindsay (of Zircon fame)
+ sumtitra: Makefile
+ mv sumtitra sumtitra.tmp
+- echo '#!$(PERL)' > sumtitra
++ echo '#!$(PERL) -I$(PERLLIBDIR)' > sumtitra
+ tail +2 sumtitra.tmp >> sumtitra
+ rm sumtitra.tmp
+ titrat: Makefile
+@@ -69,6 +69,11 @@
+ echo '#!$(PERL)' > titrat
+ tail +2 titrat.tmp >> titrat
+ rm titrat.tmp
++weekno.perl: Makefile
++ mv weekno.perl weekno.perl.tmp
++ echo '#!$(PERL)' > weekno.perl
++ tail +2 weekno.perl.tmp >> weekno.perl
++ rm weekno.perl.tmp
+
+ #------------------------------------------------------------------
+ # Everything below this line should be only for release and debugging,
diff --git a/time/titrax/patches/patch-ab b/time/titrax/patches/patch-ab
new file mode 100644
index 00000000000..3f060b75f4e
--- /dev/null
+++ b/time/titrax/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+--- titrat.orig Tue Oct 17 14:44:49 1995
++++ titrat Tue Dec 8 13:48:48 1998
+@@ -7,9 +7,9 @@
+ require 'ctime.pl';
+ # If you cannot find errno.ph, just uncomment the following line, if
+ # EEXIST is 17 in your /usr/include/sys/errno.h file.
+-# eval 'sub EEXIST {17;}';
++eval 'sub EEXIST {17;}';
+
+-require 'errno.ph';
++# require 'errno.ph';
+
+ $SIG{'HUP'} = 'signal';
+ $SIG{'INT'} = 'signal';
+