summaryrefslogtreecommitdiff
path: root/x11/xneko/patches
diff options
context:
space:
mode:
authortron <tron>1998-02-17 23:47:48 +0000
committertron <tron>1998-02-17 23:47:48 +0000
commit0543e81fafef091b24dad335994679e3b0e46611 (patch)
tree9a32fa84f33d819aa28d9adb11201a264e1ecb04 /x11/xneko/patches
parentf48502b5b5b5a90c519a6a2b645f488a788a28db (diff)
downloadpkgsrc-0543e81fafef091b24dad335994679e3b0e46611.tar.gz
Make this package work with NetBSD.
Diffstat (limited to 'x11/xneko/patches')
-rw-r--r--x11/xneko/patches/patch-aa27
-rw-r--r--x11/xneko/patches/patch-ab12
2 files changed, 18 insertions, 21 deletions
diff --git a/x11/xneko/patches/patch-aa b/x11/xneko/patches/patch-aa
index 483988a15c8..4456c9a48c6 100644
--- a/x11/xneko/patches/patch-aa
+++ b/x11/xneko/patches/patch-aa
@@ -1,37 +1,22 @@
-diff -udr ../xneko.BSD/Makefile ./Makefile
---- ../xneko.BSD/Makefile Tue Jun 1 03:46:11 1993
-+++ ./Makefile Fri Dec 22 19:16:13 1995
-@@ -1,8 +1,17 @@
+--- Makefile.orig Tue Jun 1 03:46:11 1993
++++ Makefile Wed Feb 18 00:38:04 1998
+@@ -1,8 +1,16 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= xneko
-MAN6= xneko.0
-DPADD= ${LIBX} ${LIBM}
-LDADD= -lX11/X11 -lm
-+MAN6= xneko.6
++MAN= xneko.6
+
+DPADD+= ${X11BASE}/lib/libX11.a ${LIBM}
+CFLAGS+= -I${X11BASE}/include
-+LDDESTDIR+= -L${X11BASE}/lib
-+LDADD+= -lX11 -lm
++LDADD+= -L${X11BASE}/lib -lX11 -lm
+
-+MANDIR= ${X11BASE}/man/man
++MANDIR= ${X11BASE}/man
+
+BINOWN= bin
+BINDIR= ${X11BASE}/bin
+BINMODE= 755
.include <bsd.prog.mk>
-diff -udr ../xneko.BSD/xneko.c ./xneko.c
---- ../xneko.BSD/xneko.c Tue Jun 1 03:46:10 1993
-+++ ./xneko.c Fri Dec 22 19:10:44 1995
-@@ -139,6 +139,9 @@
-
- #include <stdio.h>
-
-+#include <stdlib.h>
-+#include <string.h>
-+
- #include <signal.h>
- #include <math.h>
- #include <sys/time.h>
diff --git a/x11/xneko/patches/patch-ab b/x11/xneko/patches/patch-ab
new file mode 100644
index 00000000000..2c2e3b4c01e
--- /dev/null
+++ b/x11/xneko/patches/patch-ab
@@ -0,0 +1,12 @@
+--- xneko.c.orig Tue Jun 1 03:46:10 1993
++++ xneko.c Wed Feb 18 00:34:58 1998
+@@ -139,6 +139,9 @@
+
+ #include <stdio.h>
+
++#include <stdlib.h>
++#include <string.h>
++
+ #include <signal.h>
+ #include <math.h>
+ #include <sys/time.h>