diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-08-05 03:51:18 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-08-05 03:51:18 +0000 |
commit | b4ba7a4beea8734dc1555f1b031e381ce4cd888f (patch) | |
tree | f8f8de77bd2c5af6a11c36f75dd6c84e49ed5cce /x11/xhangglider/patches | |
parent | b2c74874a5b9e02c6c79077c911f86faa01c6174 (diff) | |
download | pkgsrc-b4ba7a4beea8734dc1555f1b031e381ce4cd888f.tar.gz |
Hanggliders fly in the background of the X screen.
Picked up at www.happypengiun.org (no comment :-)
Diffstat (limited to 'x11/xhangglider/patches')
-rw-r--r-- | x11/xhangglider/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/xhangglider/patches/patch-ab | 18 | ||||
-rw-r--r-- | x11/xhangglider/patches/patch-ac | 13 | ||||
-rw-r--r-- | x11/xhangglider/patches/patch-ad | 13 |
4 files changed, 57 insertions, 0 deletions
diff --git a/x11/xhangglider/patches/patch-aa b/x11/xhangglider/patches/patch-aa new file mode 100644 index 00000000000..65f27b369e3 --- /dev/null +++ b/x11/xhangglider/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/08/05 03:51:18 hubertf Exp $ + +--- xhang.c.orig Thu Aug 5 05:07:48 1999 ++++ xhang.c Thu Aug 5 05:08:25 1999 +@@ -418,7 +418,7 @@ + return 0; + } + +-int cmp_nearfar(void *v1, void *v2) ++int cmp_nearfar(const void *v1, const void *v2) + { + int i1, i2; + diff --git a/x11/xhangglider/patches/patch-ab b/x11/xhangglider/patches/patch-ab new file mode 100644 index 00000000000..54dc0abd3f8 --- /dev/null +++ b/x11/xhangglider/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/08/05 03:51:18 hubertf Exp $ + +--- Imakefile.orig Sun May 9 14:34:17 1999 ++++ Imakefile Thu Aug 5 05:32:09 1999 +@@ -2,10 +2,10 @@ + LOCAL_LIBRARIES = $(XLIB) + DEPLIBS = $(DEPXLIB) + SYS_LIBRARIES = -lm +- CDEBUGFLAGS = -g -O2 -Wall -DDEFAULT_DATA_PATH="\"$(DATDIR)\"" ++ CDEBUGFLAGS = -g -O2 -Wall -DDEFAULT_DATA_PATH="\"$(DATDIR)\"" -DPREFIX=\"${PREFIX}\" + INSTALLFLAGS = $(INSTBINFLAGS) +- DATDIR = /usr/local/share/xhangglider +- BINDIR = /usr/local/bin ++ DATDIR = ${PREFIX}/share/xhangglider ++ BINDIR = ${PREFIX}/bin + + + SRCS = xhang.c 3ddraw.c pilot.c init.c diff --git a/x11/xhangglider/patches/patch-ac b/x11/xhangglider/patches/patch-ac new file mode 100644 index 00000000000..5819052d0f2 --- /dev/null +++ b/x11/xhangglider/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/08/05 03:51:18 hubertf Exp $ + +--- def.h.orig Thu Aug 5 05:27:25 1999 ++++ def.h Thu Aug 5 05:27:37 1999 +@@ -20,7 +20,7 @@ + #define __DEF_H + + #ifndef DEFAULT_DATA_PATH +-#define DEFAULT_DATA_PATH "/usr/share/xhangglider" ++#define DEFAULT_DATA_PATH PREFIX "/share/xhangglider" + #endif + + #define myTRUE 1 diff --git a/x11/xhangglider/patches/patch-ad b/x11/xhangglider/patches/patch-ad new file mode 100644 index 00000000000..94ce9b86229 --- /dev/null +++ b/x11/xhangglider/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/08/05 03:51:18 hubertf Exp $ + +--- init.c.orig Thu Aug 5 05:27:57 1999 ++++ init.c Thu Aug 5 05:28:17 1999 +@@ -60,7 +60,7 @@ + if (i) { + fprintf(stderr, "polygon data path %s not exist.\n", datadir); + fprintf(stderr, "To specify the path, describe it in the deffile like\n"); +- fprintf(stderr, "PolygonDataPath /usr/share/xhangglider\n\n"); ++ fprintf(stderr, "PolygonDataPath " PREFIX "/share/xhangglider\n\n"); + } + + return 0; |