From nobody Fri Jun 09 16:55:18 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 4Qd6df5nKVz4bVlJ; Fri, 9 Jun 2023 16:55:18 +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 4Qd6df3G8nz3nMT; Fri, 9 Jun 2023 16:55:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686329718; 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=PAuOHoRymn8ZAMGlvqBRlIHKgsdI29c77e/Nrq0h9rc=; b=Sz6QoQIvG2eGXjKxQDSbmnUM+eK9kXNPDCiLRHWuEi/ZKwkLdDJyJW8GIve7Hp01xSWj3G 4JasG7V+XSyxsnzKaSdQD/V3mYtK1JyxTpedn3vJlwC2vhfCQeOGpv+vNz78J6fP47CDjb 5jcQWhutLXUZ702jgvc0qeDxW/sau+cLLVlkGMJVCZOU63Y+tikr4oVwLn64okUbwSgddQ CydNQEYn00OOBBlcGupXl+5cb2dPeRZ7RR/m+MXe1C0iFYr98mbyRtT7CoER6Yd9+/mmok 1wK2VMo1Yhzqb1HEJPs/w+pF22+LWL5E9jbJ2Qm7+3ZyaVWXC0a4k3wkHSa+fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686329718; 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=PAuOHoRymn8ZAMGlvqBRlIHKgsdI29c77e/Nrq0h9rc=; b=RpBtiYJXILQGfidAh1n5hq7D5oohL0bgIbtqEG+S3VdqpHe3BMy4zjAygXkR0AW7gGtEhZ opDURruVSrttL13VMRqrrXRMuh29xhTb+Up4fjpctd8MvDj2dt1VwUDM5ho8aQoo3TDzX1 jXpmJ8a3oH+hmbjoDfieYPX6Q2bKTUPMJHutwO5iRU+8sqc/bxuLVDME2zccYyMJOkc3R3 kbv/B0xhYyxwkIPz93xsGol68uYNbKJO9BYRiAbd/o9QeQsREmd33hxq0CGP1kyY4rp2/4 z5XHz7X4y1vVloAVV86EmDmYF+lNXsEJtePkSXT+xYa+FMgvw/u2CXP9WSeK9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686329718; a=rsa-sha256; cv=none; b=k9qcHJB7bEB6Jv3lCvMQtigoGwKmYi9xrnXQBNFsaWR/f37UtgsLCiUdU8ZucXgHauVh3N albHi+v7oPUW6FvCvtc462ELZejlJ6n7wlQBnvp05Xul+0XAxDS4OmsnBz2q4nu8r6bkv3 Fs822aB7nGxLmyJ82TbZ11NnSo2q4WEUm0ww7hXURB4oXeeDrulg3L0vqqFM3TbGnjQJr0 dNB8zSnIxpsyNoe0FCytTVUAVuweib+YWbzpxQX9l3pu+3uNo9f44YRsyuVmBUcUTTrtKG 5oJHyndZLTGJMHsn3n7caz69tP43LkFcAqnQR8xqSvjIUcUg6zy+oFvJSnIJFQ== 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 4Qd6df2C2TzjfS; Fri, 9 Jun 2023 16:55:18 +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 359GtIqD074297; Fri, 9 Jun 2023 16:55:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359GtIRv074296; Fri, 9 Jun 2023 16:55:18 GMT (envelope-from git) Date: Fri, 9 Jun 2023 16:55:18 GMT Message-Id: <202306091655.359GtIRv074296@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: c21a38f6fffb - main - emulators/x16-emulator: Fix build with llvm15 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: c21a38f6fffbaa254d31dda179d9f452357a1a18 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c21a38f6fffbaa254d31dda179d9f452357a1a18 commit c21a38f6fffbaa254d31dda179d9f452357a1a18 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-09 16:44:13 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-09 16:55:04 +0000 emulators/x16-emulator: Fix build with llvm15 Approved by: portmgr (blanket) --- emulators/x16-emulator/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emulators/x16-emulator/Makefile b/emulators/x16-emulator/Makefile index 9c371aed1431..433d3718c2db 100644 --- a/emulators/x16-emulator/Makefile +++ b/emulators/x16-emulator/Makefile @@ -26,8 +26,15 @@ DESKTOP_ENTRIES= "Commander X16" \ PLIST_FILES= bin/x16emu +.include + post-patch: ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/src/main.c +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) + ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS=-Wno-error=deprecated-non-prototype |g' \ + ${WRKSRC}/Makefile +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/x16emu ${STAGEDIR}${PREFIX}/bin