瀏覽代碼

Remove references to sys/timeb.h in libupnp configure, ftime is removed from source already

Ulf Samuelsson 16 年之前
父節點
當前提交
30ffbbe5ad
共有 2 個文件被更改,包括 13 次插入0 次删除
  1. 11 0
      package/libupnp/libupnp-1.6.6-remove-sys_timeb.h.patch
  2. 2 0
      package/libupnp/libupnp.mk

+ 11 - 0
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 \
+ 

+ 2 - 0
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))