aboutsummaryrefslogtreecommitdiff
path: root/www/squirm
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-06-22 23:20:04 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-06-22 23:20:04 +0000
commitdb268f50e53ff8f1f3b316668385c5c54d8b22ef (patch)
tree07b07f5d11d31898f2cc98236a396e70b63b58a5 /www/squirm
parentd62766a5e44998a64258e50d90e9f1c46c7c9d3f (diff)
Notes
Diffstat (limited to 'www/squirm')
-rw-r--r--www/squirm/Makefile2
-rw-r--r--www/squirm/files/patch-squirm.c11
2 files changed, 13 insertions, 0 deletions
diff --git a/www/squirm/Makefile b/www/squirm/Makefile
index badaf849cdc4..b9c889fdc5c0 100644
--- a/www/squirm/Makefile
+++ b/www/squirm/Makefile
@@ -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
diff --git a/www/squirm/files/patch-squirm.c b/www/squirm/files/patch-squirm.c
new file mode 100644
index 000000000000..c3cd74e775a8
--- /dev/null
+++ b/www/squirm/files/patch-squirm.c
@@ -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;
+ }