From nobody Wed Aug 2 12:27:44 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 4RGB9n6jyVz4qYv1; Wed, 2 Aug 2023 12:28:49 +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 4RGB804C0Yz3FRM; Wed, 2 Aug 2023 12:27:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690979264; 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=S3eBmLY5AKTjCanoWZDNhUTzYVjuskhjVUfDK630i1E=; b=oV6gq2WuU7cNN0A/QG1ROYIhMPHb/gLlCXUo7pZ+lcxINb18/hZH6gx0TejvMCETRGSoiQ RZhRzmk+KxNUXBIpl+glizg2mt4U8h2LwXtVSDbjvshKCc0m5jdRleAyAj6eYl0Gk45qRn SmLylRV8C/y+p92ImfYuWyGwd2z3E0IJ30lNlPmpLtRehgHN3bda8xyCV3ajUERMWYpbp/ 9qckK+f3jtWPPJnF0NszrAawLMh7XUwK6WmS33ffzDkYqJ5Lwj5EkqQDhSkH2mMWvP/tH7 F/pcZ+Gs3ydm9sbBqyAlksZHVIv2a0zTPTrVGS/4oG+mc6o2/XKBcwjpLa1lgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690979264; a=rsa-sha256; cv=none; b=l1ITpbnfSZgy7jsJoKXKpwuyjyk4XuUiJfx5Oq4DGfj/Ad6oSqJP8z1wEhxqQrIKMT3seq 0dgDnrykeslWz7Yyu8++qnA4THH9Bq9oBifJwfYBXbS9cUu6O/HCywwbaJHTPeEByddcqp JcD8CDFj4Qtc0H6WiZGVgFlkJhfp8C+dteGEp8uwBhivbVUX/Sc4B5CK5thaQqJGVGZ9z7 uyIyCHR2CI/mICrovdeMeon9Dj2kSR/yDcP8vgHewwDBDiOQixW90/kw4+mqKJaIWlw44Z 5Gb1AhhWth4yakJmkhlcoObWWw1shxdS7I6pqgwC3/qBKvInS+6CJfH41EwQbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690979264; 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=S3eBmLY5AKTjCanoWZDNhUTzYVjuskhjVUfDK630i1E=; b=Bcy1qyHCAxlwlCH6rm28GTnAfz6ikNodpOZIGT2XzclToLkkTojTc1yhH6jhjjnGWAm7v3 dKWe4Rgs+q1ES3Kl9gE81NdckWogePPL/QVro4jnnPpO5gMECpnQ8D6CrMmx9oZQeZjFHn 2CFl8Gxjhpn4gUi89/W2jfLracAgcl77WN7EShY2bTnWqKStNROR3a5LrYa3ZNuHnCjOda GEMyUxLWSxB/sbD4nMi3fbB8s4GKyZhFYnsOhLu7zFcdclSBYGD22PjHtbknJWt1wm5Mrv IJM26K65CGfmikrTGFzNK/vrCihaoWD5x2Kp9DeJCpRnyIcYH7cAeRd1zpKnqg== 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 4RGB802jmqzKGJ; Wed, 2 Aug 2023 12:27:44 +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 372CRi0C039072; Wed, 2 Aug 2023 12:27:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 372CRiZR039071; Wed, 2 Aug 2023 12:27:44 GMT (envelope-from git) Date: Wed, 2 Aug 2023 12:27:44 GMT Message-Id: <202308021227.372CRiZR039071@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: 270b10e23e2d - main - emulators/aranym: 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: 270b10e23e2dca9b8dee067f179984dcf97fcdb9 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=270b10e23e2dca9b8dee067f179984dcf97fcdb9 commit 270b10e23e2dca9b8dee067f179984dcf97fcdb9 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-02 12:06:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-02 12:27:29 +0000 emulators/aranym: Fix build with llvm16 Previous fix by the MAINTAINER actually do not work and it still fails to build. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- emulators/aranym/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile index b8f26cb84adb..fa036f5eb2dd 100644 --- a/emulators/aranym/Makefile +++ b/emulators/aranym/Makefile @@ -20,7 +20,6 @@ USES= gmake jpeg perl5 pkgconfig gl localbase:ldflags sdl shebangfix xorg USE_GL= gl USE_SDL= sdl2 image2 USE_XORG= x11 -USE_CXXSTD= c++14 # work around error: ISO C++17 does not allow 'register' storage class specifier, see https://github.com/aranym/aranym/issues/106 SHEBANG_FILES= tools/arabridge @@ -29,4 +28,10 @@ CONFIGURE_ARGS= -disable-nat-debug --disable-nat-debug --enable-nfjpeg WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CPPFLAGS+= -Dregister= +.endif + .include