svn commit: r547437 - in head/math/gnubc: . files
Stefan Eßer
se at FreeBSD.org
Thu Sep 3 12:05:27 UTC 2020
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) */
More information about the svn-ports-all
mailing list