summaryrefslogtreecommitdiff
path: root/editors/hexedit/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-11-12 16:07:01 +0000
committeragc <agc@pkgsrc.org>1999-11-12 16:07:01 +0000
commit7e945011db53837acd63b333ba99863913d54707 (patch)
tree6bcd2561cf53dc2c79511b0ef2a563e74fd2e12f /editors/hexedit/patches
parent392040f96810008be0de10e69063f9d1aad25857 (diff)
downloadpkgsrc-7e945011db53837acd63b333ba99863913d54707.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'editors/hexedit/patches')
-rw-r--r--editors/hexedit/patches/patch-ab13
-rw-r--r--editors/hexedit/patches/patch-ac25
2 files changed, 27 insertions, 11 deletions
diff --git a/editors/hexedit/patches/patch-ab b/editors/hexedit/patches/patch-ab
index d3ad4f63917..81d3e79c6e3 100644
--- a/editors/hexedit/patches/patch-ab
+++ b/editors/hexedit/patches/patch-ab
@@ -1,13 +1,16 @@
-$NetBSD: patch-ab,v 1.3 1998/09/28 10:35:56 frueauf Exp $
+$NetBSD: patch-ab,v 1.4 1999/11/12 16:07:02 agc Exp $
---- hexedit.h.orig Mon Aug 31 20:50:50 1998
-+++ hexedit.h Tue Sep 15 13:45:05 1998
-@@ -12,7 +12,7 @@
+--- hexedit.h 1999/11/12 15:56:55 1.1
++++ hexedit.h 1999/11/12 15:57:32
+@@ -12,7 +12,11 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
--#include <curses.h>
++#ifdef __NetBSD__
+#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 b2c2dbb9429..d6414192516 100644
--- a/editors/hexedit/patches/patch-ac
+++ b/editors/hexedit/patches/patch-ac
@@ -1,6 +1,8 @@
---- Makefile.in.orig Thu Sep 24 18:41:31 1998
-+++ Makefile.in Thu Oct 14 15:38:52 1999
-@@ -7,6 +7,7 @@
+$NetBSD: patch-ac,v 1.4 1999/11/12 16:07:02 agc 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@
@@ -8,13 +10,24 @@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
DEFS = @DEFS@
-@@ -39,7 +40,5 @@
+ 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
install: $(PRODUCT)
- $(INSTALL) -d -m 755 $(bindir)
-- $(INSTALL) -s -m 755 -o root $(PRODUCT) $(bindir)
+- $(INSTALL) -s -m 755 $(PRODUCT) $(bindir)
- $(INSTALL) -d -m 755 $(mandir)
-- $(INSTALL) -m 644 -o root $(PRODUCT).1 $(mandir)
+- $(INSTALL) -m 644 $(PRODUCT).1 $(mandir)
+ $(BSD_INSTALL_PROGRAM) $(PRODUCT) $(bindir)
+ $(BSD_INSTALL_DATA) $(PRODUCT).1 $(mandir)