Re: [squid-users] [PATCH] Squid 3.1.4 not building under OpenBSD 4.6

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 02 Jun 2010 23:45:24 +1200

Silamael wrote:
> On 06/02/2010 08:54 AM, Silamael wrote:
>> Hello!
>>
>> Yesterday i tried to build the new version of Squid on OpenBSD 4.6.
>> Unfortunately there's some problem in src/mem.cc. new_pool_limit is of
>> type size_t which is a long unsigned int. In line 359 a -1 is written
>> into new_pool_limit. Newer g++ versions seems to accept this as valid
>> but OpenBSD's g++ 3.3.5 complains about it.
>> Attached is a small patch to fix this.
>>
>> PS: Your bugzilla site seems to be down at moment. I'm just getting some
>> Perl error messages.
>>
>> -- Matthias
>
> Further looked into this and for me it now just seems to be a typo.
> In MemPools::setIdleLimit the argument type is ssize_t.
> The new patch attached should fix this properly.
>
> -- Matthias
>

Aye. Our build farm systems caught this mere hours after release :(
Sorry about that. The patch for BSD systems is at:
   http://www.squid-cache.org/Versions/v3/3.1/changesets/

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Wed Jun 02 2010 - 11:45:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 02 2010 - 12:00:03 MDT