From owner-svn-ports-all@freebsd.org Thu Sep 3 12:05:27 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1069C3E4527; Thu, 3 Sep 2020 12:05:27 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bhzyt6ffrz4L7h; Thu, 3 Sep 2020 12:05:26 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C329E1B709; Thu, 3 Sep 2020 12:05:26 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 083C5QdR066906; Thu, 3 Sep 2020 12:05:26 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 083C5Q4X066905; Thu, 3 Sep 2020 12:05:26 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009031205.083C5Q4X066905@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Thu, 3 Sep 2020 12:05:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547437 - in head/math/gnubc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/math/gnubc: . files X-SVN-Commit-Revision: 547437 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 12:05:27 -0000 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) */