Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/hexcurse/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile	17 Nov 2019 21:03:29 -0000	1.16
+++ Makefile	14 Feb 2021 17:26:20 -0000
@@ -1,6 +1,7 @@
 # $OpenBSD: Makefile,v 1.16 2019/11/17 21:03:29 fcambus Exp $
 
 COMMENT=	user-friendly ncurses-based hexeditor with many features
+REVISION=	0
 
 GH_ACCOUNT=	lonnygomes
 GH_PROJECT=	hexcurse
Index: patches/patch-include_hex_h
===================================================================
RCS file: patches/patch-include_hex_h
diff -N patches/patch-include_hex_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-include_hex_h	14 Feb 2021 17:26:20 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+-fno-common fixes from Debian
+https://sources.debian.org/data/main/h/hexcurse/1.58-1.3/debian/patches/gcc-10.patch
+
+Index: include/hex.h
+--- include/hex.h.orig
++++ include/hex.h
+@@ -126,7 +126,7 @@ extern bool color_enabled;
+ #define max(a,b) ((a) >(b) ? (a) : (b))
+ #endif
+ 
+-FILE *fpIN;		        		/* global file ptr           */
++extern FILE *fpIN;		        		/* global file ptr           */
+ 
+ /* function prototypes */
+ 
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: patches/patch-src_Makefile_in
diff -N patches/patch-src_Makefile_in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_Makefile_in	14 Feb 2021 17:26:20 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Remove -Werror
+
+Index: src/Makefile.in
+--- src/Makefile.in.orig
++++ src/Makefile.in
+@@ -258,7 +258,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror -Wextra
++AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Wextra
+ hexcurse_SOURCES = file.c llist.c screen.c hexcurse.c stack.c getopt.c acceptch.c color.c
+ all: all-am
+ 
Index: patches/patch-src_file_c
===================================================================
RCS file: patches/patch-src_file_c
diff -N patches/patch-src_file_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_file_c	14 Feb 2021 17:26:20 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+-fno-common fixes from Debian
+https://sources.debian.org/data/main/h/hexcurse/1.58-1.3/debian/patches/gcc-10.patch
+
+Index: src/file.c
+--- src/file.c.orig
++++ src/file.c
+@@ -18,6 +18,8 @@
+ \******************************************************************************/
+ #include "hex.h"
+ 
++FILE *fpIN, *fpOUT;
++
+ /*******************************************************\
+  * Description: prints out a line of text to the screen*
+  *		the current address line and both the          *
