From nobody Mon Jun 26 12:16:16 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 4QqRds1Pp3z4kFBn; Mon, 26 Jun 2023 12:16:17 +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 4QqRds0Mb1z419t; Mon, 26 Jun 2023 12:16:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781777; 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=AdpC83LnJIN7M+m9Y7DsYmywhsCW2LKlfAxo7XFyiSg=; b=hRJBlcv9/z/6safrt0uFu9XhLpVzdNeAN1S8xi3+UMbGNDVfarTCx2HcfLZgfK0p1Jcts0 Ex1axR8YuXtv3FsA5OEcpWhoDVx8gwI61eohEEcIQYIiHpJMUmPpqBDkH5kCvNS/rWCHAC iaBALdKPFGOxTxCClL+MsiEHcy91faUWTeqGQRMLhXu7Dw1wmFcBvDgl4BSaZBt+K4a8RR JVH2BPtqMK5o3YjJh6/uMnDCLQWrgy7ETDDYg6fAG8kq7WN8EaLqJ7B2PKz2ee+W6pCJrJ NpiMzRL46v25YUYUTZZAJ5JVU2uwG0KMxuT+3izYKbE6K2i62L2SuaiVoQhbGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781777; 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=AdpC83LnJIN7M+m9Y7DsYmywhsCW2LKlfAxo7XFyiSg=; b=HbYKcWfLBFk+L4m6EzvU6wUIixuaK8W9Hio75WpQPTp9BC80jY1I4gPFWaCQaCwCLZbstq YfNte68NjrGpeKg93xd792WT0BCIupG89QL9iW5Dw7FxTd2MAg4Q2qjk/y89iTcnRKSF9W b8qR49jWN0KwPn2sNno4PzDi+5Tx3LbRrPcg9s6pNRw7+6zIOumqb+oJYjpdqtEvJU8W0w jXBJzyVOCZyPUsz3L6sxuYwWI8jJs1WsDHV1hbpxcCguvV2MXRJ+Q9C9r5EGj+LjTYrn9L PNjhbDglqis1d4sh5n3WNmVfxG4YoHBnHtGk6rLZx8u8leZeVIC4iFvc3m/ZrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687781777; a=rsa-sha256; cv=none; b=mzwWSdfWUxZP4zBAzypbjukavUd8VkGJubgkFfIdGutoHQ5woV4yfHAQBniJj1c1fMG0GZ N5AX686BwwsiK2FpfVcxVxw0SvBQEaJ2YF3MjhY7lIFmdYxXN8qbNUpowzchcTBR3wG2Bp 4vvHl7pOH+lKuYfIW11d/eocfahvi7MDbuYyQwIX3E+1R/eX7sw8YHLlncJ9uDqs+Ug1cX vLq26n5s9DItA164AtsrVdEexrrnT1P1gBYnjknDzoeRYFZrNfF+K6tQvohBY8Lf5gPZrM XPijNdyAQ08a8vDfZrgFFK6+IDk3q7gjLhZPX8j9wkewHY1dxwhPv+9MlIX29A== 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 4QqRdr65p6z18YG; Mon, 26 Jun 2023 12:16:16 +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 35QCGGLV000026; Mon, 26 Jun 2023 12:16:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35QCGGBf000025; Mon, 26 Jun 2023 12:16:16 GMT (envelope-from git) Date: Mon, 26 Jun 2023 12:16:16 GMT Message-Id: <202306261216.35QCGGBf000025@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: 09ce8deaafe0 - main - multimedia/smpeg2: 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: 09ce8deaafe01223e9e2cbb70ea062eafcb56f7a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=09ce8deaafe01223e9e2cbb70ea062eafcb56f7a commit 09ce8deaafe01223e9e2cbb70ea062eafcb56f7a Author: Muhammad Moinur Rahman AuthorDate: 2023-06-26 11:41:45 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-26 12:16:01 +0000 multimedia/smpeg2: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- multimedia/smpeg2/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile index 160756f41b6b..bc3e63ca92c3 100644 --- a/multimedia/smpeg2/Makefile +++ b/multimedia/smpeg2/Makefile @@ -29,6 +29,12 @@ CONFIGURE_ARGS= --enable-mmx PLAYMPEG_CONFLICTS_INSTALL= smpeg PLAYMPEG_VARS= LICENSE+=GPLv2+ +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch-PLAYMPEG-off: @${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \ /^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in