diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2006-08-06 21:38:28 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2006-08-06 21:38:28 +0000 |
commit | cb32117fa7971ae139137fc79aba40c47f72e2e2 (patch) | |
tree | 75376f4a57a465cb53f582332bd40a1b0cc03c5d /x11-clocks | |
parent | e656fcbec6134dbc4aaed56bfd050f4a2984e96b (diff) | |
download | ports-cb32117fa7971ae139137fc79aba40c47f72e2e2.tar.gz ports-cb32117fa7971ae139137fc79aba40c47f72e2e2.zip |
Notes
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/wmclock/Makefile | 1 | ||||
-rw-r--r-- | x11-clocks/wmclock/files/patch-weekday.xpm | 16 | ||||
-rw-r--r-- | x11-clocks/wmclock/files/patch-wmclock.c | 16 |
3 files changed, 33 insertions, 0 deletions
diff --git a/x11-clocks/wmclock/Makefile b/x11-clocks/wmclock/Makefile index 91118d639c69..9177e341828d 100644 --- a/x11-clocks/wmclock/Makefile +++ b/x11-clocks/wmclock/Makefile @@ -7,6 +7,7 @@ PORTNAME= wmclock PORTVERSION= 1.0.12.2 +PORTREVISION= 1 CATEGORIES= x11-clocks windowmaker MASTER_SITES= http://www.jmknoble.net/WindowMaker/wmclock/ diff --git a/x11-clocks/wmclock/files/patch-weekday.xpm b/x11-clocks/wmclock/files/patch-weekday.xpm new file mode 100644 index 000000000000..67c67f061af9 --- /dev/null +++ b/x11-clocks/wmclock/files/patch-weekday.xpm @@ -0,0 +1,16 @@ +--- lang.english/weekday.xpm.orig Tue Mar 7 22:56:36 2000 ++++ lang.english/weekday.xpm +@@ -27,11 +27,11 @@ + "b..bb..b.bbbbb.bbb.b", + "b.bbbb.b.....b....bb", + "bbbbbbbbbbbbbbbbbbbb", +-"b.....b.bbb.b.....bb", ++"b.....b.bbb.b.bbbb.b", + "bbb.bbb.bbb.b.bbbb.b", +-"bbb.bbb.....b.....bb", +-"bbb.bbb.bbb.b.bbb.bb", ++"bbb.bbb.....b.bbbb.b", + "bbb.bbb.bbb.b.bbbb.b", ++"bbb.bbb.bbb.bb....bb", + "bbbbbbbbbbbbbbbbbbbb", + "b.....b.....bb.....b", diff --git a/x11-clocks/wmclock/files/patch-wmclock.c b/x11-clocks/wmclock/files/patch-wmclock.c new file mode 100644 index 000000000000..1b5746a38570 --- /dev/null +++ b/x11-clocks/wmclock/files/patch-wmclock.c @@ -0,0 +1,16 @@ +--- wmclock.c.orig Tue Mar 7 23:31:33 2000 ++++ wmclock.c +@@ -470,11 +470,11 @@ + XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC, + digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT, + xPos[DIGIT_1_X_POS], yPos[DIGIT_Y_POS]); +- digitXOffset = LED_NUM_WIDTH * (year % 1000); ++ digitXOffset = LED_NUM_WIDTH * ((year / 100) % 10); + XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC, + digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT, + xPos[DIGIT_2_X_POS], yPos[DIGIT_Y_POS]); +- digitXOffset = LED_NUM_WIDTH * (year % 100); ++ digitXOffset = LED_NUM_WIDTH * ((year / 10) % 10); + XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC, + digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT, + xPos[DIGIT_3_X_POS], yPos[DIGIT_Y_POS]); |