From owner-svn-ports-head@freebsd.org Sun Jul 26 20:16:12 2020 Return-Path: Delivered-To: svn-ports-head@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 3A3F336A3D9; Sun, 26 Jul 2020 20:16:12 +0000 (UTC) (envelope-from tobik@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 4BFDj80qwXz42CK; Sun, 26 Jul 2020 20:16:12 +0000 (UTC) (envelope-from tobik@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 EFBB712378; Sun, 26 Jul 2020 20:16:11 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06QKGBL5004960; Sun, 26 Jul 2020 20:16:11 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06QKGBuB004959; Sun, 26 Jul 2020 20:16:11 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202007262016.06QKGBuB004959@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 26 Jul 2020 20:16:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543495 - in head/cad/alliance: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/cad/alliance: . files X-SVN-Commit-Revision: 543495 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 20:16:12 -0000 Author: tobik Date: Sun Jul 26 20:16:11 2020 New Revision: 543495 URL: https://svnweb.freebsd.org/changeset/ports/543495 Log: cad/alliance: Unbreak build with GCC 10 (-fno-common default) /usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x24): multiple definition of `pat_decl_y_errflag'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x20): first defined here /usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x10): multiple definition of `pat_decl_y_val'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x10): first defined here /usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x0): multiple definition of `pat_decl_y_lval'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x0): first defined here /usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x2c): multiple definition of `pat_decl_y_debug'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x24): first defined here http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/alliance-5.1.1_1.log Also USES=compiler:c++0x & USE_GCC=any can be reduced to USE_GCC=yes PR: 246700 Added: head/cad/alliance/files/patch-nero_src_MDRGrid.cpp (contents, props changed) Modified: head/cad/alliance/Makefile Modified: head/cad/alliance/Makefile ============================================================================== --- head/cad/alliance/Makefile Sun Jul 26 19:50:01 2020 (r543494) +++ head/cad/alliance/Makefile Sun Jul 26 20:16:11 2020 (r543495) @@ -22,9 +22,8 @@ BROKEN_aarch64= fails to link: collect2: error: ld re BUILD_DEPENDS= convert:graphics/ImageMagick7 \ fig2dev:print/transfig -USES= autoreconf:build compiler:c++0x gmake libtool motif \ - tar:bz2 xorg -USE_GCC= any +USES= autoreconf:build gmake libtool motif tar:bz2 xorg +USE_GCC= yes USE_TEX= dvipsk:build latex:build USE_XORG= ice sm x11 xext xt @@ -35,6 +34,7 @@ CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \ MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip +CFLAGS+= -fcommon CONFLICTS_INSTALL= fspclient-* Added: head/cad/alliance/files/patch-nero_src_MDRGrid.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/alliance/files/patch-nero_src_MDRGrid.cpp Sun Jul 26 20:16:11 2020 (r543495) @@ -0,0 +1,21 @@ +/usr/local/bin/ld: ./libU.a(MPri.o): in function `CMatrixPri::findfree(int, CNet&)': +src/nero/src/MPri.cpp:78: undefined reference to `TMatrix::operator[](int)' +/usr/local/bin/ld: src/nero/src/MPri.cpp:79: undefined reference to `TMatrix::operator[](int)' +/usr/local/bin/ld: ./libU.a(MPri.o): in function `CMatrixPri::take(int, int)': +src/nero/src/MPri.cpp:284: undefined reference to `TMatrix::operator[](int)' +/usr/local/bin/ld: ./libU.a(MPri.o): in function `operator<<(std::ostream&, CMatrixPri&)': +src/nero/src/MPri.cpp:317: undefined reference to `TMatrix::operator[](int)' +/usr/local/bin/ld: ./libU.a(MPri.o): in function `CMatrixPri::load(CNet&, bool, int)': +src/nero/src/MPri.cpp:175: undefined reference to `TMatrix::operator[](int)' +/usr/local/bin/ld: ./libU.a(MPri.o):src/nero/src/MPri.cpp:186: more undefined references to `TMatrix::operator[](int)' follow + +--- nero/src/MDRGrid.cpp.orig 2014-08-02 23:38:00 UTC ++++ nero/src/MDRGrid.cpp +@@ -17,6 +17,7 @@ + + + # include "MDefs.h" ++template class TMatrix; + + +