- Update to 3.1.21

PR:		ports/172098
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
Approved by:	crees, tabthorpe (mentors, implicit)
This commit is contained in:
Guido Falsi
2012-09-27 21:59:32 +00:00
parent 55e04aaebe
commit 36b26734d3
3 changed files with 3 additions and 26 deletions

View File

@@ -90,7 +90,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LATEST_LINK= squid31
SQUID_STABLE_VER= 20
SQUID_STABLE_VER= 21
CONFLICTS_INSTALL= squid-2.[0-9].* squid-3.[^1].* cacheboy-[0-9]* lusca-head-[0-9]*
GNU_CONFIGURE= yes

View File

@@ -1,2 +1,2 @@
SHA256 (squid3.1/squid-3.1.20.tar.bz2) = 33cc4d73a1ce523d341a339e2c2df896a51225d7dbd3488d0945a113c908d84c
SIZE (squid3.1/squid-3.1.20.tar.bz2) = 2559610
SHA256 (squid3.1/squid-3.1.21.tar.bz2) = eb9e26ebc2f7d992d135a1212540d46ebced9ceb4a74972ee0065477c1dc2e25
SIZE (squid3.1/squid-3.1.21.tar.bz2) = 2559469

View File

@@ -1,23 +0,0 @@
Correct two configure tests that fail whenn g++ is used instead of gcc.
--- configure.orig 2010-05-30 16:00:03.000000000 +0200
+++ configure 2010-05-30 16:00:33.000000000 +0200
@@ -48547,7 +48547,10 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h> /* for setresuid(2) on FreeBSD */
+#include <stdio.h> /* for perror(3) on FreeBSD */
#include <stdlib.h>
+#include <unistd.h> /* for setresuid(2) on FreeBSD */
int main(int argc, char **argv) {
if(setresuid(-1,-1,-1)) {
perror("setresuid:");
@@ -48632,7 +48635,7 @@
int main(int argc, char **argv)
{
int size = 20;
- char *str = malloc(size);
+ char *str = (char *)malloc(size);
memset(str, 'x', size);
strnstr(str, "fubar", size);
return 0;