Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 19:36:55 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568493 - head/editors/hexcurse/files
Message-ID:  <202103151936.12FJatZ8012586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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          *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103151936.12FJatZ8012586>