[vlc-commits] commit: Contribs, Libupnp: fix compilation issue (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Wed Nov 3 17:15:48 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Nov  3 17:15:13 2010 +0100| [3b9c2b89bcb781938c034d6da17aec88e42b2d6f] | committer: Jean-Baptiste Kempf 

Contribs, Libupnp: fix compilation issue

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b9c2b89bcb781938c034d6da17aec88e42b2d6f
---

 extras/contrib/src/Patches/libupnp-mingw.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/Patches/libupnp-mingw.patch b/extras/contrib/src/Patches/libupnp-mingw.patch
index a928026..596e8b7 100644
--- a/extras/contrib/src/Patches/libupnp-mingw.patch
+++ b/extras/contrib/src/Patches/libupnp-mingw.patch
@@ -38,3 +38,15 @@
  	#define EAFNOSUPPORT 97
  #endif
  
+diff -ruN libupnp/threadutil/inc/ithread.h libupnp.new/threadutil/inc/ithread.h
+--- libupnp/threadutil/inc/ithread.h	2008-03-22 17:36:03.000000000 +0100
++++ libupnp.new/threadutil/inc/ithread.h	2010-11-02 15:33:43.544547707 +0100
+@@ -35,7 +35,7 @@
+ extern "C" {
+ #endif
+ 
+-
++#undef HAVE_CONFIG_H
+ #include <pthread.h>
+ #ifndef WIN32
+ 	#include <unistd.h>



More information about the vlc-commits mailing list