diff options
author | ryoon <ryoon> | 2011-11-08 10:49:35 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2011-11-08 10:49:35 +0000 |
commit | 536a77e2f1639c95e437d8a4822f5fa0dd2f69a4 (patch) | |
tree | 3ffbe1ca1d7cbc9900789935856e4d13ad29fcb3 /time/abclock/patches | |
parent | 03e8c89a5e741c7d3415e28325fb3120b82b89f7 (diff) | |
download | pkgsrc-536a77e2f1639c95e437d8a4822f5fa0dd2f69a4.tar.gz |
Import abclock-1.0d as time/abclock from wip/abclock by ghen@
Digital clocks are nice for telling exactly what time it is, but, unlike an
analogue clock, they don't give a spatial representation of time. They don't
show where time is coming from or going to.
On the other hand, a bitmap representation of a mechanical clock doesn't tell
time very accurately if the bitmap is very small. And curves and oblique lines
don't look very nice in a small, low-resolution bitmap.
So, this is something different: an analogue clock that isn't tied to the
design of the mechanical clock, but instead uses the natural properties of
bitmaps: straight lines and rectangles.
Diffstat (limited to 'time/abclock/patches')
-rw-r--r-- | time/abclock/patches/patch-aa | 35 | ||||
-rw-r--r-- | time/abclock/patches/patch-ab | 13 |
2 files changed, 48 insertions, 0 deletions
diff --git a/time/abclock/patches/patch-aa b/time/abclock/patches/patch-aa new file mode 100644 index 00000000000..221a8563c0f --- /dev/null +++ b/time/abclock/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1.1.1 2011/11/08 10:49:35 ryoon Exp $ + +--- Makefile.orig 2003-08-27 15:57:57.000000000 +0200 ++++ Makefile +@@ -1,26 +1,17 @@ + + .SUFFIXES: + +-CC = gcc ++CC ?= gcc + +-OPT = -s -Wall +- +-XLIBDIR = -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/X11R5/lib -L/usr/X11R4/lib \ +- -L/usr/lib/X11 -L/usr/lib/X11R6 -L/usr/lib/X11R5 -L/usr/lib/X11R4 +- +-XINCLUDEDIR = -I/usr/X11/include -I/usr/X11R6/include -I/usr/X11R5/include -I/usr/X11R4/include \ +- -I/usr/include/X11 -I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/X11R4 \ +- -I/usr/local/X11/include -I/usr/local/X11R6/include -I/usr/local/X11R5/include -I/usr/local/X11R4/include \ +- -I/usr/local/include/X11 -I/usr/local/include/X11R6 -I/usr/local/include/X11R5 -I/usr/local/include/X11R4 \ +- -I/usr/X386/include -I/usr/x386/include -I/usr/XFree86/include/X11 -I/usr/local/x11r5/include ++OPT = $(CFLAGS) -Wall + + all: abclock abc_img + + abclock: abclock.o abclib.o +- $(CC) $(XLIBDIR) $(OPT) -o abclock abclock.o abclib.o -lX11 ++ $(CC) $(LDFLAGS) $(OPT) -o abclock abclock.o abclib.o -lX11 + + abc_img: abc_img.o abclib.o +- $(CC) $(OPT) -o abc_img abc_img.o abclib.o ++ $(CC) $(LDFLAGS) $(OPT) -o abc_img abc_img.o abclib.o + + abclib.o: abclib.c abclib.h + $(CC) -c $(OPT) -o abclib.o abclib.c diff --git a/time/abclock/patches/patch-ab b/time/abclock/patches/patch-ab new file mode 100644 index 00000000000..85fd36d9fa4 --- /dev/null +++ b/time/abclock/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2011/11/08 10:49:35 ryoon Exp $ + +--- abclock.c.orig 2005-11-18 11:03:51.000000000 +0100 ++++ abclock.c +@@ -29,7 +29,7 @@ + #include <time.h> + #include <sys/time.h> + #include <unistd.h> +-#include <values.h> ++#include <float.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + |