garbage collect gcc3 patches: gcc3 architectures are history and
celt won't compile with gcc2 anyway. naddy@ agrees.
This commit is contained in:
parent
c797c23c02
commit
6c80f42a16
@ -1,9 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2012/04/20 13:25:34 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2012/04/21 13:15:52 dcoppa Exp $
|
||||
|
||||
COMMENT = ultra-low delay audio codec
|
||||
|
||||
DISTNAME = celt-0.11.3
|
||||
|
||||
REVISION = 0
|
||||
|
||||
EPOCH = 0
|
||||
|
||||
CATEGORIES = audio
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2012/04/20 13:25:34 dcoppa Exp $
|
||||
|
||||
-Wextra is not supported by gcc < 4.
|
||||
|
||||
--- configure.orig Mon Mar 14 23:05:13 2011
|
||||
+++ configure Wed Apr 18 11:19:35 2012
|
||||
@@ -11789,7 +11789,7 @@ CFLAGS="$saved_CFLAGS $SYMBOL_VISIBILITY"
|
||||
fi
|
||||
|
||||
if test $ac_cv_c_compiler_gnu = yes ; then
|
||||
- CFLAGS="$CFLAGS -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare"
|
||||
+ CFLAGS="$CFLAGS -W -Wstrict-prototypes -Wall -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare"
|
||||
fi
|
||||
|
||||
for ac_func in lrintf
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-libcelt_celt_c,v 1.5 2012/04/20 13:25:34 dcoppa Exp $
|
||||
|
||||
Allow building with gcc3.
|
||||
|
||||
--- libcelt/celt.c.orig Fri Mar 11 23:38:07 2011
|
||||
+++ libcelt/celt.c Wed Apr 18 11:19:35 2012
|
||||
@@ -400,8 +400,8 @@ static void compute_mdcts(const CELTMode *mode, int sh
|
||||
/** Compute the IMDCT and apply window for all sub-frames and
|
||||
all channels in a frame */
|
||||
static void compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig *X,
|
||||
- celt_sig * restrict out_mem[],
|
||||
- celt_sig * restrict overlap_mem[], int _C, int LM)
|
||||
+ celt_sig * restrict * out_mem,
|
||||
+ celt_sig * restrict * overlap_mem, int _C, int LM)
|
||||
{
|
||||
int c;
|
||||
const int C = CHANNELS(_C);
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-libcelt_pitch_c,v 1.4 2012/04/20 13:25:34 dcoppa Exp $
|
||||
|
||||
Allow building with gcc3.
|
||||
|
||||
--- libcelt/pitch.c.orig Wed Apr 18 11:22:14 2012
|
||||
+++ libcelt/pitch.c Wed Apr 18 11:22:53 2012
|
||||
@@ -99,7 +99,7 @@ static void find_best_pitch(celt_word32 *xcorr, celt_w
|
||||
}
|
||||
|
||||
#include "plc.h"
|
||||
-void pitch_downsample(celt_sig * restrict x[], celt_word16 * restrict x_lp,
|
||||
+void pitch_downsample(celt_sig * restrict * x, celt_word16 * restrict x_lp,
|
||||
int len, int _C)
|
||||
{
|
||||
int i;
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-libcelt_pitch_h,v 1.2 2012/04/20 13:25:34 dcoppa Exp $
|
||||
|
||||
Allow building with gcc3.
|
||||
|
||||
--- libcelt/pitch.h.orig Wed Apr 18 11:22:18 2012
|
||||
+++ libcelt/pitch.h Wed Apr 18 11:23:14 2012
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include "modes.h"
|
||||
|
||||
-void pitch_downsample(celt_sig * restrict x[], celt_word16 * restrict x_lp,
|
||||
+void pitch_downsample(celt_sig * restrict * x, celt_word16 * restrict x_lp,
|
||||
int len, int _C);
|
||||
|
||||
void pitch_search(const celt_word16 * restrict x_lp, celt_word16 * restrict y,
|
Loading…
x
Reference in New Issue
Block a user