summaryrefslogtreecommitdiff
path: root/package/libupnp
diff options
context:
space:
mode:
Diffstat (limited to 'package/libupnp')
-rw-r--r--package/libupnp/libupnp-1.6.6-remove-sys_timeb.h.patch11
-rw-r--r--package/libupnp/libupnp.mk2
2 files changed, 13 insertions, 0 deletions
diff --git a/package/libupnp/libupnp-1.6.6-remove-sys_timeb.h.patch b/package/libupnp/libupnp-1.6.6-remove-sys_timeb.h.patch
new file mode 100644
index 000000000..e42539244
--- /dev/null
+++ b/package/libupnp/libupnp-1.6.6-remove-sys_timeb.h.patch
@@ -0,0 +1,11 @@
+diff -urN libupnp-1.6.6-0rig/configure libupnp-1.6.6/configure
+--- libupnp-1.6.6-0rig/configure 2008-04-25 13:47:24.000000000 +0200
++++ libupnp-1.6.6/configure 2009-01-14 21:55:16.000000000 +0100
+@@ -21096,7 +21096,6 @@
+ sys/ioctl.h \
+ sys/socket.h \
+ sys/time.h \
+- sys/timeb.h \
+ syslog.h \
+ unistd.h \
+
diff --git a/package/libupnp/libupnp.mk b/package/libupnp/libupnp.mk
index e98799e95..1bd035634 100644
--- a/package/libupnp/libupnp.mk
+++ b/package/libupnp/libupnp.mk
@@ -7,6 +7,8 @@ LIBUPNP_VERSION:=1.6.6
LIBUPNP_SOURCE:=libupnp-$(LIBUPNP_VERSION).tar.bz2
LIBUPNP_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/pupnp
+LIBUPNP_CONF_ENV = ac_cv_lib_compat_ftime=no
+
LIBUPNP_INSTALL_STAGING:=YES
$(eval $(call AUTOTARGETS,package,libupnp))