summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-04-20 19:41:35 +0000
committerminskim <minskim@pkgsrc.org>2004-04-20 19:41:35 +0000
commit8dc5df44a8f959cd317d560286f01ffbd8f39861 (patch)
treeb16bb587cc8db8a959d3e094424ceb1f5b8c55b6 /time
parentaa7fae6699d32149dfe74c09a126e0dfe1a0ee1a (diff)
downloadpkgsrc-8dc5df44a8f959cd317d560286f01ffbd8f39861.tar.gz
Remove trailing space from the X resource file, so that it can be
parsed correctly. Patch provided by Juha Hyttinen in PR pkg/23792.
Diffstat (limited to 'time')
-rw-r--r--time/catclock/Makefile6
-rw-r--r--time/catclock/distinfo3
-rw-r--r--time/catclock/patches/patch-ac13
3 files changed, 18 insertions, 4 deletions
diff --git a/time/catclock/Makefile b/time/catclock/Makefile
index 81f3baef9d6..f35dd4d849d 100644
--- a/time/catclock/Makefile
+++ b/time/catclock/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2004/04/11 20:40:15 snj Exp $
+# $NetBSD: Makefile,v 1.12 2004/04/20 19:41:35 minskim Exp $
#
DISTNAME= catclock
PKGNAME= catclock-0.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11 time
MASTER_SITES= http://www2.cenaath.cena.dgac.fr/ftp/decwindows/ \
ftp://ftp2.cnam.fr/decwindows/ \
@@ -17,7 +17,7 @@ COMMENT= Variant of the MIT xclock with a "cat" mode
USE_BUILDLINK3= yes
USE_IMAKE= yes
-post-extract:
+post-patch:
${RM} ${WRKSRC}/makefile ${WRKSRC}/pwd.h
${MV} ${WRKSRC}/xclock.man ${WRKSRC}/catclock.man
${SED} 's/^XClock/Catclock/g' <${WRKSRC}/xclock.ad >${WRKSRC}/Catclock.ad
diff --git a/time/catclock/distinfo b/time/catclock/distinfo
index 1b4355c69c4..f03b7382368 100644
--- a/time/catclock/distinfo
+++ b/time/catclock/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2002/01/24 15:07:35 jlam Exp $
+$NetBSD: distinfo,v 1.6 2004/04/20 19:41:35 minskim Exp $
SHA1 (catclock.zip) = 0e977f080968067c4232072aa88d919e3f5daf84
Size (catclock.zip) = 180008 bytes
SHA1 (patch-aa) = a42cdf9512e90501135ff66b598f580ddc449cdf
SHA1 (patch-ab) = 86f72fbfcc352781cdc3ae760d3143c58e40cb6a
+SHA1 (patch-ac) = 3d115c8b0cf110f40f2322c5bc5cce37ad57089c
diff --git a/time/catclock/patches/patch-ac b/time/catclock/patches/patch-ac
new file mode 100644
index 00000000000..453ba624866
--- /dev/null
+++ b/time/catclock/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/04/20 19:41:35 minskim Exp $
+
+--- xclock.ad.orig 1992-12-20 21:24:20.000000000 -0600
++++ xclock.ad
+@@ -2,7 +2,7 @@
+ # XClock
+ #
+ XClock*font : 9x15
+-XClock*foreground : black
++XClock*foreground : black
+ XClock*background : blue
+ XClock*highlight : black
+ XClock*hands : red