Fix build with -fno-common

This commit is contained in:
Stefan Eßer 2020-09-30 18:25:03 +00:00
parent 78b75a7a1d
commit 85bbade0be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550730
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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.
*/