[vlc-devel] commit: contrib: fix libvorbis compilation for WinCE (Pierre Ynard )
git version control
git at videolan.org
Fri Nov 13 22:31:41 CET 2009
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Fri Nov 13 22:31:01 2009 +0100| [5a88cc85d2d5775148154b8297605896a4fca153] | committer: Pierre Ynard
contrib: fix libvorbis compilation for WinCE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a88cc85d2d5775148154b8297605896a4fca153
---
extras/contrib/src/Makefile | 3 +++
extras/contrib/src/Patches/vorbis-noapps.patch | 12 ++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 69d9a2c..a6d1828 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -715,6 +715,9 @@ libvorbis-$(VORBIS_VERSION).tar.gz:
libvorbis: libvorbis-$(VORBIS_VERSION).tar.gz
$(EXTRACT_GZ)
+ifdef HAVE_WINCE
+ patch -p0 < Patches/vorbis-noapps.patch
+endif
.vorbis: libvorbis .ogg
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
diff --git a/extras/contrib/src/Patches/vorbis-noapps.patch b/extras/contrib/src/Patches/vorbis-noapps.patch
new file mode 100644
index 0000000..447a93b
--- /dev/null
+++ b/extras/contrib/src/Patches/vorbis-noapps.patch
@@ -0,0 +1,12 @@
+diff -urNp libvorbis.orig/Makefile.in libvorbis/Makefile.in
+--- libvorbis.orig/Makefile.in 2009-07-10 04:19:15.000000000 +0200
++++ libvorbis/Makefile.in 2009-11-13 22:23:38.000000000 +0100
+@@ -227,7 +227,7 @@ target_vendor = @target_vendor@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.6 foreign dist-zip dist-bzip2
+-SUBDIRS = m4 include vq lib examples test doc
++SUBDIRS = m4 include vq lib doc
+ m4datadir = $(datadir)/aclocal
+ m4data_DATA = vorbis.m4
+ pkgconfigdir = $(libdir)/pkgconfig
More information about the vlc-devel
mailing list