summaryrefslogtreecommitdiff
path: root/editors/hexedit/patches
diff options
context:
space:
mode:
authorwiz <wiz>2001-10-01 00:51:46 +0000
committerwiz <wiz>2001-10-01 00:51:46 +0000
commit7b4a9ec727bf10ca3a6a891e1bd87a7900994edf (patch)
treedd4cbc2cce949cea23a8fd013408ed7a2c567d1f /editors/hexedit/patches
parenta881ddf0c73f4b435e6b7efb35011f8b0ff0cd2a (diff)
downloadpkgsrc-7b4a9ec727bf10ca3a6a891e1bd87a7900994edf.tar.gz
Buildlinkify (strongly), and use ncurses' buildlink.mk, which removes
the need for some of the hacks in the patches.
Diffstat (limited to 'editors/hexedit/patches')
-rw-r--r--editors/hexedit/patches/patch-ab9
-rw-r--r--editors/hexedit/patches/patch-ac21
2 files changed, 4 insertions, 26 deletions
diff --git a/editors/hexedit/patches/patch-ab b/editors/hexedit/patches/patch-ab
index 81d3e79c6e3..e4a2525ce60 100644
--- a/editors/hexedit/patches/patch-ab
+++ b/editors/hexedit/patches/patch-ab
@@ -1,16 +1,13 @@
-$NetBSD: patch-ab,v 1.4 1999/11/12 16:07:02 agc Exp $
+$NetBSD: patch-ab,v 1.5 2001/10/01 00:51:47 wiz Exp $
--- hexedit.h 1999/11/12 15:56:55 1.1
+++ hexedit.h 1999/11/12 15:57:32
-@@ -12,7 +12,11 @@
+@@ -12,7 +12,7 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
-+#ifdef __NetBSD__
+-#include <curses.h>
+#include <ncurses.h>
-+#else
- #include <curses.h>
-+#endif
#include <ctype.h>
#include <signal.h>
#if HAVE_SYS_WAIT_H
diff --git a/editors/hexedit/patches/patch-ac b/editors/hexedit/patches/patch-ac
index d6414192516..98a1b8250fa 100644
--- a/editors/hexedit/patches/patch-ac
+++ b/editors/hexedit/patches/patch-ac
@@ -1,26 +1,7 @@
-$NetBSD: patch-ac,v 1.4 1999/11/12 16:07:02 agc Exp $
+$NetBSD: patch-ac,v 1.5 2001/10/01 00:51:47 wiz Exp $
--- Makefile.in.orig Wed Feb 17 14:22:57 1999
+++ Makefile.in Fri Nov 12 16:04:03 1999
-@@ -7,11 +7,18 @@
-
- CC = @CC@
- CFLAGS = @CFLAGS@
-+CFLAGS += -I${LOCALBASE}/include # for ncurses.h
- LDFLAGS = @LDFLAGS@
- LIBS = @LIBS@
- DEFS = @DEFS@
- INSTALL = @INSTALL@
-
-+OPSYS!= uname -s
-+
-+.if ${OPSYS} == "SunOS"
-+LIBS+= -lcurses
-+.endif
-+
- # Installation directories
- prefix = @prefix@
- exec_prefix = @exec_prefix@
@@ -39,7 +46,5 @@
rm -f Makefile config.cache config.status config.log