diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/a52dec/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/a52dec/files')
4 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/a52dec/files/a52dec-0.7.4-build.patch b/media-libs/a52dec/files/a52dec-0.7.4-build.patch new file mode 100644 index 000000000000..f3a29f303ceb --- /dev/null +++ b/media-libs/a52dec/files/a52dec-0.7.4-build.patch @@ -0,0 +1,27 @@ +diff -Naur a52dec-0.7.4.orig/liba52/Makefile.am a52dec-0.7.4/liba52/Makefile.am +--- a52dec-0.7.4.orig/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800 ++++ a52dec-0.7.4/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800 +@@ -1,4 +1,3 @@ +-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@ + + lib_LTLIBRARIES = liba52.la + +diff -Naur a52dec-0.7.4.orig/liba52/configure.incl a52dec-0.7.4/liba52/configure.incl +--- a52dec-0.7.4.orig/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800 ++++ a52dec-0.7.4/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800 +@@ -2,7 +2,6 @@ + AC_SUBST([LIBA52_LIBS]) + + dnl avoid -fPIC when possible +-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic" + + AC_ARG_ENABLE([double], + [ --enable-double use double-precision samples]) +diff -Naur a52dec-0.7.4.orig/src/Makefile.am a52dec-0.7.4/src/Makefile.am +--- a52dec-0.7.4.orig/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700 ++++ a52dec-0.7.4/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800 +@@ -1,4 +1,3 @@ +-CFLAGS = @A52DEC_CFLAGS@ + + bin_PROGRAMS = a52dec extract_a52 + a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c diff --git a/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch b/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch new file mode 100644 index 000000000000..6e33f18911b3 --- /dev/null +++ b/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch @@ -0,0 +1,11 @@ +--- libao/audio_out_oss.c 2002-04-28 12:23:02 +0200 ++++ libao/audio_out_oss.c 2005-07-23 15:42:50 +0200 +@@ -35,7 +35,7 @@ + #if defined(__OpenBSD__) + #include <soundcard.h> + #elif defined(__FreeBSD__) +-#include <machine/soundcard.h> ++#include <sys/soundcard.h> + #ifndef AFMT_S16_NE + #include <machine/endian.h> + #if BYTE_ORDER == LITTLE_ENDIAN diff --git a/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch b/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch new file mode 100644 index 000000000000..9ff949dd9c08 --- /dev/null +++ b/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch @@ -0,0 +1,19 @@ +2010-07-26 Martin Rejman <martin.rejman@centrum.cz> + + #327369 + * test/globals: bad_globals: Use readelf and ignore hidden symbols + +--- a/test/globals 2010-07-07 20:37:49.000000000 +0200 ++++ b/test/globals 2010-07-07 20:37:57.000000000 +0200 +@@ -12,8 +12,9 @@ + srcdir=`cd $srcdir;pwd` + builddir=`cd $builddir;pwd` + +-bad_globals=`nm -g --defined-only $builddir/../liba52/*.o|\ +- awk '{if ($3) print $3}'|grep -v '^_\?a52_'` ++bad_globals=`readelf -s $builddir/../liba52/*.o |\ ++ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\ ++ grep -v '^_\?a52_'` + + if test x"$bad_globals" != x""; then + echo BAD GLOBAL SYMBOLS: diff --git a/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch b/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch new file mode 100644 index 000000000000..6958ef7b4904 --- /dev/null +++ b/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch @@ -0,0 +1,10 @@ +Index: a52dec-0.7.4/test/Makefile.am +=================================================================== +--- a52dec-0.7.4.orig/test/Makefile.am ++++ a52dec-0.7.4/test/Makefile.am +@@ -1,4 +1,4 @@ +-noinst_PROGRAMS = compare ++check_PROGRAMS = compare + compare_SOURCES = compare.c + compare_LDADD = -lm + |