From nobody Sun Jun 25 16:41:27 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 4QpxZJ2w2vz4hjpp; Sun, 25 Jun 2023 16:41:28 +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 4QpxZJ1H1fz40nn; Sun, 25 Jun 2023 16:41:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687711288; 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=d8fNQgavz0lpfh5xllJRjx5GlhUir5YaRM1AEuvzVIo=; b=qA4V8M3R5AHY/CWmC5c7UeHeT4On3Y66/jSbcFe1TJqcg9lUZvYhlPcBE/eij2qHRxB7Q6 I6zIwgFa5lggiJajjY5fywiaGXNE8+qZcpjggBkcCibFH0Wre2311JqWEL+tfFkqIYf3ma sv54ChOTXOlv6gs2xHafcan8FZnNSfoT3XOMADFWb6DDQopKaEQv8P+em0JErplcavJYxK HBAwueZKNpFf0YGoNOBy7fHpKRbIAmSNhCxnub34r3502bHCVQks2eiNCXEg9++Lw4w3HG mdxL7qjhZQanisDYfL/DGKbgXrQ2pafnXSRzbW/0ZcL+cO6YX5ghKw4VqbHOpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687711288; 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=d8fNQgavz0lpfh5xllJRjx5GlhUir5YaRM1AEuvzVIo=; b=D8HmT5TgV7Nxb/Dfg1EgaVrUekFjeIJYwbRqccAwkL1hrlJ7pVR7w/iCH9ozpofRRpXwDE Dd5xP/7iGc/r4qArb5pmV7g7P3yiLASLNYrDmi6jYn5on2xHrVIYPOAJHpKxnaHCZkanmy zqK+0s3OugpPgzmKXa3QdAngqrO/eZpZS7ioXy3i5JbprGeXMmt39TtV9G4xjupkAXgF6u NEVfarE4w3IpZJK3ewXfL25VCTfk6mIAEeHnbZuYzMc4aWB/0BFZqS6L1vZbb+NpKPiawL jAZTEHMckCL62hZSvp4YN67Z4UpibUiC4+H71IVadltYQxisCvKjmzwORy7DTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687711288; a=rsa-sha256; cv=none; b=S5iuPed4rOTrSeMH9tmuapfvealaxnFGebH+NirI/2+UXklz6XJbrhjFKsfk01dfrt+A3O 4JzuPV/qba9f6gR6Ua4El1R7Lf5CdUFXGegUO5p6faOb2laKaZWKrHveOHlIbXMPlWzaI4 ak4cnisQlX3RMRMQYZC/4LUc6ZATW7dM1dc1daxqsoLiIOtqMuE8DY8uXhA7ljfy7V7tHQ 33iSEJUbWf/rFG8qFQsfd8E0WcULHdzaH9ykntPM2UU61WhhkoULc4sO0Gk+b6/6mjqtrt aUyHFc9ljuxC45f6LWjY7JWffsqSHRPL8tVZDIonoxOfEy0Fz7JgixJkPdtjNA== 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 4QpxZJ0NsWzZcb; Sun, 25 Jun 2023 16:41:28 +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 35PGfR2b051859; Sun, 25 Jun 2023 16:41:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PGfRbL051858; Sun, 25 Jun 2023 16:41:27 GMT (envelope-from git) Date: Sun, 25 Jun 2023 16:41:27 GMT Message-Id: <202306251641.35PGfRbL051858@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 86aa24afc629 - main - math/eclib: work-around to 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 86aa24afc629aefb9501fc55b6cdf1b94ce717e3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=86aa24afc629aefb9501fc55b6cdf1b94ce717e3 commit 86aa24afc629aefb9501fc55b6cdf1b94ce717e3 Author: Thierry Thomas AuthorDate: 2023-06-25 16:36:53 +0000 Commit: Thierry Thomas CommitDate: 2023-06-25 16:36:53 +0000 math/eclib: work-around to build with clang 16 Adding "CXXFLAGS+=-std=c++11" to fix the build on 14-CURRENT. Without that, it fails with this error: In file included from unimod.cc:24: In file included from ./eclib/unimod.h:27: In file included from ./eclib/interface.h:51: ./eclib/templates.h:64:12: error: no member named 'ptr_fun' in namespace 'std' using std::ptr_fun; ~~~~~^ --- interface.lo --- In file included from interface.cc:24: In file included from ./eclib/interface.h:51: ./eclib/templates.h:64:12: error: no member named 'ptr_fun' in namespace 'std' using std::ptr_fun; ~~~~~^ 1 error generated. *** [interface.lo] Error code 1 PR: 271047 Reported by: pkg-fallout --- math/eclib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/math/eclib/Makefile b/math/eclib/Makefile index 2bba0ad45dd2..528c05998935 100644 --- a/math/eclib/Makefile +++ b/math/eclib/Makefile @@ -21,6 +21,7 @@ USES= autoreconf compiler:c++11-lang libtool localbase OPTIONS_DEFINE= DOCS +CXXFLAGS+= -std=c++11 LIBS+= "-lm" GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-flint=${LOCALBASE} --with-boost=${LOCALBASE}