From nobody Thu Apr 27 12:04:30 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 4Q6ZCy6MXJz474Nl; Thu, 27 Apr 2023 12:04:30 +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 4Q6ZCy5hqtz3n2v; Thu, 27 Apr 2023 12:04:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682597070; 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=/CmREJrcRbaiGtUR3nz+9FrZhN9yHYbkhuCP1npCXOU=; b=SB/raLIpoC0hEKFc4yq5I7VbhQvNhumfooq6dhv0fGUawhe9/Y6nlZNzVQPYLgz3LXzPNX C/MLukdORvGW4EVIR7xrOkNY1A7yKPfenZDe2LqJSuVAaDfatHiNCbbahuYU6+SPnbccBQ J1zlFz7D25ulzgLQxSG079+/8pNFMheG1eTwEtFyf+rQyeLkBLRphr2nKD7hez2w7IwWd7 tb/uo62iUAwFWF7i+0Pl/JmNlz7ycOnol4FAFX1oIE2SHT31BNCfLAMupH+xsjHsg8xs4J Xd/BncGykofi4OnrOZXYAaz0EdtcEznWuHVRSVX3wpZG2tU7WPW4FRiM4ajVjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682597070; 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=/CmREJrcRbaiGtUR3nz+9FrZhN9yHYbkhuCP1npCXOU=; b=MyxzJ66yNiom5hnCRA+w60St9pTQDLv0E1qqRjBK2PnIarpqIxHcDPKMBBo2Ji9A+I5u21 eO9JgPI/ZW0z8lAUBd1jOTOa/MhGXg+rBkpMPsiA0f1glLCgyWi9QEjyyhxo4VHIltq6Jn 3YJmvtTuKjY0nVbegVAT94AsVT8zGhDAAcbgr5Bj0fgMjowbxEu8ojzEgkVGGSrW1y3VHa sOHFXwUkUJwsbWWM1NbmJkf8Z7tvTVBAfnu1974+Es8NlYVaSkZoQSGh2llKLY4BwcJ+lJ elyPgAbnPCg19IV1HId8U3CK1csbTeCQI4Kg2Q5N5nclQeLZGXdGWTwuM61xkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682597070; a=rsa-sha256; cv=none; b=ODbiAMwULh1Z1cKa6zyooybhGI/gwWvYf2lx7DXfLZskvpmUiILjC556i8a8oki6sYRED4 vyZbiu2EwrxIudnDbR02Xbxzm43rnX8hottPGr1f3XMhhfDdIw+Xz7gMTg5tsEBXtT4Bi5 TGBDkc14myeF0XjvmzrlxizsesfFsCk9f56I2CC9Em1oSe7kpZU4Yzj/zhVBJmjvuGnlZy 5DHipJqSmcNH6U9Cv0JFnGIV/bmJANmmn8FmngQipeK24NTN6OicPxb6mnn8S5rMwJYkhJ uRKblGUqgOv69TzxBWI1D9t9z6FvoSHURjiiK3TQ8B+pA0pBndDHae6xqjnx8w== 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 4Q6ZCy4mv2zGp8; Thu, 27 Apr 2023 12:04:30 +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 33RC4Upo046743; Thu, 27 Apr 2023 12:04:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33RC4UUK046742; Thu, 27 Apr 2023 12:04:30 GMT (envelope-from git) Date: Thu, 27 Apr 2023 12:04:30 GMT Message-Id: <202304271204.33RC4UUK046742@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: d4d975cffa33 - main - multimedia/ffmpeg: Import compatibility patch for qt5-webengine 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: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d4d975cffa333bd1b88fcdaf1f0c8f3aa79728b9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4d975cffa333bd1b88fcdaf1f0c8f3aa79728b9 commit d4d975cffa333bd1b88fcdaf1f0c8f3aa79728b9 Author: Kai Knoblich AuthorDate: 2023-04-27 11:22:52 +0000 Commit: Daniel Engberg CommitDate: 2023-04-27 12:01:46 +0000 multimedia/ffmpeg: Import compatibility patch for qt5-webengine Add symbol for "av_stream_get_first_dts" to ffmpeg PR: 270209 --- ...h-add-av_stream_get_first_dts-for-qt5-webengine | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/multimedia/ffmpeg/files/patch-add-av_stream_get_first_dts-for-qt5-webengine b/multimedia/ffmpeg/files/patch-add-av_stream_get_first_dts-for-qt5-webengine new file mode 100644 index 000000000000..936cd1d90f26 --- /dev/null +++ b/multimedia/ffmpeg/files/patch-add-av_stream_get_first_dts-for-qt5-webengine @@ -0,0 +1,35 @@ +Add "av_stream_get_first_dts" symbol for www/qt5-webengine + +Obtained from: + +https://github.com/archlinux/svntogit-packages/blob/packages/ffmpeg/trunk/add-av_stream_get_first_dts-for-chromium.patch + +--- libavformat/avformat.h.orig 2023-02-27 20:43:45 UTC ++++ libavformat/avformat.h +@@ -1019,6 +1019,10 @@ int64_t av_stream_get_end_pts(const AVStream *st); + int64_t av_stream_get_end_pts(const AVStream *st); + #endif + ++// Chromium: We use the internal field first_dts vvv ++int64_t av_stream_get_first_dts(const AVStream *st); ++// Chromium: We use the internal field first_dts ^^^ ++ + #define AV_PROGRAM_RUNNING 1 + + /** +--- libavformat/mux_utils.c.orig 2023-02-27 20:43:45 UTC ++++ libavformat/mux_utils.c +@@ -40,6 +40,13 @@ int64_t av_stream_get_end_pts(const AVStream *st) + } + #endif + ++// Chromium: We use the internal field first_dts vvv ++int64_t av_stream_get_first_dts(const AVStream *st) ++{ ++ return cffstream(st)->first_dts; ++} ++// Chromium: We use the internal field first_dts ^^^ ++ + int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id, + int std_compliance) + {