Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 15:16:26 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379611 - in head/www/squid33: . files
Message-ID:  <201502221516.t1MFGQab090349@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Feb 22 15:16:25 2015
New Revision: 379611
URL: https://svnweb.freebsd.org/changeset/ports/379611
QAT: https://qat.redports.org/buildarchive/r379611/

Log:
  www/squid33: Fix [-Werror=logical-not-parentheses] (gcc5)
  
  Fix logical evaluation of condition (caught by gcc5)

Added:
  head/www/squid33/files/patch-src_repl_heap_store__repl__heap.cc   (contents, props changed)
Modified:
  head/www/squid33/Makefile

Modified: head/www/squid33/Makefile
==============================================================================
--- head/www/squid33/Makefile	Sun Feb 22 15:15:45 2015	(r379610)
+++ head/www/squid33/Makefile	Sun Feb 22 15:16:25 2015	(r379611)
@@ -3,7 +3,7 @@
 
 PORTNAME=	squid
 PORTVERSION=	3.3.${SQUID_STABLE_VER}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
 		http://www2.us.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \

Added: head/www/squid33/files/patch-src_repl_heap_store__repl__heap.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/squid33/files/patch-src_repl_heap_store__repl__heap.cc	Sun Feb 22 15:16:25 2015	(r379611)
@@ -0,0 +1,11 @@
+--- src/repl/heap/store_repl_heap.cc.orig	2014-08-27 14:16:59 UTC
++++ src/repl/heap/store_repl_heap.cc
+@@ -221,7 +221,7 @@ heap_purgeNext(RemovalPurgeWalker * walk
+ 
+ try_again:
+ 
+-    if (!heap_nodes(heap->theHeap) > 0)
++    if (heap_nodes(heap->theHeap) <= 0)
+         return NULL;		/* done */
+ 
+     age = heap_peepminkey(heap->theHeap);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502221516.t1MFGQab090349>