Browse Source

fix musl compile

Waldemar Brodkorb 10 năm trước cách đây
mục cha
commit
e7fffcd9f7
2 tập tin đã thay đổi với 12 bổ sung1 xóa
  1. 1 1
      package/squid/Makefile
  2. 11 0
      package/squid/patches/patch-lib_rfcnb_rfcnb-io_c

+ 1 - 1
package/squid/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		squid
 PKG_VERSION:=		3.4.4
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_MD5SUM:=		b36ab3696485a86b43d9194ac9b6b7fe
 PKG_DESCR:=		squid web and cache proxy
 PKG_SECTION:=		proxy

+ 11 - 0
package/squid/patches/patch-lib_rfcnb_rfcnb-io_c

@@ -0,0 +1,11 @@
+--- squid-3.4.4.orig/lib/rfcnb/rfcnb-io.c	2014-03-09 10:40:56.000000000 +0100
++++ squid-3.4.4/lib/rfcnb/rfcnb-io.c	2014-03-27 09:28:30.000000000 +0100
+@@ -30,7 +30,7 @@
+ #include "rfcnb/rfcnb-util.h"
+ #include "rfcnb/std-includes.h"
+ #include <sys/uio.h>
+-#include <sys/signal.h>
++#include <signal.h>
+ 
+ #if HAVE_STRING_H
+ #include <string.h>