From nobody Tue Jan 4 18:17:54 2022 X-Original-To: dev-commits-ports-all@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 0B2E91929B55; Tue, 4 Jan 2022 18:17:57 +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 4JT17R15vHz3Fff; Tue, 4 Jan 2022 18:17:54 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3134E1DA4F; Tue, 4 Jan 2022 18:17:54 +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 204IHswl039264; Tue, 4 Jan 2022 18:17:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 204IHs4X039263; Tue, 4 Jan 2022 18:17:54 GMT (envelope-from git) Date: Tue, 4 Jan 2022 18:17:54 GMT Message-Id: <202201041817.204IHs4X039263@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: f6e17b1726ba - main - multimedia/av1an: fix build on big-endian List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6e17b1726baff072878a53cdcd19e31a9d33454 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641320275; 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=gjxh4/taJ+C1VDa2xVkySIHaWghrWQz4pdC0hrR29mw=; b=jl0KB4iHAaFUD3JlIS+lVfQDnNElMxK5ZhrKGD+PJlc5iuQ6J+zyMcJhzlL0wxjnRA4blg /Kp0ajXfFSs0kijgtIBHQciCu4XDtJjYokshm1/cKtCefAdXWoJp2fOdF0FPOJ/nmsv6Zo reFNT2d9zX2I+AddalIPRkHHaY03aID+cuWISvE6p27pbu1A16K6G6ZgwVypWIubZUFeWO GOxZuXSEankphf/1mNQ4c8A3g6MHqPbhIWkvMUoUdpPekbDxil86UMm05DUnqbVMfofUga HFrrOFjC20sxNqEGmEioSq/sCEE8D/70wKfWCRuyYEHI66GwBihXGWbGSP803g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641320275; a=rsa-sha256; cv=none; b=qbHlLEyuVJZSGqU3lyc20ooaUrw3aOoIMK/t3T0t0w5kDt/yHM5BA8V/64ZMD9nfm73G5t KAvXNbKCfBQz8DBtvdFiQINuEOOZUchZZVQ+PJBbjHfBwi6BoQqxsvnQ4aGVKRLjiDEAaY fvHSrtTooJkusZxdLhGdwNOfIPGVK3p/jUjxNieiA0QuVZ31ON/pB6lKqzFanOcCwqsrZN KkGu3MwILnUV3hL4f0lCUnFPCY8NuHWdgnhz42OzXa3iM6+/4I9uenSXFnujJL7V/bM3cL 419mwdANzStoFv8xbDKTpWoTUlAmD3C7geW2krGu6JYY+9hGSGGnUi/mJJawIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6e17b1726baff072878a53cdcd19e31a9d33454 commit f6e17b1726baff072878a53cdcd19e31a9d33454 Author: Piotr Kubaj AuthorDate: 2022-01-04 18:11:39 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-04 18:11:39 +0000 multimedia/av1an: fix build on big-endian 1. patch-powerpc is similar to the one other ports use. 2. Additionally, add a missing endianness check. --- ...crates_ffmpeg-sys-next-4.4.0_src_avutil_pixfmt.rs | 10 ++++++++++ multimedia/av1an/files/patch-powerpc | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/multimedia/av1an/files/patch-cargo-crates_ffmpeg-sys-next-4.4.0_src_avutil_pixfmt.rs b/multimedia/av1an/files/patch-cargo-crates_ffmpeg-sys-next-4.4.0_src_avutil_pixfmt.rs new file mode 100644 index 000000000000..b567c08cd69f --- /dev/null +++ b/multimedia/av1an/files/patch-cargo-crates_ffmpeg-sys-next-4.4.0_src_avutil_pixfmt.rs @@ -0,0 +1,10 @@ +--- cargo-crates/ffmpeg-sys-next-4.4.0/src/avutil/pixfmt.rs.orig 2022-01-03 20:02:01 UTC ++++ cargo-crates/ffmpeg-sys-next-4.4.0/src/avutil/pixfmt.rs +@@ -35,6 +35,7 @@ pub const AV_PIX_FMT_BGR555: AVPixelFormat = AV_PIX_FM + #[cfg(target_endian = "little")] + pub const AV_PIX_FMT_BGR444: AVPixelFormat = AV_PIX_FMT_BGR444LE; + ++#[cfg(target_endian = "little")] + pub const AV_PIX_FMT_YUV420P9: AVPixelFormat = AV_PIX_FMT_YUV420P9LE; + #[cfg(target_endian = "little")] + pub const AV_PIX_FMT_YUV422P9: AVPixelFormat = AV_PIX_FMT_YUV422P9LE; diff --git a/multimedia/av1an/files/patch-powerpc b/multimedia/av1an/files/patch-powerpc new file mode 100644 index 000000000000..89cf5d021970 --- /dev/null +++ b/multimedia/av1an/files/patch-powerpc @@ -0,0 +1,20 @@ +--- cargo-crates/crossbeam-epoch-0.9.5/no_atomic.rs.orig 1970-01-01 00:00:00 UTC ++++ cargo-crates/crossbeam-epoch-0.9.5/no_atomic.rs +@@ -30,6 +30,7 @@ const NO_ATOMIC_64: &[&str] = &[ + "mipsel-unknown-none", + "mipsisa32r6-unknown-linux-gnu", + "mipsisa32r6el-unknown-linux-gnu", ++ "powerpc-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "powerpc-unknown-linux-gnuspe", + "powerpc-unknown-linux-musl", +--- cargo-crates/crossbeam-utils-0.8.5/no_atomic.rs.orig 1970-01-01 00:00:00 UTC ++++ cargo-crates/crossbeam-utils-0.8.5/no_atomic.rs +@@ -30,6 +30,7 @@ const NO_ATOMIC_64: &[&str] = &[ + "mipsel-unknown-none", + "mipsisa32r6-unknown-linux-gnu", + "mipsisa32r6el-unknown-linux-gnu", ++ "powerpc-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "powerpc-unknown-linux-gnuspe", + "powerpc-unknown-linux-musl",