From owner-freebsd-current Tue Feb 18 10:41:55 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BF0637B401; Tue, 18 Feb 2003 10:41:53 -0800 (PST) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0DFF43F75; Tue, 18 Feb 2003 10:41:52 -0800 (PST) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id 507CA5F; Tue, 18 Feb 2003 12:41:52 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id 1EAA978C39; Tue, 18 Feb 2003 12:41:28 -0600 (CST) Date: Tue, 18 Feb 2003 12:41:28 -0600 From: "Jacques A. Vidrine" To: Kris Kennaway Cc: marcus@FreeBSD.org, Richard Nyberg , Dag-Erling Smorgrav , current@FreeBSD.org Subject: Re: memset prototype changed? Message-ID: <20030218184128.GB93093@madman.celabo.org> References: <20030218105240.GH92966@rot13.obsecurity.org> <20030218114734.GA59348@murmeldjur.it.su.se> <20030218181041.GC97131@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030218181041.GC97131@rot13.obsecurity.org> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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 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