pkgsrc/audio/libopus/patches/patch-configure
ryoon 51425d9e51 Change PKGNAME to libopus from opus, follow directory name,
and update to 1.1

Changelog:
Opus 1.1 includes:

    new analysis code and tuning that significantly improves encoding quality, especially for variable-bitrate (VBR),
    automatic detection of speech or music to decide which encoding mode to use,
    surround with good quality at 128 kbps for 5.1 and usable down to 48 kbps, and
    speed improvements on all architectures, especially ARM, where decoding uses around 40% less CPU and encoding uses around 30% less CPU.
2014-01-02 14:43:21 +00:00

36 lines
1 KiB
Text

$NetBSD: patch-configure,v 1.1 2014/01/02 14:43:21 ryoon Exp $
* Fix "Syntax error: Bad substitution" error on NetBSD
From http://svnweb.freebsd.org/ports/head/audio/opus/files/patch-configure?revision=336843&view=co
--- configure.orig 2014-01-02 13:28:21.000000000 +0000
+++ configure
@@ -12774,9 +12774,9 @@ fi
fi
if test x"$rtcd_support" != x""; then :
- rtcd_support=ARM"$rtcd_support"
+ rtcd_support=ARM"$rtcd_support" ;
else
- rtcd_support="no"
+ rtcd_support="no" ;
fi
@@ -12807,7 +12807,7 @@ else
CPU_ARM_FALSE=
fi
- if test x"${inline_optimization:0:3}" = x"ARM"; then
+ if expr x"${inline_optimization}" : x"ARM" >/dev/null; then
OPUS_ARM_INLINE_ASM_TRUE=
OPUS_ARM_INLINE_ASM_FALSE='#'
else
@@ -12815,7 +12815,7 @@ else
OPUS_ARM_INLINE_ASM_FALSE=
fi
- if test x"${asm_optimization:0:3}" = x"ARM"; then
+ if expr x"${asm_optimization}" : x"ARM" >/dev/null; then
OPUS_ARM_EXTERNAL_ASM_TRUE=
OPUS_ARM_EXTERNAL_ASM_FALSE='#'
else