From nobody Sat Feb 17 06:06:28 2024 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 4TcJGD4TkVz51qSb; Sat, 17 Feb 2024 06:06: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 4TcJGD2rVJz4T21; Sat, 17 Feb 2024 06:06:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708149988; 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=tuW+51HaxafbGXMx+A7rp5lpGcj3ivMlstOGOckgnxY=; b=YFOc/TIH0ixDEBuIHB25yOALkggZU1DwTMYUD2hNyZkZ6vEmLh4tXzBYwnzE37YBucYjSF B7uVt5i4hmdgakHoXkT8+nA+jIYULedX+AbdVYx9uPTk7L3R6OAQOzqFKHYqh2OI985nSJ hlC3O1n0e5/6ms74p5jXwOZ7tr2gs9QxtuJTejcZQS0BL3LKWaFtHTxAo/ho/nzLZKyWtU 1nUdDrB09XUuIL/Aax0wWABh26xoisAI5D3Y9LYZH7NRch8YVYPI7Fdx4vs6Fpv0CBAWBL bqKcr8cnzpftwY+YSSvkrRp6pbn6bXTLBPbj+W/Lna+S2xyQfI50BiAJzPd+0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708149988; 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=tuW+51HaxafbGXMx+A7rp5lpGcj3ivMlstOGOckgnxY=; b=Kna+mBZfEYWhcqRCE8oFDV2n9TF8Z3qkAjeKxLDoPcZgSlDEyffWUgKYiBVIt02AV7B2tz 4ROYI2bXqC+tngygx6zkihllXsBGB7vXlLXs+kwSsjXgQFNWVyBBpBRcXrPw1Am6JPxCtH 5rhDapshb8tmIR0N6mw8fdmezLDZklRmc24o7PqoJiCV0WC1LzLbn4SBXX/Rd91NjI2zdq 8PN6ouiead5F98WjSfWfxddIz4motCM3rBM9uu98I6WU4KCEO1yKnNeDcMi6ysshApyVhS mCtVRfsZsAKqS2DHMcu/8PI5B/9XOsfsljdmMyJXRHA59aBnB8aI9raOx1Z2BQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708149988; a=rsa-sha256; cv=none; b=JsFZK1Z1C6Lm9Ip1FoJpCBXHhIE91g5U04QOx8O5yMQw7ghXe7ATbnBaUnW+Ivvt4xwZFa qkJ4TtEdgnOQ0u0hXc1d+IXKy3yrjZuDu8CQoG4CRgKlyjxWhDd42axJfRbqEMB+SRzYQm sWifUIn5XxZZFcDWUdSHq4PUIsqwdDIQAaMG4JiI9PpUq2ZW98mv+QeDVO8Cmchs0LZsNN vsx6ulRswZsY7OUdIZa6Dg8atBd10u6UfTyVRgcWbacshLO6Alnv9tuZTwIVgrKHjcqvR9 C9d4VxpPp92JlA3GD8B0Y19BudCgIl0DmXVmgqGDbr1MNS0HG2ZqaQNV4MpwaQ== 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 4TcJGD1yMZzxJT; Sat, 17 Feb 2024 06:06:28 +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 41H66SIp055211; Sat, 17 Feb 2024 06:06:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41H66SWg055208; Sat, 17 Feb 2024 06:06:28 GMT (envelope-from git) Date: Sat, 17 Feb 2024 06:06:28 GMT Message-Id: <202402170606.41H66SWg055208@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: f395ed6c01b9 - main - devel/opencl-clang: Fix build for llvm16 and llvm17 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f395ed6c01b961a26208b3b8e017992a6ca2bcaf Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f395ed6c01b961a26208b3b8e017992a6ca2bcaf commit f395ed6c01b961a26208b3b8e017992a6ca2bcaf Author: Muhammad Moinur Rahman AuthorDate: 2024-02-17 06:00:39 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-02-17 06:05:58 +0000 devel/opencl-clang: Fix build for llvm16 and llvm17 --- devel/opencl-clang/Makefile | 4 ++++ .../files/{patch-common__clang.map => extra-patch-common__clang.map} | 0 2 files changed, 4 insertions(+) diff --git a/devel/opencl-clang/Makefile b/devel/opencl-clang/Makefile index a62b81bf8a9d..961bc8ddce36 100644 --- a/devel/opencl-clang/Makefile +++ b/devel/opencl-clang/Makefile @@ -51,6 +51,10 @@ _PLIST_FILES+= lib/libopencl-clang.so \ lib/libopencl-clang.so.${DISTVERSION:R:R} PLIST_FILES= ${_PLIST_FILES:S,^,${FLAVOR}/,} +.if ${FLAVOR:U} == llvm11 || ${FLAVOR:U} == llvm12 || ${FLAVOR:U} == llvm13 || ${FLAVOR:U} == llvm14 || ${FLAVOR:U} == llvm15 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-common__clang.map +.endif + .if !defined(DEFAULT_MAKESUM) makesum: . for f in ${FLAVORS} diff --git a/devel/opencl-clang/files/patch-common__clang.map b/devel/opencl-clang/files/extra-patch-common__clang.map similarity index 100% rename from devel/opencl-clang/files/patch-common__clang.map rename to devel/opencl-clang/files/extra-patch-common__clang.map