From f52c1200516b78ef4f1a5fde3f5a2e0fec87f586 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sat, 29 Sep 2018 14:39:16 +0000 Subject: [PATCH] Fix build with ECAP OPTION PR: 231631 Submitted by: w.schwarzenfeld@utanet.at (patch file) Reported by: riggs Approved by: timp87@gmail.com (maintainer) --- www/squid3/Makefile | 1 + www/squid3/files/patch-ServiceRep.cc | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 www/squid3/files/patch-ServiceRep.cc diff --git a/www/squid3/Makefile b/www/squid3/Makefile index 70533ca2c7b0..16af2055f3d6 100644 --- a/www/squid3/Makefile +++ b/www/squid3/Makefile @@ -2,6 +2,7 @@ PORTNAME= squid PORTVERSION= 3.5.28 +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ http://www2.us.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ diff --git a/www/squid3/files/patch-ServiceRep.cc b/www/squid3/files/patch-ServiceRep.cc new file mode 100644 index 000000000000..69e067f5be0c --- /dev/null +++ b/www/squid3/files/patch-ServiceRep.cc @@ -0,0 +1,11 @@ +--- src/adaptation/ecap/ServiceRep.cc.orig 2018-09-24 18:34:06 UTC ++++ src/adaptation/ecap/ServiceRep.cc +@@ -234,7 +234,7 @@ bool Adaptation::Ecap::ServiceRep::probe + + bool Adaptation::Ecap::ServiceRep::up() const + { +- return theService; ++ return bool(theService); + } + + bool Adaptation::Ecap::ServiceRep::wantsUrl(const String &urlPath) const