On Sun, Jan 15, 2006 at 11:07:19PM -0500, Alexander K. Hansen wrote:
> On 1/15/06, Remi Mommsen <[EMAIL PROTECTED]> wrote:
> > On Jan 15, 2006, at 11:11 AM, Remi Mommsen wrote:
> > >
> > > I tried a while ago to install gnomemeeting, but failed due to
> > > pwlib. After today's update of pwlib in 10.4-t/unstable by Dan, I
> > > gave it another spin, but failed due the same issue with
> > > conflicting types of socklen_t:
[...]
> > > pmachdep.h:448: conflicting
> > >    types for `typedef int socklen_t'
> > > /usr/include/sys/socket.h:99: previous declaration as `typedef
> > >    __darwin_socklen_t socklen_t'
> > >
> > > Has anybody been successful in getting pwlib to compile on Tiger?
> >
> > After some more googling, I found various bit and pieces of patches
> > for pwlib. I collected them replaced the existing pwlib.patch. With
> > this patch, pwlib builds fine. I put the complete patch into my
> > experimental tree at experimental/mommsen/10.4-transitional/crypto.
> >
> > Let me know if I shall commit it to 10.4-transitional/unstable.
> 
> Remi's patch works here (10.4.4, XCode 2.2) as well.

socklen_t is also declared in 10.3 headers. I just removed the typedef
for it from pmachdep.h, and it built fine on my 10.3 box. So you could
adjust the patch to do the typedef for <=10.2, or just scrap the
typedef altogether, and commit (with rev-up due to the addition of the
pssl.cxx patch) to both 10.3 and 10.4T.

The reason that the socklen_t issue isn't seen on 10.3 is that Apple
declares it as int, so there's no problem when the source redeclares
it as int. On 10.4, Apple changed its socklen_t.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to