From nobody Sun Jun 25 18:10:03 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 4QpzXX6WBKz4jGNw; Sun, 25 Jun 2023 18:10:04 +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 4QpzXX0lXgz3lQH; Sun, 25 Jun 2023 18:10:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687716604; 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=MAFQ7RjNkUJGM5GgXguCctoofX20bRsq3uaYZbPkY3M=; b=QLQLXbs19gBNGJYDyql3/eGIueoqFyZecl9V7BEVY/wipisqCU3KEHzl/ve4RlvYgV3A1j i+n3TCBD2hLV+ZCtIFs+tRRS83B9beVaLouQ09woG3K+GcgbNFnCcMSXdpKBVg2GpMrk93 6e9fu75HCDn64F+EbkuAc+BbsgryIKM6GIzDjH1DqJSiVhNZPCW4NvabRiLxIzi5AMg3+N VG8yYIoI9s5jQBBzBgZNrqy7gNHAiDmYQ30VOx08T/ItXxxVm0K3gnYauw9cJDcLqIUCxi q6iXCFrGoxZMjsD7mSPukj4/7DABTKvzaP3SRJMnYYvVfFIge2AbT8PoLRbHxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687716604; 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=MAFQ7RjNkUJGM5GgXguCctoofX20bRsq3uaYZbPkY3M=; b=LtIvE7gSa1iDx2Hpl1+FsDcrsbq6GruyO+N0h93ICXdxwV2OrNrbWlvEu694G2PymZvoFB h4kzZaAodjuAkgMAXDl0vEkggQtvvbDedTRxGHtBjbrkgOVps/+L0m9Fr7/k59K4a0lDSN DDHDBnMTS1gt5cjRHnrcjNAnyfbc/QIPQIgBsZu2eF3pXIvUBzOym8DcTK8pIRKWgmghIk rjnLDO0njY7DdvTQy2Wr4OkwF3UWIDURYWueSTg/uuQlrVB6u0/S96TLcG1KFAmOjsFDnE 01yYjYeQKnahEorzddCQd1v0ln2vgEEZjUIAhOOFHnogp3fYX0+ibVT5m0cBmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687716604; a=rsa-sha256; cv=none; b=iOAcwOKdu5R394cxKxGdz8vpoQv+wdqHXOthQtvyfDYi+X+i2eFxN4V9ggms6nMMyVhLZc KVPI3C+CB/V3xtbauQkgpXskNSmxUwaRCxKv6ILHKE8jnbcU7hm/Rp1Kz3ptOYiQu0aD0M 6WTFWvjv/FGIEF1CIpfutDDEHFM8s/rwdi1WRzSB2Sd1NSjrWBJD5YSVGlHX6SrmWNPAiw 5sTTtngmnl5TZLy7a7FH9svYeSGjrbNVZ5DZsX/+kldv0w0ZfLKAz6NS1RkIZHyXKs6Xzq exndRIJfWrHpWY8p4XLcAbrHu7CUZoz+rW+H9jN4BUDu6mv5HRTTl28uICVJsA== 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 4QpzXW6xHFzcyC; Sun, 25 Jun 2023 18:10:03 +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 35PIA3Ps094515; Sun, 25 Jun 2023 18:10:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PIA3po094512; Sun, 25 Jun 2023 18:10:03 GMT (envelope-from git) Date: Sun, 25 Jun 2023 18:10:03 GMT Message-Id: <202306251810.35PIA3po094512@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: 74791d08b908 - main - multimedia/mjpegtools: 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: 74791d08b90803b2f258f182043e72fc164491cb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=74791d08b90803b2f258f182043e72fc164491cb commit 74791d08b90803b2f258f182043e72fc164491cb Author: Muhammad Moinur Rahman AuthorDate: 2023-06-25 12:20:49 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-25 18:09:48 +0000 multimedia/mjpegtools: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- multimedia/mjpegtools/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index 7a4a0e760f08..f90dba836a4f 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -39,10 +39,20 @@ SDL_USES= sdl SDL_USE= SDL=gfx,sdl SDL_CONFIGURE_OFF= --without-libsdl --without-sdlgfx +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch: @${REINPLACE_CMD} \ -e 's| \*-\*-linux\*)| *-*-*)|' \ -e '/ARCHFLAGS=/d' ${WRKSRC}/configure +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ + ${WRKSRC}/mplex/main.cpp +.endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}