aboutsummaryrefslogtreecommitdiff
path: root/editors/hexer
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-30 18:25:03 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-30 18:25:03 +0000
commit85bbade0be9b66f3682acb807089300b8469ab41 (patch)
tree19160362ec11d2154726bc6e24d5c3185bc3e72c /editors/hexer
parent78b75a7a1dc5e3cc19bbf763549f5a3563f56c40 (diff)
downloadports-85bbade0be9b66f3682acb807089300b8469ab41.tar.gz
ports-85bbade0be9b66f3682acb807089300b8469ab41.zip
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=550730
Diffstat (limited to 'editors/hexer')
-rw-r--r--editors/hexer/Makefile1
-rw-r--r--editors/hexer/files/patch-tio.h11
2 files changed, 12 insertions, 0 deletions
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.
+ */
+