[vlc-commits] Contribs: fix dvbpsi compilation
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 29 02:27:48 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 29 02:27:08 2011 +0200| [17d34915dcd78bfae832a96e1a9e8625e17b3f33] | committer: Jean-Baptiste Kempf
Contribs: fix dvbpsi compilation
And fix ts/mux_ts modules
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17d34915dcd78bfae832a96e1a9e8625e17b3f33
---
extras/contrib/src/Patches/libdvbpsi_example.patch | 12 ++++++++++++
extras/contrib/src/contrib-src.mak | 1 +
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Patches/libdvbpsi_example.patch b/extras/contrib/src/Patches/libdvbpsi_example.patch
new file mode 100644
index 0000000..1b884d0
--- /dev/null
+++ b/extras/contrib/src/Patches/libdvbpsi_example.patch
@@ -0,0 +1,12 @@
+--- libdvbpsi/examples/decode_mpeg.c 2010-02-12 11:17:47.000000000 +0100
++++ libdvbpsi.new/examples/decode_mpeg.c 2011-04-29 02:21:40.758841339 +0200
+@@ -529,8 +529,8 @@
+
+ int i_fd = -1;
+ int i_mtu = 1316; /* (7 * 188) = 1316 < 1500 network MTU */
+-#ifdef HAVE_SYS_SOCKET_H
+ int i_report = REPORT_UDP; /* REPORT_PCR REPORT_UDP */
++#ifdef HAVE_SYS_SOCKET_H
+ int i_port = 0;
+ char *ipaddress = NULL;
+ #endif
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index f429697..e4b8f55 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -1278,6 +1278,7 @@ libdvbpsi-$(LIBDVBPSI_VERSION).tar.gz:
libdvbpsi: libdvbpsi-$(LIBDVBPSI_VERSION).tar.gz
$(EXTRACT_GZ)
+ patch -p0 < Patches/libdvbpsi_example.patch
.dvbpsi: libdvbpsi
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --enable-release && cd src && make && make install)
More information about the vlc-commits
mailing list