From nobody Thu Mar 9 09:49:26 2023 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 4PXPXk5g3cz3wSBp; Thu, 9 Mar 2023 09:49:26 +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 4PXPXk590Cz4Xw5; Thu, 9 Mar 2023 09:49:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678355366; 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=8AtRklXcwY8pOmGv4MH0z6ci1c45mvFOb4G3/aOYoiw=; b=SwuKISKCrA8HV6WqZCtbaA6JMz/9LBn4R7thxNnkLaoyRbkIp/1+hd15X49ON2BAe8fEVP ccdH9EMQfpWJLk1mC0Rb0+DhTMTGbUIH6Ah/38jIsioEA7NAGaoH9ZlH3tqomV5rQAwvYv 4gEeIdck5jxVrpL43dd/pEEYN4BvI4InuZDT9e6aMTosObQTKvhB/gwOjD49axAPDxC4Qs SC4Kyq0vl/MpL3alQH6SjOwcF2YW9Y9s/eNUmI8UDkHSsXaG1blAxPu+lnfKHikLBS+aGg RrITHzKjydrg2Z/NupJfnr33t0Fw5mfAXG6hQOSO61LfCRMr30QUq9mW7iHWLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678355366; 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=8AtRklXcwY8pOmGv4MH0z6ci1c45mvFOb4G3/aOYoiw=; b=KI2LAkHlc7guH/jUgAL1IEugy5XuBEIIz9N4fFmfYO1CI22r9yJJmo6i8qwQJjNGynp7vg 8qlWo/nWq5hi051AetNuozjcceBCTX65kbaWpsZVGRYjwp8KExx0IypvodBrmzvYkDYx82 rj2Vko2DGt5O0IW/FxoYu5/oQOvxxIZfzWj0TuMe4nvI/NQSRQlCDJxVmxY8Add1sMqPzS 4u3mQ8Zl62G2Ka9YL8pBXsEgKmM6rWxiLGLeQRtElPabcjQyGzMeTvzGFIalL2Vl918cnI kPzsvrCxF3bDJoQIyVJQPnfiymX5AdnO5LF1RgWjeqtPJZVGuzMwswWE0YRVRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678355366; a=rsa-sha256; cv=none; b=yKugx3ch2J51NZe8EYNrY+vhF5D40QAWFFnDBTCchscO9+JFQAX59KbGDg+Qa+kJqQLvHV wlBtnnmCX4Vma3Ktbrof3C6qyxq71k4t8CTvZa//m3sGrd+JIwz8K45x1sdP+rnHsDwZIo D1cr7POJBABTu1wkJjJmIXhIX6oIDOD6vhTieCoFOcoO3LueRadiZ36Zrx6kdW8XzM/3UA veofDJvVmcNplbZTGp7qaesdIy/Qzcq7oTe6Zq5KnLG3EctD/ZfztWBP1NWEldskiRdgDU JUBN9M7APQDbZvUPA2+UDM/rFXZO2UbfTcYfTpjOYo0dfvb4AEYt31TQQeTV0A== 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 4PXPXk4CV3z1300; Thu, 9 Mar 2023 09:49:26 +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 3299nQdV056594; Thu, 9 Mar 2023 09:49:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3299nQ1d056593; Thu, 9 Mar 2023 09:49:26 GMT (envelope-from git) Date: Thu, 9 Mar 2023 09:49:26 GMT Message-Id: <202303090949.3299nQ1d056593@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: cd3dd014178f - main - multimedia/vvenc: 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: cd3dd014178f296fa95d3496460423c4f84c3ccb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd3dd014178f296fa95d3496460423c4f84c3ccb commit cd3dd014178f296fa95d3496460423c4f84c3ccb Author: Piotr Kubaj AuthorDate: 2023-03-09 09:48:55 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-09 09:48:55 +0000 multimedia/vvenc: fix build on big-endian ld: error: duplicate symbol: vvenc::byteReverse(unsigned int*, unsigned int) >>> defined at PicYuvMD5.cpp >>> source/Lib/vvenc/CMakeFiles/vvenc.dir/__/CommonLib/PicYuvMD5.cpp.o:(vvenc::byteReverse(unsigned int*, unsigned int)) >>> defined at EncGOP.cpp >>> source/Lib/vvenc/CMakeFiles/vvenc.dir/__/EncoderLib/EncGOP.cpp.o:(.text+0x0) --- multimedia/vvenc/files/patch-source_Lib_CommonLib_MD5.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/multimedia/vvenc/files/patch-source_Lib_CommonLib_MD5.h b/multimedia/vvenc/files/patch-source_Lib_CommonLib_MD5.h new file mode 100644 index 000000000000..76f1f524d043 --- /dev/null +++ b/multimedia/vvenc/files/patch-source_Lib_CommonLib_MD5.h @@ -0,0 +1,16 @@ +--- source/Lib/CommonLib/MD5.h.orig 2023-03-07 19:25:15 UTC ++++ source/Lib/CommonLib/MD5.h +@@ -57,11 +57,11 @@ static const uint32_t MD5_DIGEST_STRING_LENGTH=16; + #ifndef __BIG_ENDIAN__ + # define byteReverse(buf, len) /* Nothing */ + #else +-void byteReverse(uint32_t *buf, unsigned len); ++static void byteReverse(uint32_t *buf, unsigned len); + /* + * Note: this code is harmless on little-endian machines. + */ +-void byteReverse(uint32_t *buf, unsigned len) ++static void byteReverse(uint32_t *buf, unsigned len) + { + uint32_t t; + do {