From nobody Sun Jun 25 21:43:09 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 4Qq4GQ39l5z4gDHN; Sun, 25 Jun 2023 21:43:10 +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 4Qq4GQ0p2yz4GcF; Sun, 25 Jun 2023 21:43:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687729390; 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=bS/e+EwvVLqwaveg9Qx9fMLdOhkm6ySSs/LVruBHdpI=; b=uXxIadu7Y95a/VD9VQVcqgyD3KlxeI68MO+hMtWzCYc8AhJNEX7tQN50QRIphRkY4+Rhc9 3gxIzcSSsDmjEtxgIJqf6n+smW747AKK7kPfqNso8kLzU44Qw0X3wk8dbIKjJvmGg0GZV9 iV+78HndPHv2koJN0VijtDyFxkfrfhRDbtMfX7DCfsDhe2bhqipKtGG6enix5zR3AMkKTn QcKeD0T77HllT5Yx9vQsGPaIMafsWCLxVYBU82V8HUbvQWRx7Xd2aRSrDYrGqNUjEf2/tH MtdQqo6qJU3L9sQG8L3W5L0n80qX24Yi8Zhy5H+KoQm5DuwKoqGOjoH3qujdig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687729390; 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=bS/e+EwvVLqwaveg9Qx9fMLdOhkm6ySSs/LVruBHdpI=; b=yn2gN3Om07gwS6UjNpisMSMBewbLpfG72lezgNovIXTS/btkeyKZCiTJjhMRJNKtdJ2vJ/ xlO77PxGQh1vIdfnYT8qjyExL2pxJQYtA6kbdg46HPSODO9W33pG0LMHfkk5LRdOwZXS9d 07+nCiB9OMjV6YNMsWuPH4d1eNWruoTvPg1CERpu7QGdOxCYFBjlZjM5puTgmCDNt7EOmM QLfZxxZvkUrzbvl8DlsZbA6opJ59/xF7j9bRkP+p7Xl0JN5jMqwllCpXVI1HD5iBBHI2pW 5d23D7CHGA7Qgg2eiYCsmCuHd8sFSJkdGlzXGEIo88+BeDfWVS1rRWNCJIkPbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687729390; a=rsa-sha256; cv=none; b=Vt8Hjcq7rQk+ctTnn/PZiylMCIC3U+uWtpXL8TZ08nQoJdGKSZRJYAGXkfQsWjMJgkd4IP s9kxqpruhYLeM3p5JXwdfwfePWQpqgHxRWLoaKRsplpIV/mCLnWnkvlHrGJXnVM9bU72g1 Nh+yZHCwRL3/XcRAeaIxgcPF/EoOY3mmBM4mA4pCYzzkk7unsGvstOf8Ui42D7Y9yrQ8Eo rwvg6IkW0IKTMVrtwUEwEaj7pJqSIphcnnF2FqwK+e/OHzuGGbCgtejY5EUb1JK6mMe7Kp 39aARky34jhh8BSdzsJlWK7CIFaIohaumEW6b7BQGyhm6q7b36v2iwTGYuhMng== 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 4Qq4GP6rmfzkTP; Sun, 25 Jun 2023 21:43:09 +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 35PLh9jU056938; Sun, 25 Jun 2023 21:43:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PLh9wR056936; Sun, 25 Jun 2023 21:43:09 GMT (envelope-from git) Date: Sun, 25 Jun 2023 21:43:09 GMT Message-Id: <202306252143.35PLh9wR056936@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: fbe92d5e5ad5 - main - x11-toolkits/ntk: 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: fbe92d5e5ad595bdd8b60a9c46221a5c53e5cb6b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=fbe92d5e5ad595bdd8b60a9c46221a5c53e5cb6b commit fbe92d5e5ad595bdd8b60a9c46221a5c53e5cb6b Author: Muhammad Moinur Rahman AuthorDate: 2023-06-25 20:25:24 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-25 21:42:44 +0000 x11-toolkits/ntk: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-toolkits/ntk/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-toolkits/ntk/Makefile b/x11-toolkits/ntk/Makefile index fbea2d7a11ab..e18439e5eba0 100644 --- a/x11-toolkits/ntk/Makefile +++ b/x11-toolkits/ntk/Makefile @@ -24,6 +24,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= SHLIB_VER=${PORTVERSION:R} +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch: @${REINPLACE_CMD} -e " \ s|conf\.env\['LIB_DL'\] = \['dl'\]|conf.env['LIB_DL'] = []|; \