From nobody Fri Oct 29 18:07:16 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6EF22183F5D9; Fri, 29 Oct 2021 18:07:16 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgr442Qqkz4sm4; Fri, 29 Oct 2021 18:07:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2CB1D1B77B; Fri, 29 Oct 2021 18:07:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19TI7GBF037038; Fri, 29 Oct 2021 18:07:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19TI7GkZ037037; Fri, 29 Oct 2021 18:07:16 GMT (envelope-from git) Date: Fri, 29 Oct 2021 18:07:16 GMT Message-Id: <202110291807.19TI7GkZ037037@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 3c4b28b0561f - main - science/svmlight: fix build on 13.0+ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c4b28b0561f63e7cbf9033d3910186e88f420e2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c4b28b0561f63e7cbf9033d3910186e88f420e2 commit 3c4b28b0561f63e7cbf9033d3910186e88f420e2 Author: Piotr Kubaj AuthorDate: 2021-10-29 18:01:10 +0000 Commit: Piotr Kubaj CommitDate: 2021-10-29 18:01:10 +0000 science/svmlight: fix build on 13.0+ cc -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing svm_learn_main.o svm_learn.o svm_common.o svm_hideo.o -o svm_learn -L. -lm ld: error: duplicate symbol: verbosity >>> defined at svm_common.c >>> svm_common.o:(verbosity) >>> defined at svm_hideo.c >>> svm_hideo.o:(.bss+0x38) cc: error: linker command failed with exit code 1 (use -v to see invocation) --- science/svmlight/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile index 61d674ce3b35..80dea0bfebf3 100644 --- a/science/svmlight/Makefile +++ b/science/svmlight/Makefile @@ -19,7 +19,7 @@ LICENSE_PERMS= # none MAINTAINER= ports@FreeBSD.org COMMENT= Implementation of Support Vector Machines (SVMs) in C -CFLAGS+= -fPIC +CFLAGS+= -fPIC -fcommon MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}" NO_WRKSUBDIR= yes USES= gmake