From owner-freebsd-ports@FreeBSD.ORG Thu Aug 12 16:58:48 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 042A816A4CE for ; Thu, 12 Aug 2004 16:58:48 +0000 (GMT) Received: from mail.emu.edu.tr (mail.emu.edu.tr [193.140.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 101C043D1F for ; Thu, 12 Aug 2004 16:58:47 +0000 (GMT) (envelope-from ilker.ozupak@mail.emu.edu.tr) Received: from eniac.emu.edu.tr ([213.208.49.139]) by mail.emu.edu.tr with Microsoft SMTPSVC(5.0.2195.5329); Thu, 12 Aug 2004 19:58:44 +0300 From: Ilker OZUPAK To: ports@freebsd.org Date: Thu, 12 Aug 2004 19:57:01 +0300 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408121957.25627.ilker.ozupak@emu.edu.tr> X-OriginalArrivalTime: 12 Aug 2004 16:58:44.0534 (UTC) FILETIME=[A089B560:01C4808D] cc: bkhl@elektrubadur.se Subject: ports/dns/sheerdns build problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ilker.ozupak@emu.edu.tr List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 16:58:48 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [maintainer cc'ed] =3D=3D=3D> =A0Extracting for sheerdns-1.0.1 >> Checksum OK for sheerdns-1.0.1.tar.gz. =3D=3D=3D> =A0Patching for sheerdns-1.0.1 =3D=3D=3D> =A0Applying FreeBSD patches for sheerdns-1.0.1 =3D=3D=3D> =A0 sheerdns-1.0.1 depends on executable: gmake - found =3D=3D=3D> =A0Configuring for sheerdns-1.0.1 =3D=3D=3D> =A0Building for sheerdns-1.0.1 gcc -O3 -pipe -march=3Dpentium4 -Wall -ansi -pedantic -c dir.c dir.c: In function `directory_lookup': dir.c:95: warning: implicit declaration of function `string_wash' gcc -O3 -pipe -march=3Dpentium4 -Wall -ansi -pedantic -c hash.c gcc -O3 -pipe -march=3Dpentium4 -Wall -ansi -pedantic -c sheerdns.c sheerdns.c: In function `main': sheerdns.c:182: warning: 'current_time' might be used uninitialized in this= =20 function gcc -O3 -pipe -march=3Dpentium4 -Wall -ansi -pedantic -c sockutil.c gcc -O3 -pipe -march=3Dpentium4 -Wall -ansi -pedantic -c strutil.c gcc -o sheerdns dir.o hash.o sheerdns.o sockutil.o strutil.o gcc -O3 -pipe -march=3Dpentium4 -Wall -ansi -pedantic -o sheerdnshash hash.= c =20 =2D -DSTANDALONE -Wall hash.c: In function `main': hash.c:28: warning: implicit declaration of function `mkdir' =2D -----------------------------------------------------------------------= =2D--------------------------------- after applying this patch it did build =2D --- hash.c.orig=A0Sat Apr 12 11:04:59 2003 +++ hash.c=A0=A0=A0=A0=A0=A0Thu Aug 12 10:05:56 2004 @@ -4,6 +4,8 @@ =A0#include =A0#include =A0#include +#include +#include =A0#include "hash.h" =A0#include "dir.h" =A0 @@ -25,7 +27,7 @@ =A0=A0=A0=A0=A0=A0=A0=A0unsigned char *s; =A0=A0=A0=A0=A0=A0=A0=A0s =3D (unsigned char *) hex_hash ((unsigned char *)= argv[1]); =A0=A0=A0=A0=A0=A0=A0=A0snprintf (buf, sizeof (buf), SHEERDNS_DIR "/%s/%s",= s, argv[1]); =2D -=A0=A0=A0=A0=A0=A0=A0mkdir (buf); +=A0=A0=A0=A0=A0=A0=A0mkdir (buf, 0700); =A0=A0=A0=A0=A0=A0=A0=A0l =3D strlen ((char *) s); =A0=A0=A0=A0=A0=A0=A0=A0write (1, s, l); =A0=A0=A0=A0=A0=A0=A0=A0write (1, "\n", 1); } =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBG6FnvxSBSqT0G9ARAnFSAKCVG1yevIsN8Exg9XcEyZ0z0GRa6ACg/ie2 6/AUCpyPA5TjdNDd4tqVQMw=3D =3DVSy6 =2D----END PGP SIGNATURE-----