diff options
Diffstat (limited to 'contrib/libdvdnav')
-rw-r--r-- | contrib/libdvdnav/A00-log-stderr.patch | 12 | ||||
-rw-r--r-- | contrib/libdvdnav/P00-mingw-no-examples.patch | 21 | ||||
-rw-r--r-- | contrib/libdvdnav/module.defs | 9 | ||||
-rw-r--r-- | contrib/libdvdnav/module.rules | 2 |
4 files changed, 44 insertions, 0 deletions
diff --git a/contrib/libdvdnav/A00-log-stderr.patch b/contrib/libdvdnav/A00-log-stderr.patch new file mode 100644 index 000000000..36435dce8 --- /dev/null +++ b/contrib/libdvdnav/A00-log-stderr.patch @@ -0,0 +1,12 @@ +diff -Naur libdvdnav.orig/src/dvdnav_internal.h libdvdnav/src/dvdnav_internal.h +--- libdvdnav.orig/src/dvdnav_internal.h 2008-10-03 13:11:43.000000000 -0700 ++++ libdvdnav/src/dvdnav_internal.h 2009-04-24 14:23:04.000000000 -0700 +@@ -60,7 +60,7 @@ + #endif /* WIN32 */ + + /* where should libdvdnav write its messages (stdout/stderr) */ +-#define MSG_OUT stdout ++#define MSG_OUT stderr + + /* Maximum length of an error string */ + #define MAX_ERR_LEN 255 diff --git a/contrib/libdvdnav/P00-mingw-no-examples.patch b/contrib/libdvdnav/P00-mingw-no-examples.patch new file mode 100644 index 000000000..0e0618617 --- /dev/null +++ b/contrib/libdvdnav/P00-mingw-no-examples.patch @@ -0,0 +1,21 @@ +diff -Naur libdvdnav.orig/Makefile.am libdvdnav/Makefile.am +--- libdvdnav.orig/Makefile.am 2008-10-03 16:11:46.000000000 -0400 ++++ libdvdnav/Makefile.am 2009-04-24 02:53:15.000000000 -0400 +@@ -1,7 +1,7 @@ + include $(top_srcdir)/misc/Makefile.common + + +-SUBDIRS = src examples doc misc m4 ++SUBDIRS = src doc misc m4 + + EXTRA_DIST = autogen.sh \ + AUTHORS \ +diff -Naur libdvdnav.orig/configure.ac libdvdnav/configure.ac +--- libdvdnav.orig/configure.ac 2009-01-08 17:57:11.000000000 -0500 ++++ libdvdnav/configure.ac 2009-04-24 02:52:34.000000000 -0400 +@@ -252,5 +252,4 @@ + misc/relchk.sh + m4/Makefile + doc/Makefile +-examples/Makefile + ]) diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs new file mode 100644 index 000000000..4134146c7 --- /dev/null +++ b/contrib/libdvdnav/module.defs @@ -0,0 +1,9 @@ +$(eval $(call import.MODULE.defs,LIBDVDNAV,libdvdnav,LIBDVDREAD)) +$(eval $(call import.CONTRIB.defs,LIBDVDNAV)) + +LIBDVDNAV.FETCH.url = http://download.m0k.org/handbrake/contrib/libdvdnav-svn1168.tar.gz +LIBDVDNAV.EXTRACT.tarbase = libdvdnav + +LIBDVDNAV.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; + +LIBDVDNAV.CONFIGURE.extra += --with-dvdread-config=$(call fn.ABSOLUTE,$(CONTRIB.build/)bin/dvdread-config) diff --git a/contrib/libdvdnav/module.rules b/contrib/libdvdnav/module.rules new file mode 100644 index 000000000..8d23cca92 --- /dev/null +++ b/contrib/libdvdnav/module.rules @@ -0,0 +1,2 @@ +$(eval $(call import.MODULE.rules,LIBDVDNAV)) +$(eval $(call import.CONTRIB.rules,LIBDVDNAV)) |