From nobody Tue Mar 12 15:54:44 2024 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 4TvJ9x0qPHz5F41l; Tue, 12 Mar 2024 15:54:45 +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 4TvJ9w751Nz3xd4; Tue, 12 Mar 2024 15:54:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710258885; 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=950MgY5lJDw5D+7Sy6LlnLy9pykFHHqwYN1i1x0Xuw4=; b=lErWFA48gYP3buQ3dCvybnM8WH7xjcs9zabvhjLN8XTfsZxIvtyoYqTsQmuRAWitVjcpIj G6aSwQ8DXw6pbgVJWOuZBqCAss3yH3ubYTHDESnB5wG+1dt9yrllG2RNbD5geqNVI2cyQZ OVxtYsfwU+yluYH1EK4OoAsJZldu/mZUtyStuqLJNLvDs0JNFmJUaiWcM+d1n/RExWekX2 MqVBJL7ucYGqgvjLTtO44sRBl6TyLxu/g8cvYg1UEFhv1/DDECTHYVonJmQ6sZgf+vqxq9 uFrufJ46eD0bRwpXCgUKr9tkqAWSiZ7ckPjH4uWbpY/v/Nylz523X+ywEcdWNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710258885; a=rsa-sha256; cv=none; b=Z9+cJEclKjbRJ23yWB1wE5PHuo20ebAoKaBXIHjpyDfu0EyfNw8WxCdUdQDBS49F+x3VC7 fenypsYmibfsY8P1Y1agb8EQOZ96JAq625KlyUjfZfgdmAmNvgHeq0K7jlpd3H7bZFkqfg g+jeUGq213+/9hzIaICijk2AdBJKy1GHWt3E488EGEiBcSWggj6GE+hcJXWDVpbn+lxezA PhVZ21UjNJ6dXNvY3wzXuKC+JQ/d/4r1uy8WuNd9NjNnBowF9QJmu2rsQbDou75bpqYJvz WFd0rIYAhU5KHAR61KtD/kOhoYrDrH2R0M70aFj9HKfa0MqONDhrK8mUS9DRJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710258885; 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=950MgY5lJDw5D+7Sy6LlnLy9pykFHHqwYN1i1x0Xuw4=; b=l645kqtLiorr8mxjGx2+fboLiqI/xA0WC/cPDbeCxrW2VHb+5HT5TI5aF8PK+XFDC0R056 TL9WUG2NH41CKZn0Bud/IFYvm0qJCvy+sXmaU3QqVVwMAVJXMdEzOct106zMwB00WifVzF 2viWc2DTcoL6lhluEo9Fd11OCBTk+l6YOUvTZ5cz2Lm+TU32kfRqI1T8Vgd/H30S4nl9Zg cxJMsXNMIb6oMjLL5xCExNdcDmZhGCkDsE/DnoiAqOl60mrIBxK4ztDeyM4DXimFH4U5D2 IwIODQ/KisD+JDK078Fv0Wb1mYLTP9eyDgD17WpiQcP5t2HWDg2QzPSV0+Sf0A== 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 4TvJ9w6hXkz1K9V; Tue, 12 Mar 2024 15:54:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42CFsi03001235; Tue, 12 Mar 2024 15:54:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42CFsiXR001232; Tue, 12 Mar 2024 15:54:44 GMT (envelope-from git) Date: Tue, 12 Mar 2024 15:54:44 GMT Message-Id: <202403121554.42CFsiXR001232@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Christian Weisgerber Subject: git: a1c197fb10cb - main - audio/opus: fix build on arm 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: naddy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1c197fb10cb282953644a53f46288358fe99a47 Auto-Submitted: auto-generated The branch main has been updated by naddy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1c197fb10cb282953644a53f46288358fe99a47 commit a1c197fb10cb282953644a53f46288358fe99a47 Author: Christian Weisgerber AuthorDate: 2024-03-12 15:48:02 +0000 Commit: Christian Weisgerber CommitDate: 2024-03-12 15:54:39 +0000 audio/opus: fix build on arm * fix the build on 32-bit arm[1] * GitHub does not have a release tarball for this release[2] PR: 277537 Obtained from: fuz [1] Reported by: diizzy [2] --- audio/opus/Makefile | 3 +-- audio/opus/files/patch-dnn_vec__neon.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/audio/opus/Makefile b/audio/opus/Makefile index f5fa1e8c8dc8..9c564b45660f 100644 --- a/audio/opus/Makefile +++ b/audio/opus/Makefile @@ -1,8 +1,7 @@ PORTNAME= opus DISTVERSION= 1.5.1 CATEGORIES= audio -MASTER_SITES= https://downloads.xiph.org/releases/opus/ \ - https://github.com/xiph/opus/releases/download/v${DISTVERSION}/ +MASTER_SITES= https://downloads.xiph.org/releases/opus/ MAINTAINER= naddy@FreeBSD.org COMMENT= IETF audio codec diff --git a/audio/opus/files/patch-dnn_vec__neon.h b/audio/opus/files/patch-dnn_vec__neon.h new file mode 100644 index 000000000000..645f72579741 --- /dev/null +++ b/audio/opus/files/patch-dnn_vec__neon.h @@ -0,0 +1,11 @@ +--- dnn/vec_neon.h.orig 2024-03-12 15:41:06 UTC ++++ dnn/vec_neon.h +@@ -34,7 +34,7 @@ + #include + #include "os_support.h" + +-#if defined(__arm__) && !defined(__aarch64__) ++#if __ARM_ARCH < 8 + /* Emulate vcvtnq_s32_f32() for ARMv7 Neon. */ + static OPUS_INLINE int32x4_t vcvtnq_s32_f32(float32x4_t x) { + return vrshrq_n_s32(vcvtq_n_s32_f32(x, 8), 8);