2.4 compiling on osx

From: Matt Richard <M_Richard@dont-contact.us>
Date: Mon, 07 May 2001 12:39:05 -0400

Hi,

I had to make the following change on src/asn.c to get 2.4STABLE1 to
compile on Mac OS 10.0.2. To me, it doesn't look like a big deal,
but if I am totally out in left field I'd appreciate if someone could
let me know.

I got the changes from /usr/include/net/radix.h that comes with OSX
10.0.2 and just copied them into asn.c that comes with squid.

I did "./configure --host=powerpc-darwin-bsd" to set it up, then just
"make" to compile it.

It seems to work well so far, and I'm hoping to throw it into
production soon if I don't have any problems.

Here's my diff between the original and my changes, for src/asn.c:

96c96,103
< extern struct radix_node *rn_lookup(void *, void *, void *);

---
>  extern struct radix_node
>           *rn_addmask __P((void *, int, int)),
>           *rn_addroute __P((void *, void *, struct radix_node_head *,
>                          struct radix_node [2])),
>           *rn_delete __P((void *, void *, struct radix_node_head *)),
>           *rn_lookup __P((void *v_arg, void *m_arg,
>                          struct radix_node_head *head)),
>           *rn_match __P((void *, struct radix_node_head *));
-- 
Matt Richard
Access and Security Coordinator
Franklin & Marshall College
P.O. Box 3003
Lancaster, PA 17604-3003
PH: 717-291-4157
FAX: 717-291-4196
e-mail: m_richard@fandm.edu
Received on Mon May 07 2001 - 10:51:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:00 MST