new package:

- add package libupnp
This commit is contained in:
Stephan Raue 2009-10-22 09:13:09 +02:00
parent 225c951bd4
commit 1fb6fb80e4
3 changed files with 41 additions and 0 deletions

19
packages/sysutils/libupnp/build Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
cd $BUILD/$1*
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=$LIB_PREFIX \
--disable-shared \
--enable-client \
--disable-device \
--disable-webserver \
--disable-samples \
--without-docdir \
--enable-tools
make
make install

View File

@ -0,0 +1,21 @@
--- libupnp-1.4.1.old/upnp/src/soap/soap_device.c
+++ libupnp-1.4.1/upnp/src/soap/soap_device.c
@@ -69,9 +69,6 @@
static const char *Soap_Action_Failed = "Action Failed";
static const char *Soap_Invalid_Var = "Invalid Var";
-const char *ContentTypeHeader =
- "CONTENT-TYPE: text/xml; charset=\"utf-8\"\r\n";
-
/****************************************************************************
* Function : get_request_type
*
@@ -1074,3 +1071,8 @@
#endif // EXCLUDE_SOAP
#endif // INCLUDE_DEVICE_APIS
+
+#if (!defined INCLUDE_DEVICE_APIS && defined INCLUDE_CLIENT_APIS) || defined INCLUDE_DEVICE_APIS
+ const char *ContentTypeHeader =
+ "CONTENT-TYPE: text/xml; charset=\"utf-8\"\r\n";
+#endif

View File

@ -0,0 +1 @@
http://prdownloads.sourceforge.net/pupnp/libupnp-1.6.6.tar.bz2