From nobody Wed Jun 21 18:27:49 2023 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 4QmX6t12FRz4g3Kd; Wed, 21 Jun 2023 18:27:50 +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 4QmX6t0dBgz4QbS; Wed, 21 Jun 2023 18:27:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687372070; 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=1G6QyYjEdigF6CMfPQsjjw/GdszIr3tcydkI4gmFwQQ=; b=MOzZpHxmYNE7xwNhwLXCsGO8lt+9af5lgesFCL7vGg5zxkRxrpLt8Lcgvhpdy3kqWp7P5I ZLPaq0ruCc5JkrESFf3UNeotx1NLT/iaqrM9kIjCJMD4ezbFDXLzYXxCVaFh7gzclhpH81 4nJdLOPu91UcxC87em4kwvVnXyRMO+TXcqKrpgoGT1r5fkQBbMW0kgSBqj8ebuulZfMG/n 6lGYcfb+NLZ4hI3ye2MXOaZ5OiHOsgk2XCGaC6SEavyo3+jxtup44ApM4n8uravRAWF+49 0rjq2Muh0ZVjUzN44kurd5WrGV4CNwtYMzoeiuXS2NTn+p2t016jE3AzPqTKzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687372070; 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=1G6QyYjEdigF6CMfPQsjjw/GdszIr3tcydkI4gmFwQQ=; b=QMgpGvNGIdYRKSAPQq0XPAeuMaeGOmEhw11deyJytpOHx0T4G6OOehcjRHiRcdlG3sUODP BYiECfk+2cvWvlNQCowWS5C1W67+CotbSHAQN1a9rPyin4WA7vvKcqcb1L5qtNXvgS2xQk J58UM6Ghj9v6hZGL3J1aqq8ZgjG46DGCDmbH6gjfY7JIaqKoObIRs9JTrlIGO7nJBb8/Rm qGHwggHg4setYtOXEXMt30iwIqEpwoPetOgUlSZw0LINUVXGD1fmq8gTvie7sGCYtLd7t+ 3e6ZiLTwnw1CpJYfqGmKfzW0Cy5DKloJDrH6IvsS6Cqh00k6tGKO/ic/a5U5jQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687372070; a=rsa-sha256; cv=none; b=ccWK5TyUUqqCQLJ57mJp26GK8b/6KF8/rY1g5AMA2jV/5x03RK1zSbiX1noPUTdmiBFmEU sIAREz7O8WIqVnykNDI46U6pZVHFB+ekuVC6IjUTNHqEyZDEK0zT0cE6RGd9ogq2p7NMdR YaZ8WyZerGU7ZcW1CRVBpOheMohoxiu5EqETFuRjThNzPWfVrBY2Q0TwuXYZKpYoxxli5L jzkIkIRdqrYbIJ/Vplv3RSHyPREHt5oq3cjlq7KkeXPxNgouOHzsmauMwHmFihcsvZ+JYb QM62p7LGOxBT++7kQp83Yaio4PFZKLdo0cSVPNKv03vfJG8wP4au+QzKa6Obhg== 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 4QmX6s6k18zsG0; Wed, 21 Jun 2023 18:27:49 +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 35LIRnp8020806; Wed, 21 Jun 2023 18:27:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35LIRnTR020805; Wed, 21 Jun 2023 18:27:49 GMT (envelope-from git) Date: Wed, 21 Jun 2023 18:27:49 GMT Message-Id: <202306211827.35LIRnTR020805@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 22c4f7a75ed3 - main - math/cbc: fix build with clang 16 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 22c4f7a75ed3de4b97368be49f1ab70ab0aabb27 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=22c4f7a75ed3de4b97368be49f1ab70ab0aabb27 commit 22c4f7a75ed3de4b97368be49f1ab70ab0aabb27 Author: Dimitry Andric AuthorDate: 2023-06-20 18:52:55 +0000 Commit: Dimitry Andric CommitDate: 2023-06-21 18:25:37 +0000 math/cbc: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because math/cbc's build infrastructure does not explicitly set its C++ standard, this leads to errors: ./CbcSymmetry.hpp:83:30: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] inline void color_vertex(register int k) { color = k; } ^~~~~~~~~ ./CbcSymmetry.hpp:91:24: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] inline void bounds(register double a, register double b) ^~~~~~~~~ To work around the error, add USE_CXXSTD=gnu++11 to compile for C++11 with GNU extensions instead. PR: 272101 Approved by: yuri (maintainer) MFH: 2023Q2 --- math/cbc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/math/cbc/Makefile b/math/cbc/Makefile index 491bc4f00bd2..484909ff9cf6 100644 --- a/math/cbc/Makefile +++ b/math/cbc/Makefile @@ -1,7 +1,7 @@ PORTNAME= cbc DISTVERSIONPREFIX= releases/ DISTVERSION= 2.10.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math PKGNAMEPREFIX= coin-or- @@ -25,6 +25,7 @@ LIB_DEPENDS= libblas.so:math/blas \ libOsi.so:math/osi USES= compiler:c++11-lang fortran gmake libtool localbase pkgconfig +USE_CXXSTD= gnu++11 USE_LDCONFIG= yes USE_GITHUB= yes