From nobody Tue Jan 4 07:58:21 2022 X-Original-To: dev-commits-ports-all@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 0A1E2192CC73; Tue, 4 Jan 2022 07:58:22 +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 4JSlNY4zvYz3GWH; Tue, 4 Jan 2022 07:58:21 +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 8BB8215329; Tue, 4 Jan 2022 07:58:21 +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 2047wLvm009691; Tue, 4 Jan 2022 07:58:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2047wLec009690; Tue, 4 Jan 2022 07:58:21 GMT (envelope-from git) Date: Tue, 4 Jan 2022 07:58:21 GMT Message-Id: <202201040758.2047wLec009690@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 3c887a65b8a5 - main - math/igraph: Fix build on FreeBSD-13.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c887a65b8a5ba4f7d825fe0a19ac73de90c86b2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641283101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BNGwtvbnhAyPlIjYmujwqWWAaDsMghh14sS38kTGtlg=; b=u/lbXYWLxUo1bEC9CQLimz6v7y/tiZIUWGToiJpJ/FeuTgByt1jLmC4Al/l8IrEzht/xrj 0OY/oq0WtUyjBjC5/Gktv465wnY5jbFKIwds9cft0l8azZL5sXiAxJGdsKdAvmXukNeD3O xhRTjQ1cwhEkGYbwE7kMT1j5lhYCQbO8ABSjLp1jxIoTzXd2wNzmsjELBzRgj9flBcPSY+ uA2gsKVDHZ5MpOKDH+SInVz6Xvjjf2IodLq8ZI++ZJip+SCORf2c9x15Rk/z10++D/eB+0 PuiHds6GdSbtn20oUD4/pyO+xCuN4zdhblFPgL7dOWGvycR18UFT9AMsJ6xSBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641283101; a=rsa-sha256; cv=none; b=cnGKYOqnPJB2ogwqPv+hNRTeqqhKSuxCceAt3Gf4vHutU7SeFhecvhPyg2bDIiboWbeVtE q2pImRtOTUjSrGAFBOfbvXAyu+HiWYtQld7GL+76CBgmcCyHvkPT6kiy5kceXbN+ECZAEd SapNUm308SurmWme6e4ee+vP2C92jzS42nAsJDOwqLYtkNBtWSAKXmv+WQ4kdNE7fNLoNs bqCEyGCx4kjvNze23sg3wbCbNdH4VeQOI6a3xdJCxPGtnxKUjm8gYO0gTdykG+4jUSYmxL obyyR9V1AfAhRwZBA+R2I+Zde1r9HlNKsUw485QlpUcI/RFN8fGQQ93EiXe2zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c887a65b8a5ba4f7d825fe0a19ac73de90c86b2 commit 3c887a65b8a5ba4f7d825fe0a19ac73de90c86b2 Author: Wen Heping AuthorDate: 2022-01-04 07:57:49 +0000 Commit: Wen Heping CommitDate: 2022-01-04 07:57:49 +0000 math/igraph: Fix build on FreeBSD-13.0 --- math/igraph/Makefile | 7 ++++++- math/igraph/files/extra-patch-etc_cmake_compilers.cmake | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/math/igraph/Makefile b/math/igraph/Makefile index 49082e255801..991293edf933 100644 --- a/math/igraph/Makefile +++ b/math/igraph/Makefile @@ -27,4 +27,9 @@ BINARY_ALIAS= git=false pre-configure: @${ECHO} ${PORTVERSION} > ${WRKSRC}/IGRAPH_VERSION -.include +.include +.if ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300523 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-etc_cmake_compilers.cmake +.endif + +.include diff --git a/math/igraph/files/extra-patch-etc_cmake_compilers.cmake b/math/igraph/files/extra-patch-etc_cmake_compilers.cmake new file mode 100644 index 000000000000..84b1f3c4b264 --- /dev/null +++ b/math/igraph/files/extra-patch-etc_cmake_compilers.cmake @@ -0,0 +1,10 @@ +--- etc/cmake/compilers.cmake.orig 2022-01-04 06:55:25 UTC ++++ etc/cmake/compilers.cmake +@@ -31,7 +31,6 @@ macro(use_all_warnings TARGET_NAME) + target_compile_options(${TARGET_NAME} PRIVATE + # GCC-style compilers: + $<$: +- $<$:-Werror> + -Wall -Wextra -pedantic + -Wno-unused-function -Wno-unused-parameter -Wno-sign-compare + >