From nobody Thu Dec 8 21:13:11 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 4NSn1g3vdTz4jT5h; Thu, 8 Dec 2022 21:13:11 +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 4NSn1g3TWKz3Q42; Thu, 8 Dec 2022 21:13:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670533991; 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=Z+e6gJdxBIzn+t8heZgtBX7Lhap00VMVwlBiuMd7vmA=; b=hfU8Mjs6zBCSsQfd+lJxoYeWUEARzCXBIe5mG9nAxTwBBVI80jg7rO9En3bbWbhX6EVTv0 cs6MXpRO119WaLSGgCtw4XRUVhEXxLoH2obAHS/bYl4E/qQmFaP3hND9dOh20j/oLJA/ih l3A7USTMc8vwNdTqHHJGKL8DWkWyBsrOIXKqw/25xxBh6dVZBTsIctIxX8R/QYHNYfWbeK 68r4p2bw4kw6qxFugIlIPkmglrToWbdt4A8o7cEXmoiWjU0Bs0bkNDCG1DyoBwI7DuR17N EXO2sEa0/Jt4Z3b4dtTHWAtMV/HdwVimCtlgtCB9Et/cmgUo+zRan+EIlwB5Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670533991; 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=Z+e6gJdxBIzn+t8heZgtBX7Lhap00VMVwlBiuMd7vmA=; b=hDdVu1Zn9dzdv8uIMwpEXgZGEYjlQCxczfFacE2h6Cgbz0fLUT2c7ATtpKqxu5YzvDfR4N VZ5unegVD2vsPmtBFd56ZzAbr/9O5goSAZDogoCMq0f0iN3lKwKcNRbh8jjBqSsx1ctSYj +ADxAwTbV7sezXoDl3Mm6Ak0GwuRmbdwHd233XR2lOeykxF3kx1EO15BLQFobjmGjqBGV0 7YUlOWLEHrAeOrVECyotBvsS1iXhdg6XYxMwRwLVgWVs7W3gafo0vXP7H0Ghxs6xdo4p0e 7EuVYYeuHDIXNkqRfl0V90EY/QhWcpIKDeWKH7pspf1hzr9t0FTte3DhGfJ7QA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670533991; a=rsa-sha256; cv=none; b=sBYV+4crrkpqxtqiwIepD46ja+WOljaBKbotr/N7rqHIl/wWeIJKzBttbLAmjz7el6x2Gw a+6y6KYPdoF0tL1cx01/muT61GEjse9hleI3ZPMiBaxlChiYIsnQQTO+YbYPO5rKK9COgY kURpn14piEcTZ85lc9d3glrKN1zBZbU25PY4oXX9DKayuAdejmy8wBQa5HE48u+QXnEm1V vyMzb5a36PurVFZWR6KcGQDHQoSJ8yMZ34/6DcxhUrA12qtqybwGPNe+AUZ3aZAly9rsv+ emJJA0SQj40bQk6ounRCAuoiIjHQMf1GMiSNBd1X7BXN8WrX5Y4pJVEijKrQuw== 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 4NSn1g2bB1z18rq; Thu, 8 Dec 2022 21:13:11 +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 2B8LDBWO000432; Thu, 8 Dec 2022 21:13:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B8LDBAV000431; Thu, 8 Dec 2022 21:13:11 GMT (envelope-from git) Date: Thu, 8 Dec 2022 21:13:11 GMT Message-Id: <202212082113.2B8LDBAV000431@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: 7e7399cc86dd - main - multimedia/gpac-libgpac: 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: 7e7399cc86dd957e73e5cd778ea625bc2d4a6e8e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e7399cc86dd957e73e5cd778ea625bc2d4a6e8e commit 7e7399cc86dd957e73e5cd778ea625bc2d4a6e8e Author: Piotr Kubaj AuthorDate: 2022-12-08 21:12:52 +0000 Commit: Piotr Kubaj CommitDate: 2022-12-08 21:12:52 +0000 multimedia/gpac-libgpac: fix build on big-endian evg/raster_yuv.c:1329:2: error: use of undeclared identifier 'ptr' get_u16_le(dstc, dst); ^ evg/raster_yuv.c:1294:55: note: expanded from macro 'get_u16_le' --- multimedia/gpac-libgpac/files/patch-src_evg_raster__yuv.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/multimedia/gpac-libgpac/files/patch-src_evg_raster__yuv.c b/multimedia/gpac-libgpac/files/patch-src_evg_raster__yuv.c new file mode 100644 index 000000000000..1df26219359e --- /dev/null +++ b/multimedia/gpac-libgpac/files/patch-src_evg_raster__yuv.c @@ -0,0 +1,11 @@ +--- src/evg/raster_yuv.c.orig 2022-12-08 16:12:27 UTC ++++ src/evg/raster_yuv.c +@@ -1291,7 +1291,7 @@ GF_Err evg_surface_clear_yuyv(GF_EVGSurface *_surf, GF + #define set_u16_le(_ptr, val) { ((u8 *)_ptr)[0] = (val>>8)&0xFF; ((u8 *)_ptr)[1] = (val&0xFF); } + #define set_u16_be(_ptr, val) { *(u16 *) _ptr = (u16) val; } + +-#define get_u16_le(val, _ptr) { val = ((u32) (*(u8 *) ptr+1)<< 8) | *(u8 *) ptr; } ++#define get_u16_le(val, _ptr) { val = ((u32) (*(u8 *) _ptr+1)<< 8) | *(u8 *) _ptr; } + #define get_u16_be(val, _ptr) { val = *(u16 *) (_ptr); } + + #else