<html><body>
<DIV>Will this patch compile on os x.</DIV>
<DIV> </DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message -------------- <BR>From: Christian Henz <henz@c-lab.de> <BR><BR>> Am Freitag, 3. Februar 2006 12:12 schrieb Christophe Mutricy: <BR>> > On Thu, Feb 02, 06 at 12:52 +0100, Christophe Mutricy wrote: <BR>> > > > There are patches on the SourceForge page for FreeBSD and Win32. <BR>> > > > (http://sourceforge.net/tracker/?group_id=7189&atid=307189) <BR>> > > <BR>> > > I'll try to put it in our contrib OS. <BR>> > <BR>> > The patch seems to apply cleanly. just it's a strange format and you <BR>> > have to help patch. if someone want a clean unified patch, just ask. <BR>> > <BR>> <BR>> I am also playing around with this using mingw32 in Debian. <BR>> There are some compilation errors, and some linker errors. <BR>> I have attached a patch that fixes the compilation errors (applies <BR>> to libupnp-1.2.1a). There are also errors when using GCC 4! (3.3, 3.4 work) <BR>> <BR>> Linking does not work yet with the available Makefiles. I had success manually <BR>> linking the .dll files though (ixml.dll, threadutil.dll, upnp.dll). <BR>> <BR>> I also moved around the inet_pton.h/.c files and made sure that inet_pton.c is <BR>> actually built. <BR>> <BR>> > Intel upnp requires pthread. That's the blocker at the moment. Until <BR>> > now, we don't use pthread in the win32 contrib. There is a pthread-win32 <BR>> > LGPL lib so i'll try it and see if it add a lot of weight to the <BR>> > package. <BR>> > <BR>> > <BR>> > -- <BR>> > Xtophe <BR>> <BR>> cheers, <BR>> Christian </BLOCKQUOTE></body></html>