From owner-freebsd-ports@FreeBSD.ORG Sun Aug 20 18:28:36 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 81B1516A4E2; Sun, 20 Aug 2006 18:28:36 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9000143D5C; Sun, 20 Aug 2006 18:28:25 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id AB5C64548; Sun, 20 Aug 2006 10:28:08 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-ports@freebsd.org Date: Sun, 20 Aug 2006 10:27:48 -0800 User-Agent: KMail/1.9.3 References: <200608192200.41601.beech@alaskaparadise.com> <20060820111855.GA94500@xor.obsecurity.org> <20060820114040.GA1077@zaphod.nitro.dk> In-Reply-To: <20060820114040.GA1077@zaphod.nitro.dk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1933458.kYXIrqHMv5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608201028.07254.beech@alaskaparadise.com> Cc: "Simon L. Nielsen" , Kris Kennaway Subject: Re: Problem with 7-CURRENT build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2006 18:28:36 -0000 --nextPart1933458.kYXIrqHMv5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 20 August 2006 03:40, Simon L. Nielsen wrote: > On 2006.08.20 07:18:55 -0400, Kris Kennaway wrote: > > On Sat, Aug 19, 2006 at 10:00:24PM -0800, Beech Rintoul wrote: > > > I just recently adopted the port gtkjournal. The port builds fine in > > > 6.1, but I get the following error when trying to build in -CURRENT: > > > > > > Making all in aolib > > > gmake[3]: Entering directory > > > `/usr/ports/deskutils/gtkjournal.orig/work/gtkjournal-0.3.5b/src/aoli= b' > > > c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DXTHREADS -DXUSE_MTSAFE_API > > > -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 > > > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include > > > -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 > > > -I/usr/X11R6/include/gtkmm-2.0 -I/usr/X11R6/lib/gtkmm-2.0/include > > > -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include > > > -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include > > > -I/usr/local/include/freetype2 -I/usr/local/include -I../../src =20 > > > -O2 -fno-strict-aliasing -pipe -I/usr/local/include > > > -I/usr/include/openssl -c bfcryptfile.cpp > > > bfcryptfile.cpp: In static member function `static std::string > > > aolib::BFCryptFile::hashPass(const char*, unsigned char*)': > > > bfcryptfile.cpp:59: error: `SHA_DIGEST_LENGTH' undeclared (first use > > > this function) > > > bfcryptfile.cpp:59: error: (Each undeclared identifier is reported on= ly > > > once for each function it appears in.) > > > bfcryptfile.cpp:62: error: `out' undeclared (first use this function) > > > gmake[3]: *** [bfcryptfile.o] Error 1 > > > > > > Would someone take a look at this and give me some pointers as to what > > > to do to get it to build in -CURRENT. For the time being I have an > > > OSVERSION check to mark it broken on 7.0 and above. I tried contacting > > > the developer, but his website seems to be down and he hasn't respond= ed > > > to my email. I'd really like to get this working and any help would be > > > appreciated. > > > > It's to do with the new OpenSSL version. Presumably you need to fix > > the source; simon@ might be able to help you. > > This looks like one of the simple cases where the program depend on > "header pollution" in previous OpenSSL versions, where sha.h was > pulled in by some other header, but isn't anymore in OpenSSL 0.9.8b. > > Try simply including openssl/sha.h in the source code in the file > where the builds fail. This should work with both new and old OpenSSL > so no need for special version check in the patch. See > e.g. > http://cvsweb.freebsd.org/ports/security/openscep/files/patch-lib_proxy.c= ?r >ev=3D1.1 for a similar problem in another port. Thank you. That was exactly the fix needed. I appreciate your support. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1933458.kYXIrqHMv5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE6Km3p5D0B1NlT4URAqgWAKCJ/IdJnwHKdvUKg86ayOsKDU9Z0QCfWsZA xoUIiPB34AqbkKSwCxaQNKo= =O8Bs -----END PGP SIGNATURE----- --nextPart1933458.kYXIrqHMv5--