From nobody Wed Jul 19 15:28:08 2023 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 4R5fpd4PN4z4nkTd; Wed, 19 Jul 2023 15:28:09 +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 4R5fpc72fsz3xpK; Wed, 19 Jul 2023 15:28:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689780489; 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=SQouk37NkSJeQ6+BNneLWy0VZPZU41R7pf33+HoisPo=; b=F/hnhNsCgYE3HGrsIoiB26J9RnO6SrNOmOIs/uDbmcMmYmRGYt+hKRZk/Cv5rYE3IQaTOR LF5yfCkbSnq0/S/9peHy6MbJJFxrMWVwrD5rN7n6hmVn8aFtL7MqfG4VeCk/R/KxiFJE+1 sQeUSPq2wgLI237OdKsxHDHmSOLR3gJnUT3kyIlpqvuhHFXN/U2tg+tvXml68T3z7Wf9zd 05qzSK50AvKoTWYtZaUroV9jWf6ryNVZz8GMMm35HbmvBreI/3uuGrdE961xEYzgWD35Lt Kk0uqHsjp/kaN4ElPmHPgRyOElS36EXRLDO+aLradIibVPgvIcBUE0yJYOeUVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689780489; 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=SQouk37NkSJeQ6+BNneLWy0VZPZU41R7pf33+HoisPo=; b=JExIAhmCcDkZGqM79IWWzYq43ApzZu03rOaojnZfZstfkwGbeuKi2l/YxifPcDbZHG9r+p HoH+L+0uaw20qgwCbGG//Pbxas9yDuF+9bCV1RvVkRI2zxsvEtVr2ZVhGX84peWItlv5Ca G8aERZt3oxOKS6gy8DHPLOQutJdwgG91uwJ4lYM5fpYWqr8EzuZ135KQENyNvlrn84lyTN YFV3CCbtTFPEQAVf96lL4+lVX3p3mkaS62Dg3nrYTJdyet1tudFTZOxQDMyUAUy53IlmxP qU8MPzYgtz98t6D9Kv6LVTiYJ/J+LQezGxUFrZDSNBT7z440vEO65UPQZT09Kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689780489; a=rsa-sha256; cv=none; b=p+lV5xACC6uOg0PEHCpVZw+ZutBSqLQQmKispVGsl5LblzskzwD7EnXKDM7GdIEzBXgR7+ B/0mSjltQLS/7o+OdaWfVdt9JvFiv5wqZpEXGMnTzhjcmN28rG4cmP0wy/oFfrzuyNBkEM 6vYh8zSwYjVcvgRiW/tNbHE4iqdp68XNY+XdE9CiJH54BnzNnp+pNB5q6dTUyukn8B7sSL tdrKfz96INPYIngOHsGMQDAq7GXUWshOyZO889zmfRwRQJRkdM0BLy8g7RTm6zxOMYeM4q wubyOXOIFJYkg2bPBU//3ZwziGotALwLCB5DLb+HuwPfNFCsZwyKRVNTxh5Vtg== 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 4R5fpc68nQzsmL; Wed, 19 Jul 2023 15:28:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36JFS8HM017724; Wed, 19 Jul 2023 15:28:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36JFS8gF017723; Wed, 19 Jul 2023 15:28:08 GMT (envelope-from git) Date: Wed, 19 Jul 2023 15:28:08 GMT Message-Id: <202307191528.36JFS8gF017723@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 609a898520a5 - main - devel/corrade: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 609a898520a5272b9cfbad19d9e6e7d1ac5ef997 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=609a898520a5272b9cfbad19d9e6e7d1ac5ef997 commit 609a898520a5272b9cfbad19d9e6e7d1ac5ef997 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-19 15:22:05 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-19 15:27:55 +0000 devel/corrade: Fix build with llvm16 This patch fixes to build the consumers of this port specially graphics/magnum*. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/corrade/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/devel/corrade/Makefile b/devel/corrade/Makefile index 815f347cd220..3e92c16357a1 100644 --- a/devel/corrade/Makefile +++ b/devel/corrade/Makefile @@ -2,6 +2,7 @@ PORTNAME= corrade DISTVERSIONPREFIX= v DISTVERSION= 2020.06-1214 DISTVERSIONSUFFIX= -g3bf6057d +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -23,4 +24,13 @@ CMAKE_ARGS= -DLIB_SUFFIX:STRING="" OPTIONS_DEFINE= TEST TEST_CMAKE_BOOL= CORRADE_BUILD_TESTS -.include +.include + +post-patch: +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 + @${REINPLACE_CMD} -e 's|#include <__tuple>|#include |g' \ + ${WRKSRC}/src/Corrade/Utility/StlForwardArray.h \ + ${WRKSRC}/src/Corrade/Utility/StlForwardTuple.h +.endif + +.include