Fix build with ECAP OPTION
PR: 231631 Submitted by: w.schwarzenfeld@utanet.at (patch file) Reported by: riggs Approved by: timp87@gmail.com (maintainer)
This commit is contained in:
parent
958436ab56
commit
f52c120051
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480908
2 changed files with 12 additions and 0 deletions
|
@ -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}/ \
|
||||
|
|
11
www/squid3/files/patch-ServiceRep.cc
Normal file
11
www/squid3/files/patch-ServiceRep.cc
Normal file
|
@ -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
|
Loading…
Reference in a new issue