From nobody Thu Sep 22 20:08:00 2022 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 4MYRD144czz4dB9g; Thu, 22 Sep 2022 20:08:01 +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 4MYRD11Bmcz3nsJ; Thu, 22 Sep 2022 20:08:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663877281; 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=WCVo/vNGbE0EPpWnRRBB8FXbm2woEUHRfqvwwPTG5h4=; b=jidyzb0NalxgBsMEDqnrjquSi1gIVAJQMsyg2zQqW0mWV9uq6kRqXU/w2ihOVZRTsGPEgE PwC4BNON7SXDtK9TKq8+gDGLVekrsPk8lIkISYW7pYXgJgCIJAuTkQSSij3Yt7aJ1t8X/K wPY9FhiVDIy1y0oa5A2s7RNPAICCAw82lVArWZd5JrgAQ2dByJ3c2IcpYknSKQpVaBR6Ov /eJXYsYSo1E+stBbcRImrFUhERZ2YoTWVZ7W733gHNR0CmmeS3M9j1pNilJMInqn/dcjG3 jlaRd+y213FYs9fI7e8YaGv6ksxYaLwKS4Gs7JB0J6My1XmCjy2sTCd4/1HWvg== 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 4MYRD10JzYzWN9; Thu, 22 Sep 2022 20:08:01 +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 28MK80IW037129; Thu, 22 Sep 2022 20:08:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28MK80WX037128; Thu, 22 Sep 2022 20:08:00 GMT (envelope-from git) Date: Thu, 22 Sep 2022 20:08:00 GMT Message-Id: <202209222008.28MK80WX037128@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: f4e709b14073 - main - audio/alacenc: fix build on POWER / RISC-V 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f4e709b14073b3b2f05a9b4ec3a024ff3a206874 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663877281; 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=WCVo/vNGbE0EPpWnRRBB8FXbm2woEUHRfqvwwPTG5h4=; b=kj0bP/cv7qACHqE3abNEaTg4ey4bXrqHK70xZcmhD0wnL/QNVCv9uWwteC16SLS7NXyqFs tfeoYJhGrk+yRyj2Q57bG+Mos9OuSaIfKseK1O4UhdfW4YZ+j1nkt/fUPqMXV4BPWOsI0E Xi1/bdP5HG5Y/Rjgy+NaTk2Mrl7cXFlFYuwXt1KOVkbTux5SnTanyJ6byM20PlptFmCX2e pr+b8PKUdClnOjCmcbJCSdZ6X8kUeSD27ly3W7x7y2KnExUu744o/xbzFUesNhx7wIy+N+ fmUtcHWuvjWNqejlq9J5raqrltuF5zU4ojibmrXI850vdRVOofbbjegtbuxrxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663877281; a=rsa-sha256; cv=none; b=X3ENEVcXxz0Y/AyrFyZmqR0Zaz3qjRgyq+FYtD4zngZOw7pX9HSzLgi/6LV8ezID5diJM0 hNGLdxgfTpWhQGjpJH5gzAfkdviPREL4efz3mbMfR01kDxKmMQ1dE+Cb2MQWEM3+jvYpg6 cYwjLUpXIBusJ31IBwm6tVeD4a1XdpiZWK5esbhlXaKV4u2l3OCDYGNGfjh3GCSIm5jDSs DJuTf8wdEuaQMtLOwD9G2UDM/wAugrfPL+MX6OOBa1OKuB6brCs/zJ5DFMr5/qeo93gBB7 9Hb4sL2qRth8JRGUESnUje2ydXbDsVNi9fQb+4zO2XP6/72UGYX7Kk3aE5Lb5g== 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=f4e709b14073b3b2f05a9b4ec3a024ff3a206874 commit f4e709b14073b3b2f05a9b4ec3a024ff3a206874 Author: Piotr Kubaj AuthorDate: 2022-09-22 18:18:47 +0000 Commit: Piotr Kubaj CommitDate: 2022-09-22 20:07:47 +0000 audio/alacenc: fix build on POWER / RISC-V --- audio/alacenc/files/patch-vendor_alac_codec_EndianPortable.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audio/alacenc/files/patch-vendor_alac_codec_EndianPortable.c b/audio/alacenc/files/patch-vendor_alac_codec_EndianPortable.c new file mode 100644 index 000000000000..8287212b0479 --- /dev/null +++ b/audio/alacenc/files/patch-vendor_alac_codec_EndianPortable.c @@ -0,0 +1,11 @@ +--- vendor/alac/codec/EndianPortable.c.orig 2022-09-22 17:41:40 UTC ++++ vendor/alac/codec/EndianPortable.c +@@ -37,6 +37,8 @@ + #define TARGET_RT_LITTLE_ENDIAN 1 + #elif defined(__aarch64__) + #define TARGET_RT_LITTLE_ENDIAN 1 ++#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ++#define TARGET_RT_LITTLE_ENDIAN 1 + #elif defined (TARGET_OS_WIN32) + #define TARGET_RT_LITTLE_ENDIAN 1 + #endif