mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Fix build with -fno-common
While here add license (GPLv2)
This commit is contained in:
parent
168b96ce12
commit
dae78a3e29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549585
@ -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
|
||||
|
11
editors/hexcurse/files/patch-include_hex.h
Normal file
11
editors/hexcurse/files/patch-include_hex.h
Normal file
@ -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 */
|
||||
|
13
editors/hexcurse/files/patch-src_file.c
Normal file
13
editors/hexcurse/files/patch-src_file.c
Normal file
@ -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 *
|
Loading…
Reference in New Issue
Block a user