Bug fixes for OS X 10.5.8 PPC squid-3.2.0.16

From: Kevin Doughty <socallednonflipped_at_gmail.com>
Date: Tue, 3 Apr 2012 16:43:22 -0400

OS X 10.5.8 PPC
Squid-3.2.0.16-20120401-r11543
./configure --enable-ipfw-transparent --enable-ssl --enable-ecap
--enable-icap-client

hno in #squid irc recommended I send an email.
These are the changes that enabled me to successfully compile 3.2.0.16.
These fixes worked for me, that's all I'm saying.
I am very inexperienced with squid, and the python icap_server is
working in only the most basic sense.

Yesterday I filed bug 3527:
cc1plus was treating warnings as errors, and Eui48.cc had two unused variables.
I changed line 161:
struct arpreq; /*arpReq;*/
I changed line 163:
/*struct sockaddr_in *sa = NULL;*/

I also added a comment for bug 3380, but hno suggested it might not be
acceptable.
I added this to line 10, before the #include <sys/system.h>
#define __darwin_size_t size_t

This is a link to an apple source code header where CMSG_SPACE is defined,
if anyone wants to try and track down a better solution:
http://opensource.apple.com/source/xnu/xnu-1228.3.13/bsd/sys/socket.h
Received on Tue Apr 03 2012 - 22:53:41 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 04 2012 - 12:00:04 MDT