Remove references to sys/timeb.h in libupnp configure, ftime is removed from source...
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 14 Jan 2009 22:07:17 +0000 (22:07 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 14 Jan 2009 22:07:17 +0000 (22:07 -0000)
package/libupnp/libupnp-1.6.6-remove-sys_timeb.h.patch [new file with mode: 0644]
package/libupnp/libupnp.mk

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 (file)
index 0000000..e425392
--- /dev/null
@@ -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 \
index e98799e9524f229621b48a325139154a349ed7ff..1bd0356347a15a45591ca2ceb4d67f2f4e315fd4 100644 (file)
@@ -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))