diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile index 8f6363a834e4..9be2314f8554 100644 --- a/editors/hexcurse/Makefile +++ b/editors/hexcurse/Makefile @@ -3,12 +3,16 @@ PORTNAME= hexcurse PORTVERSION= 1.55 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= https://BSDforge.com/projects/source/editors/hexcurse/ MAINTAINER= jadawin@FreeBSD.org COMMENT= Versatile ncurses-based hex editor +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= ncurses GNU_CONFIGURE= yes diff --git a/editors/hexcurse/files/patch-include_hex.h b/editors/hexcurse/files/patch-include_hex.h new file mode 100644 index 000000000000..6f150b71928e --- /dev/null +++ b/editors/hexcurse/files/patch-include_hex.h @@ -0,0 +1,11 @@ +--- include/hex.h.orig 2003-12-23 03:08:25 UTC ++++ include/hex.h +@@ -111,7 +111,7 @@ extern char EBCDIC[256]; + #define max(a,b) ((a) >(b) ? (a) : (b)) + #endif + +-FILE *fpIN, *fpOUT; /* global file ptrs */ ++extern FILE *fpIN, *fpOUT; /* global file ptrs */ + + /* function prototypes */ + diff --git a/editors/hexcurse/files/patch-src_file.c b/editors/hexcurse/files/patch-src_file.c new file mode 100644 index 000000000000..b124799c813a --- /dev/null +++ b/editors/hexcurse/files/patch-src_file.c @@ -0,0 +1,13 @@ +--- src/file.c.orig 2003-12-15 13:43:47 UTC ++++ src/file.c +@@ -18,7 +18,9 @@ + \******************************************************************************/ + #include "hex.h" + +-/*******************************************************\ ++FILE *fpIN, *fpOUT; /* global file ptrs */ ++ ++/******************************************************* \ + * Description: prints out a line of text to the screen* + * the current address line and both the * + * hex and decimal values for the current * diff --git a/editors/hexcurse/files/patch-getopt.c b/editors/hexcurse/files/patch-src_getopt.c similarity index 100% rename from editors/hexcurse/files/patch-getopt.c rename to editors/hexcurse/files/patch-src_getopt.c