Thanks for the reply, Wei.

I had thought so, but when I ran it against the 5.2.1 source tree, I
received the following errors:

finagle:~/Desktop/cryptopp521 % patch < crypto521gcc4patch
patching file iterhash.h
Hunk #1 FAILED at 88.
1 out of 1 hunk FAILED -- saving rejects to file iterhash.h.rej
patching file lubyrack.h
Hunk #1 FAILED at 38.
1 out of 1 hunk FAILED -- saving rejects to file lubyrack.h.rej
patching file seckey.h
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 31.
Hunk #3 FAILED at 50.
3 out of 3 hunks FAILED -- saving rejects to file seckey.h.rej
patching file dll.cpp
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 37.
2 out of 2 hunks FAILED -- saving rejects to file dll.cpp.rej
finagle:~/Desktop/cryptopp521 %


Any ideas?

> -----Original Message-----
> From: Wei Dai [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 08, 2005 12:15 PM
> To: [email protected]
> Subject: Re: gcc 4.0 on Mac OS X 10.4
>
>
> You just need the standard unix patch program. Use this command:
>
> patch < crypto521gcc4patch
>
> ----- Original Message -----
> From: "Bob McCown" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, September 08, 2005 10:32 PM
> Subject: RE: gcc 4.0 on Mac OS X 10.4
>
>
> >
> > This is a pretty basic question, but how do I apply the 4.0
> patch?  I dont
> > have dpatch on my Mac, and a bit of rummaging with google doesnt show
> > where
> > I can get it.
> >
> > Thanks in advance.
> >
> > -=Bob the Mac Newbie
> >
> >> -----Original Message-----
> >> From: Kevin Hock [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, September 07, 2005 6:16 PM
> >> To: [email protected]
> >> Subject: gcc 4.0 on Mac OS X 10.4
> >>
> >>
> >> Hi everyone,
> >>
> >> I saw the recent patch for gcc 4.0 and tried it out on Mac OS X
> >> 10.4.2. There is still one problem:
> >>
> >> c++ -g -pipe -D__pic__ -c socketft.cpp
> >> socketft.cpp: In member function 'bool
> >> CryptoPP::Socket::Accept(CryptoPP::Socket&, sockaddr*,
> >> CryptoPP::socklen_t*)':
> >> socketft.cpp:167: error: invalid conversion from
> >> 'CryptoPP::socklen_t*' to 'socklen_t*'
> >> socketft.cpp:167: error:   initializing argument 3 of 'int accept(int,
> >> sockaddr*, socklen_t*)'
> >> socketft.cpp: In member function 'void
> >> CryptoPP::Socket::GetSockName(sockaddr*, CryptoPP::socklen_t*)':
> >> socketft.cpp:178: error: invalid conversion from
> >> 'CryptoPP::socklen_t*' to 'socklen_t*'
> >> socketft.cpp:178: error:   initializing argument 3 of 'int
> >> getsockname(int, sockaddr*, socklen_t*)'
> >>
> >> It looks like socklen_t* is causing a problem. Does anyone have any
> >> suggestions for how this could be fixed?
> >>
> >> I'd be happy to supply any additional information needed or do any
> >> additional testing.
> >>
> >> Thanks,
> >>
> >> Kevin
> >>
> >>
> >
> >
>
>
>


Reply via email to