summaryrefslogtreecommitdiff
path: root/audio/faad2/patches
diff options
context:
space:
mode:
authordrochner <drochner>2009-08-11 11:16:37 +0000
committerdrochner <drochner>2009-08-11 11:16:37 +0000
commit2898d813f8365d9033b2ccdd36b68621b31feb87 (patch)
tree26e78758b966cf806be0ffb72bd60d4764442b5c /audio/faad2/patches
parent29fa438152c080ade321b020076dd1a0f25ef0c7 (diff)
downloadpkgsrc-2898d813f8365d9033b2ccdd36b68621b31feb87.tar.gz
make the installed include files more consistent: don't rely
on HAVE_STDINT_H defined by the client app, don't install mp4ffint.h which is purely internal, fix build of the xmms plugin, bump PKGREVISION
Diffstat (limited to 'audio/faad2/patches')
-rw-r--r--audio/faad2/patches/patch-ab4
-rw-r--r--audio/faad2/patches/patch-af14
-rw-r--r--audio/faad2/patches/patch-ar4
-rw-r--r--audio/faad2/patches/patch-at12
-rw-r--r--audio/faad2/patches/patch-au7
-rw-r--r--audio/faad2/patches/patch-av23
6 files changed, 26 insertions, 38 deletions
diff --git a/audio/faad2/patches/patch-ab b/audio/faad2/patches/patch-ab
index 54fc8dbc0a7..036f40423c8 100644
--- a/audio/faad2/patches/patch-ab
+++ b/audio/faad2/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2009/08/10 00:01:56 tnn Exp $
+$NetBSD: patch-ab,v 1.5 2009/08/11 11:16:38 drochner Exp $
--- frontend/Makefile.am.orig 2009-02-06 17:03:37.000000000 +0100
+++ frontend/Makefile.am
@@ -12,7 +12,7 @@ $NetBSD: patch-ab,v 1.4 2009/08/10 00:01:56 tnn Exp $
faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
- $(top_builddir)/common/mp4ff/libmp4ff.a
-+ $(top_builddir)/common/mp4ff/.libs/libmp4ff.a
++ $(top_builddir)/common/mp4ff/libmp4ff.la
faad_SOURCES = main.c \
- audio.c audio.h \
diff --git a/audio/faad2/patches/patch-af b/audio/faad2/patches/patch-af
index 18368469850..ee95465f598 100644
--- a/audio/faad2/patches/patch-af
+++ b/audio/faad2/patches/patch-af
@@ -1,17 +1,13 @@
-$NetBSD: patch-af,v 1.3 2007/12/09 10:55:32 drochner Exp $
+$NetBSD: patch-af,v 1.4 2009/08/11 11:16:38 drochner Exp $
---- common/mp4ff/mp4ff_int_types.h.orig 2005-02-01 14:15:55.000000000 +0100
+--- common/mp4ff/mp4ff_int_types.h.orig 2008-11-24 22:52:45.000000000 +0100
+++ common/mp4ff/mp4ff_int_types.h
-@@ -1,3 +1,5 @@
-+#include "config.h"
-+
- #ifndef _MP4FF_INT_TYPES_H_
- #define _MP4FF_INT_TYPES_H_
-
-@@ -15,7 +17,16 @@ typedef unsigned __int64 uint64_t;
+@@ -19,7 +19,18 @@ typedef unsigned __int64 uint64_t;
#else
++#include "faad2-config.h"
++
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
diff --git a/audio/faad2/patches/patch-ar b/audio/faad2/patches/patch-ar
index 69026f87296..cd7a1f6cf1e 100644
--- a/audio/faad2/patches/patch-ar
+++ b/audio/faad2/patches/patch-ar
@@ -1,4 +1,4 @@
-$NetBSD: patch-ar,v 1.4 2009/08/10 00:01:56 tnn Exp $
+$NetBSD: patch-ar,v 1.5 2009/08/11 11:16:38 drochner Exp $
--- plugins/xmms/src/Makefile.am.orig 2009-01-26 23:51:44.000000000 +0100
+++ plugins/xmms/src/Makefile.am
@@ -8,7 +8,7 @@ $NetBSD: patch-ar,v 1.4 2009/08/10 00:01:56 tnn Exp $
-libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
- $(top_builddir)/common/mp4ff/libmp4ff.a
-+libmp4_la_LIBADD = $(top_builddir)/common/mp4ff/libmp4ff.a
++libmp4_la_LIBADD = -L$(prefix)/lib -lmp4ff -lfaad
-libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) -lpthread
+libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
diff --git a/audio/faad2/patches/patch-at b/audio/faad2/patches/patch-at
deleted file mode 100644
index 5f7948e1058..00000000000
--- a/audio/faad2/patches/patch-at
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-at,v 1.4 2009/08/10 00:01:56 tnn Exp $
-
---- frontend/main.c.orig 2008-09-22 19:55:09.000000000 +0200
-+++ frontend/main.c
-@@ -44,6 +44,7 @@
- #include <getopt.h>
-
- #include <neaacdec.h>
-+#include <mp4ff_int_types.h> /* for uint32_t */
- #include <mp4ff.h>
-
- #include "audio.h"
diff --git a/audio/faad2/patches/patch-au b/audio/faad2/patches/patch-au
index 268409c049a..7bfc476cab6 100644
--- a/audio/faad2/patches/patch-au
+++ b/audio/faad2/patches/patch-au
@@ -1,11 +1,12 @@
-$NetBSD: patch-au,v 1.2 2009/08/10 00:01:56 tnn Exp $
+$NetBSD: patch-au,v 1.3 2009/08/11 11:16:38 drochner Exp $
--- common/mp4ff/Makefile.am.orig 2009-02-06 15:24:21.000000000 +0100
+++ common/mp4ff/Makefile.am
-@@ -1,7 +1,8 @@
+@@ -1,7 +1,7 @@
-lib_LIBRARIES = libmp4ff.a
+-include_HEADERS = mp4ff.h mp4ffint.h
+lib_LTLIBRARIES = libmp4ff.la
- include_HEADERS = mp4ff.h mp4ffint.h
++include_HEADERS = mp4ff.h mp4ff_int_types.h
-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
+libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
diff --git a/audio/faad2/patches/patch-av b/audio/faad2/patches/patch-av
index 8b5aa3ae212..0054e49b9f8 100644
--- a/audio/faad2/patches/patch-av
+++ b/audio/faad2/patches/patch-av
@@ -1,13 +1,16 @@
-$NetBSD: patch-av,v 1.2 2009/08/10 00:01:56 tnn Exp $
+$NetBSD: patch-av,v 1.3 2009/08/11 11:16:38 drochner Exp $
---- common/mp4ff/mp4ff.h.orig 2009-01-29 01:41:08.000000000 +0100
-+++ common/mp4ff/mp4ff.h
-@@ -37,6 +37,8 @@ extern "C" {
+--- ./common/mp4ff/mp4ff.h.orig 2009-01-29 01:41:08.000000000 +0100
++++ ./common/mp4ff/mp4ff.h
+@@ -35,11 +35,7 @@
+ extern "C" {
+ #endif /* __cplusplus */
- #ifdef HAVE_STDINT_H
- #include <stdint.h>
-+#elif defined(HAVE_INTTYPES_H)
-+#include <inttypes.h>
- #else
+-#ifdef HAVE_STDINT_H
+-#include <stdint.h>
+-#else
#include "mp4ff_int_types.h"
- #endif
+-#endif
+
+ /* file callback structure */
+ typedef struct