aboutsummaryrefslogtreecommitdiffstats
path: root/audio/faad/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-19 03:21:13 +0800
committerlioux <lioux@FreeBSD.org>2003-01-19 03:21:13 +0800
commit7d3b6f49b0fb4acd5e30b3a9720307968e3f7e34 (patch)
treece2a340c924a8a34653d56d37570eddaed080d90 /audio/faad/files
parent5c91bef149f4d405b8664c488e493dd31b336e02 (diff)
downloadfreebsd-ports-gnome-7d3b6f49b0fb4acd5e30b3a9720307968e3f7e34.tar.gz
freebsd-ports-gnome-7d3b6f49b0fb4acd5e30b3a9720307968e3f7e34.tar.zst
freebsd-ports-gnome-7d3b6f49b0fb4acd5e30b3a9720307968e3f7e34.zip
New port faad version 1.1: A LC, MAIN and LTP profile, MPEG2 and
MPEG-4 AAC decoder PR: 46884 Submitted by: Sean McGovern <sean@sfarc.net>
Diffstat (limited to 'audio/faad/files')
-rw-r--r--audio/faad/files/patch-common-mp4v2-configure.in16
-rw-r--r--audio/faad/files/patch-configure.in26
-rw-r--r--audio/faad/files/patch-frontend-Makefile.am8
-rw-r--r--audio/faad/files/patch-frontend-audio.c11
4 files changed, 61 insertions, 0 deletions
diff --git a/audio/faad/files/patch-common-mp4v2-configure.in b/audio/faad/files/patch-common-mp4v2-configure.in
new file mode 100644
index 000000000000..c0c163e070d5
--- /dev/null
+++ b/audio/faad/files/patch-common-mp4v2-configure.in
@@ -0,0 +1,16 @@
+--- common/mp4v2/configure.in.orig Wed Jan 8 19:45:23 2003
++++ common/mp4v2/configure.in Wed Jan 8 19:45:57 2003
+@@ -1,11 +1,12 @@
+ AC_INIT()
++AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE(mpeg4ip,0.9.2.8,dummy)
+
+ AC_PROG_CC
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+
+-AM_PROG_LIBTOOL
++AC_PROG_LIBTOOL
+
+ AM_CONFIG_HEADER(config.h)
+
diff --git a/audio/faad/files/patch-configure.in b/audio/faad/files/patch-configure.in
new file mode 100644
index 000000000000..c490f5f6ec97
--- /dev/null
+++ b/audio/faad/files/patch-configure.in
@@ -0,0 +1,26 @@
+--- configure.in.orig Fri Aug 9 03:23:28 2002
++++ configure.in Wed Jan 8 19:20:59 2003
+@@ -1,8 +1,9 @@
+-AC_INIT()
++AC_INIT
++AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE(faad,2.0)
+
+ AC_PROG_CC
+-AM_PROG_LIBTOOL
++AC_PROG_LIBTOOL
+ AC_SUBST(LIBTOOL_DEPS)
+
+ dnl Checks for programs.
+@@ -29,8 +30,9 @@
+ ])
+ fi
+
+-AC_OUTPUT_COMMANDS(,[cd common/mp4v2; aclocal -I .; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -])
++AC_CONFIG_COMMANDS([default-1],[[]],[[cd common/mp4v2; aclocal -I . -I /usr/local/share/aclocal; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]])
+
+ AC_CONFIG_SUBDIRS(common/mp4v2)
+
+-AC_OUTPUT(libfaad/Makefile common/Makefile frontend/Makefile Makefile)
++AC_CONFIG_FILES([libfaad/Makefile common/Makefile frontend/Makefile Makefile])
++AC_OUTPUT
diff --git a/audio/faad/files/patch-frontend-Makefile.am b/audio/faad/files/patch-frontend-Makefile.am
new file mode 100644
index 000000000000..8d030ac757ca
--- /dev/null
+++ b/audio/faad/files/patch-frontend-Makefile.am
@@ -0,0 +1,8 @@
+--- frontend/Makefile.am.orig Thu Jul 25 10:22:25 2002
++++ frontend/Makefile.am Wed Jan 8 21:30:40 2003
+@@ -6,4 +6,4 @@
+ CFLAGS = -O2 -D_FILE_OFFSET_BITS=64
+ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
+ LDFLAGS =
+-LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile
++LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile -lgnugetopt
diff --git a/audio/faad/files/patch-frontend-audio.c b/audio/faad/files/patch-frontend-audio.c
new file mode 100644
index 000000000000..4c9fedcec4f6
--- /dev/null
+++ b/audio/faad/files/patch-frontend-audio.c
@@ -0,0 +1,11 @@
+--- frontend/audio.c.orig Thu Jul 25 08:42:54 2002
++++ frontend/audio.c Wed Jan 8 20:52:34 2003
+@@ -52,7 +52,7 @@
+ break;
+ }
+ aufile->sfinfo.channels = channels;
+- aufile->sfinfo.samples = 0;
++ aufile->sfinfo.frames = 0;
+ #ifdef _WIN32
+ if(infile[0] == '-')
+ {