summaryrefslogtreecommitdiff
path: root/time/xalarm/patches
diff options
context:
space:
mode:
authormagick <magick@pkgsrc.org>2001-06-05 18:11:38 +0000
committermagick <magick@pkgsrc.org>2001-06-05 18:11:38 +0000
commit79ef7cca9e9996bccd26b4a0a8951294f220c299 (patch)
treebf803d6c6ed8807dc4af166710ccc000dc45d01f /time/xalarm/patches
parent7c781ca97094e3301587ae4a55baa795cbf9e99c (diff)
downloadpkgsrc-79ef7cca9e9996bccd26b4a0a8951294f220c299.tar.gz
Initial import of "xalarm" package.
X11 interactive alarm clock This package was contributed by Stoned Elipot in PR pkg/13081.
Diffstat (limited to 'time/xalarm/patches')
-rw-r--r--time/xalarm/patches/patch-aa50
-rw-r--r--time/xalarm/patches/patch-ab13
2 files changed, 63 insertions, 0 deletions
diff --git a/time/xalarm/patches/patch-aa b/time/xalarm/patches/patch-aa
new file mode 100644
index 00000000000..1b54eb00d77
--- /dev/null
+++ b/time/xalarm/patches/patch-aa
@@ -0,0 +1,50 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/06/05 18:11:38 magick Exp $
+
+--- Imakefile.orig Fri Jun 1 16:44:51 2001
++++ Imakefile
+@@ -29,29 +29,14 @@
+ OBJS = alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o
+ SRCS = alarm.c when.c warnings.c times.c dates.c file.c fns.c xalarm.c
+
+-# How we find commands. Use WHICH, LOCATE or FIND.
+-WHICH= WHICH
+-MADE = test -f
+-
+ LOCAL_LIBRARIES = XawClientLibs
+
+-AllTarget (.config)
+ ComplexProgramTarget (xalarm)
+
+ InstallAppDefaults (XAlarm)
+ InstallAppDefaults (XAlarm-color)
+ InstallMultipleFlags (xmemo xfortune xyow,$(BINDIR),$(INSTBINFLAGS))
+-InstallManPage (xmemo,$(MANDIR))
+-InstallManPage (xfortune,$(MANDIR))
+-InstallManPage (xyow,$(MANDIR))
+-
+-includes:: fns.h
+-
+-fns.h:
+- @./config.1st -quick $(WHICH) fortune yow
+-
+-xmemo.man xyow.man xfortune.man:
+- echo ".so man"`echo ManSuffix`"/xalarm."`echo ManSuffix` > $@
++InstallManPageAliases(xalarm,$(MANDIR),xmemo xfortune xyow)
+
+ xfortune::
+
+@@ -59,14 +44,6 @@
+
+ clean::
+ $(RM) xfortune xyow xmemo.man xyow.man xfortune.man fns.h .config
+-
+-config::
+- @./config.1st -quick $(WHICH) fortune yow
+- @xrdb -merge XAlarm.ad
+- @xrdb -merge XAlarm.ad+
+-
+-.config::
+- @-$(MADE) .config || make config
+
+ alarm.o: xalarm.h patchlevel.h
+ when.o: xalarm.h patchlevel.h dates.h
diff --git a/time/xalarm/patches/patch-ab b/time/xalarm/patches/patch-ab
new file mode 100644
index 00000000000..15417be2ded
--- /dev/null
+++ b/time/xalarm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/06/05 18:11:38 magick Exp $
+
+--- when.c.orig Fri Jun 1 14:01:32 2001
++++ when.c
+@@ -306,7 +306,7 @@
+ {
+ static Boolean edited = True;
+
+- if (not (Boolean) clientdata)
++ if (clientdata == NULL)
+ XtSetSensitive (xalarm.savebutton, edited = False);
+ else if (not edited)
+ XtSetSensitive (xalarm.savebutton, edited = True);