On Tue, Feb 18, 2003 at 10:10:41AM -0800, Kris Kennaway wrote:
> On Tue, Feb 18, 2003 at 12:47:35PM +0100, Richard Nyberg wrote:
> > On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote:
> > > Kris Kennaway <[EMAIL PROTECTED]> writes:
> > > > http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log
> > > 
> > > The code that fails to compile is blatantly wrong:
> > > 
> > >     memset(schedule, 0, sizeof(schedule));
> > > 
> > 
> > I think this is due to the openssl upgrade.
> > DES_key_schedule was an array but is now a struct.
> > 
> > You would have to something like this to make it work now:
> > memset(&schedule, 0, sizeof(schedule));
> 
> Could you please submit a patch to the maintainer?

Actually, this works since the port does -I/usr/include/openssl:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/netatalk/Makefile,v
retrieving revision 1.48
diff -c -c -r1.48 Makefile
*** Makefile    5 Jan 2003 23:42:00 -0000       1.48
--- Makefile    18 Feb 2003 18:39:46 -0000
***************
*** 23,28 ****
--- 23,29 ----
  .endif
  
  USE_BZIP2=    yes
+ CONFIGURE_ENV+=       CPPFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY
  CONFIGURE_ARGS+=      --with-tcp-wrappers \
                        --with-pkgconfdir=${PREFIX}/etc
  .if defined(WITH_PAM)


(MAINTAINER cc'd)

Cheers,
-- 
Jacques A. Vidrine <[EMAIL PROTECTED]>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
[EMAIL PROTECTED]     .  [EMAIL PROTECTED]  .          [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to