diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-03-15 19:36:55 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-03-15 19:36:55 +0000 |
commit | 0e0e2a5b571c919bf8f56be38c551bf02d291226 (patch) | |
tree | 966772c7beb338a69d44ebfb25dba43eff6388ea /editors | |
parent | ec9bba61140425c7a37596ea353c8510d017d945 (diff) | |
download | ports-0e0e2a5b571c919bf8f56be38c551bf02d291226.tar.gz ports-0e0e2a5b571c919bf8f56be38c551bf02d291226.zip |
editors/hexcurse: Fix LLVM11 (-fcommon) build.
Notes
Notes:
svn path=/head/; revision=568493
Diffstat (limited to 'editors')
-rw-r--r-- | editors/hexcurse/files/patch-include_hex.h | 11 | ||||
-rw-r--r-- | editors/hexcurse/files/patch-src_file.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/editors/hexcurse/files/patch-include_hex.h b/editors/hexcurse/files/patch-include_hex.h new file mode 100644 index 000000000000..cc8717d0680b --- /dev/null +++ b/editors/hexcurse/files/patch-include_hex.h @@ -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 */ + diff --git a/editors/hexcurse/files/patch-src_file.c b/editors/hexcurse/files/patch-src_file.c new file mode 100644 index 000000000000..691e9500ff98 --- /dev/null +++ b/editors/hexcurse/files/patch-src_file.c @@ -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 * |