Date: Tue, 18 Feb 2003 12:41:28 -0600 From: "Jacques A. Vidrine" <nectar@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: marcus@FreeBSD.org, Richard Nyberg <rnyberg@it.su.se>, Dag-Erling Smorgrav <des@ofug.org>, current@FreeBSD.org Subject: Re: memset prototype changed? Message-ID: <20030218184128.GB93093@madman.celabo.org> In-Reply-To: <20030218181041.GC97131@rot13.obsecurity.org> References: <20030218105240.GH92966@rot13.obsecurity.org> <xzpheb1yhrq.fsf@flood.ping.uio.no> <20030218114734.GA59348@murmeldjur.it.su.se> <20030218181041.GC97131@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <kris@obsecurity.org> 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 <nectar@celabo.org> http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030218184128.GB93093>