Date: Thu, 3 Sep 2020 12:05:26 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547437 - in head/math/gnubc: . files Message-ID: <202009031205.083C5Q4X066905@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Thu Sep 3 12:05:26 2020 New Revision: 547437 URL: https://svnweb.freebsd.org/changeset/ports/547437 Log: Fix build with -fno-common Added: head/math/gnubc/files/ head/math/gnubc/files/patch-bc_global.h (contents, props changed) Modified: head/math/gnubc/Makefile Modified: head/math/gnubc/Makefile ============================================================================== --- head/math/gnubc/Makefile Thu Sep 3 11:45:36 2020 (r547436) +++ head/math/gnubc/Makefile Thu Sep 3 12:05:26 2020 (r547437) @@ -3,7 +3,7 @@ PORTNAME= bc DISTVERSION= 1.07.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= GNU PKGNAMEPREFIX= gnu Added: head/math/gnubc/files/patch-bc_global.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gnubc/files/patch-bc_global.h Thu Sep 3 12:05:26 2020 (r547437) @@ -0,0 +1,15 @@ +--- bc/global.h.orig 2017-04-07 22:20:02 UTC ++++ bc/global.h +@@ -112,9 +112,9 @@ EXTERN int n_history; + + #if defined(LIBEDIT) + /* LIBEDIT data */ +-EditLine *edit INIT(NULL); +-History *hist; +-HistEvent histev; ++EXTERN EditLine *edit INIT(NULL); ++EXTERN History *hist; ++EXTERN HistEvent histev; + #endif + + /* "Condition code" -- false (0) or true (1) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009031205.083C5Q4X066905>