diff --git a/audio/opus/Makefile b/audio/opus/Makefile index f5fa1e8c8dc8..9c564b45660f 100644 --- a/audio/opus/Makefile +++ b/audio/opus/Makefile @@ -1,27 +1,26 @@ 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 WWW= https://opus-codec.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake libtool pathfix CPE_VENDOR= opus-codec USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-custom-modes \ --enable-dred \ --enable-osce \ --disable-doc # requires doxygen CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} INSTALL_TARGET= install-strip TEST_TARGET= check .include 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);