mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Fix build with clang.
PR: ports/158177 (after fixing a typo :) Submitted by: Niclas Zeising <niclas.zeising@gmail.com>
This commit is contained in:
parent
d62766a5e4
commit
db268f50e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276088
@ -16,6 +16,8 @@ COMMENT= A fast & configurable redirector for the Squid
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
|
||||
|
||||
USE_CSTD= gnu89
|
||||
|
||||
SQUID_UID?= squid
|
||||
SQUID_GID?= squid
|
||||
|
||||
|
11
www/squirm/files/patch-squirm.c
Normal file
11
www/squirm/files/patch-squirm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- squirm.c.orig 2011-06-23 00:02:30.000000000 +0200
|
||||
+++ squirm.c 2011-06-23 00:02:46.000000000 +0200
|
||||
@@ -88,7 +88,7 @@
|
||||
print buff to stdout
|
||||
*/
|
||||
if(strlen(in_buff->url) <= 4) {
|
||||
- logprint(LOG_FAIL, "strlen in_buff->url = [%d] in main()\n",
|
||||
+ logprint(LOG_FAIL, "strlen in_buff->url = [%zu] in main()\n",
|
||||
strlen(in_buff->url));
|
||||
return 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user