From nobody Mon Jun 26 00:10:00 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 4Qq7Wr4Lfgz4htfn; Mon, 26 Jun 2023 00:10:00 +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 4Qq7Wr3sMZz43wN; Mon, 26 Jun 2023 00:10:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687738200; 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=8Oa4e8MYnH9HfbMrfP9DservpQVQF/KqAcL7eWsrcNc=; b=LD7I2OKsqjm8AJ7MBp6VshInAvZJraTcOtgpOnV2bL4t4UTxYiwI28w8ghqr23C280m90P lBeBubRyVXUMi7aB8e3eODJcZNeQVyJSic/ndMdQjykc68KlpYk4ZOEK90uyiQedi+uhul HAv+daoo+qZ7H9PQX+jTwnDATjhEhMrhYzdidXsY77ABO5Rhw5n0CxZzT7hqVeYcE3ALup dVGYqgH7L4qGetdUVDFEV+ZI/UxKJ79bEn0XIl7QPZTxa6+LGhiEU4qB4DMiLiZ4JYqjRk qE8Nrkl8txwS2SyAf8rv93JUpE2y72y5ycaaKmgMDx41HPGFL1yCV8QTtsgGuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687738200; 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=8Oa4e8MYnH9HfbMrfP9DservpQVQF/KqAcL7eWsrcNc=; b=w0jaMoWgvhWkuxs9xn7pvpGa6XU2ZKmMYMx+s7WFNwPhn/s1TgR1qeWpCjodnjopBs0vI7 43rKQYUsKJo3YM02IuCyKFo59T9ORMOPNHt/TUqWFXZcuQ6E1oeIV8AWc/A2EZ+CBwe2nY CBJxYNIuXQaRoj2yxTbh1TZtkgJTAVXajLR3kJdCCLQ7mT38OI/yU/4nRZscyPOk6pa+su H5vrGKeGKMsJ2OwCX8gWksn0nY8aY2Vg5Xfarh9o+EpxTHUFzI2yqLVNCbWKQq3KSKaMoS YRMJWciukjNHc1OTBwtYD35z5rI0PJbsjjZy8fRs99rCgP4J+bPcoADrU36tHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687738200; a=rsa-sha256; cv=none; b=CFDVzULKtB9zRAxEalqzCyb0U1l+jyfWOLxkb/tRFSfRVzmtGI/dRi7GE7Sd/G1ck6CbNw sU+bdXBVZbbLQDo9lzf0dXB+cPn++Z/67+IcfWV6v76CgqohBEhrnroqC0C2uTd1llhEX3 bG/gcTOidND/uA7m1GaUft4I6WaIAH9cDoHoqPy4L1YIIVd5/dU+CZ+q5ynJ5pOkBc1RYe PRCkN+ZkCo9Hh+1VaIHdMBcDATFhkeMmXKY/7dXtoB7cij6mKoXQStEugCxNvPMvYIAii+ TCK3++kio8Ife1dQHWflgQBP/kX1nt7TTZhoM5MG0yaqymNSh/UH1mHGApoznQ== 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 4Qq7Wr2lWJznxX; Mon, 26 Jun 2023 00:10:00 +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 35Q0A0QP091081; Mon, 26 Jun 2023 00:10:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35Q0A0QY091056; Mon, 26 Jun 2023 00:10:00 GMT (envelope-from git) Date: Mon, 26 Jun 2023 00:10:00 GMT Message-Id: <202306260010.35Q0A0QY091056@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: 73a30b05a74a - main - graphics/opennurbs: Fix build with llvm16 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: 73a30b05a74a0c11d27e564bd81820f2debce9a1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=73a30b05a74a0c11d27e564bd81820f2debce9a1 commit 73a30b05a74a0c11d27e564bd81820f2debce9a1 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-25 22:06:41 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-26 00:09:43 +0000 graphics/opennurbs: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/opennurbs/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/opennurbs/Makefile b/graphics/opennurbs/Makefile index deae31cc60d4..58b6fb58d7c3 100644 --- a/graphics/opennurbs/Makefile +++ b/graphics/opennurbs/Makefile @@ -36,6 +36,12 @@ IGNORE= needs SRC_BASE to compile. Install base system sources and try again MAKE_ARGS+= ON_GNU_OPTIMIZER_FLAGS="-g -fPIC" .endif +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|D_GNU_SOURCE -I|D_GNU_SOURCE -Dregister= -I|g' \ + ${WRKSRC}/makefile +.endif + pre-build: @${RM} -r ${WRKSRC}/zlib ${CP} -R ${LIBZ} ${WRKSRC}/zlib