From 85bbade0be9b66f3682acb807089300b8469ab41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Wed, 30 Sep 2020 18:25:03 +0000 Subject: [PATCH] Fix build with -fno-common --- editors/hexer/Makefile | 1 + editors/hexer/files/patch-tio.h | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 editors/hexer/files/patch-tio.h diff --git a/editors/hexer/Makefile b/editors/hexer/Makefile index 9c378b5073f8..b3e9ec957b3a 100644 --- a/editors/hexer/Makefile +++ b/editors/hexer/Makefile @@ -2,6 +2,7 @@ PORTNAME= hexer PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://devel.ringlet.net/files/editors/hexer/ \ LOCAL/ehaupt diff --git a/editors/hexer/files/patch-tio.h b/editors/hexer/files/patch-tio.h new file mode 100644 index 000000000000..3a568f6a2aaa --- /dev/null +++ b/editors/hexer/files/patch-tio.h @@ -0,0 +1,11 @@ +--- tio.h.orig 2016-10-16 14:22:45 UTC ++++ tio.h +@@ -111,7 +111,7 @@ extern struct t_keynames_s { + char *name; + } t_keynames[]; + +-void (*error_msg)( const char *, ... ) __printflike(1, 2); ++extern void (*error_msg)( const char *, ... ) __printflike(1, 2); + /* Pointer to the error message function. + */ +