svn commit: r568493 - head/editors/hexcurse/files
Cy Schubert
cy at FreeBSD.org
Mon Mar 15 19:36:55 UTC 2021
Author: cy
Date: Mon Mar 15 19:36:55 2021
New Revision: 568493
URL: https://svnweb.freebsd.org/changeset/ports/568493
Log:
editors/hexcurse: Fix LLVM11 (-fcommon) build.
Added:
head/editors/hexcurse/files/
head/editors/hexcurse/files/patch-include_hex.h (contents, props changed)
head/editors/hexcurse/files/patch-src_file.c (contents, props changed)
Added: head/editors/hexcurse/files/patch-include_hex.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/hexcurse/files/patch-include_hex.h Mon Mar 15 19:36:55 2021 (r568493)
@@ -0,0 +1,11 @@
+--- include/hex.h.orig 2015-11-17 20:33:09.000000000 -0800
++++ include/hex.h 2021-03-15 11:33:30.825153000 -0700
+@@ -126,7 +126,7 @@
+ #define max(a,b) ((a) >(b) ? (a) : (b))
+ #endif
+
+-FILE *fpIN; /* global file ptr */
++extern FILE *fpIN; /* global file ptr */
+
+ /* function prototypes */
+
Added: head/editors/hexcurse/files/patch-src_file.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/hexcurse/files/patch-src_file.c Mon Mar 15 19:36:55 2021 (r568493)
@@ -0,0 +1,11 @@
+--- src/file.c.orig 2015-11-17 20:33:09.000000000 -0800
++++ src/file.c 2021-03-15 11:34:15.464468000 -0700
+@@ -18,6 +18,8 @@
+ \******************************************************************************/
+ #include "hex.h"
+
++FILE *fpIN; /* global file ptr */
++
+ /*******************************************************\
+ * Description: prints out a line of text to the screen*
+ * the current address line and both the *
More information about the svn-ports-head
mailing list