svn commit: r549585 - in head/editors/hexcurse: . files
Stefan Eßer
se at FreeBSD.org
Tue Sep 22 13:07:00 UTC 2020
Author: se
Date: Tue Sep 22 13:06:59 2020
New Revision: 549585
URL: https://svnweb.freebsd.org/changeset/ports/549585
Log:
Fix build with -fno-common
While here add license (GPLv2)
Added:
head/editors/hexcurse/files/patch-include_hex.h (contents, props changed)
head/editors/hexcurse/files/patch-src_file.c (contents, props changed)
head/editors/hexcurse/files/patch-src_getopt.c
- copied unchanged from r549584, head/editors/hexcurse/files/patch-getopt.c
Deleted:
head/editors/hexcurse/files/patch-getopt.c
Modified:
head/editors/hexcurse/Makefile
Modified: head/editors/hexcurse/Makefile
==============================================================================
--- head/editors/hexcurse/Makefile Tue Sep 22 12:57:50 2020 (r549584)
+++ head/editors/hexcurse/Makefile Tue Sep 22 13:06:59 2020 (r549585)
@@ -3,11 +3,15 @@
PORTNAME= hexcurse
PORTVERSION= 1.55
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= https://BSDforge.com/projects/source/editors/hexcurse/
MAINTAINER= jadawin at FreeBSD.org
COMMENT= Versatile ncurses-based hex editor
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
Added: head/editors/hexcurse/files/patch-include_hex.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/hexcurse/files/patch-include_hex.h Tue Sep 22 13:06:59 2020 (r549585)
@@ -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 */
+
Added: head/editors/hexcurse/files/patch-src_file.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/hexcurse/files/patch-src_file.c Tue Sep 22 13:06:59 2020 (r549585)
@@ -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 *
Copied: head/editors/hexcurse/files/patch-src_getopt.c (from r549584, head/editors/hexcurse/files/patch-getopt.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/hexcurse/files/patch-src_getopt.c Tue Sep 22 13:06:59 2020 (r549585, copy of r549584, head/editors/hexcurse/files/patch-getopt.c)
@@ -0,0 +1,11 @@
+--- src/getopt.c.orig Sun Jun 13 00:06:12 2004
++++ src/getopt.c Sun Jun 13 00:07:48 2004
+@@ -36,8 +36,6 @@
+ * enables hexcurse to be compiled with SGI's proprietary compiler */
+ #ifdef _SGIAPI
+ #include <alloca.h>
+-#else
+-char *alloca ();
+ #endif
+ #define __alloca alloca
+ /* end of modification */
More information about the svn-ports-head
mailing list