From owner-freebsd-ports@FreeBSD.ORG Wed Aug 13 03:47:44 2003 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 D3AA637B401 for ; Wed, 13 Aug 2003 03:47:44 -0700 (PDT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9A7443FAF for ; Wed, 13 Aug 2003 03:47:43 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.9/8.12.9) with ESMTP id h7DAmeKj038734; Wed, 13 Aug 2003 12:48:40 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.9/8.12.9/Submit) id h7DAmeG6038733; Wed, 13 Aug 2003 12:48:40 +0200 (CEST) Date: Wed, 13 Aug 2003 12:48:40 +0200 From: Stijn Hoop To: tplagge@socrates.berkeley.edu Message-ID: <20030813104840.GJ59732@pcwin002.win.tue.nl> References: <200308130946.h7D9k1LC007894@port9.org> <20030813103321.GI59732@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sDhuxz86kt5qlkuV" Content-Disposition: inline In-Reply-To: <20030813103321.GI59732@pcwin002.win.tue.nl> User-Agent: Mutt/1.4.1i X-Bright-Idea: Let's abolish HTML mail! cc: freebsd-ports@freebsd.org Subject: Re: Fluxbox/boxtools problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 10:47:45 -0000 --sDhuxz86kt5qlkuV Content-Type: multipart/mixed; boundary="80Ds8Z/hZmemMosa" Content-Disposition: inline --80Ds8Z/hZmemMosa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 13, 2003 at 12:33:21PM +0200, Stijn Hoop wrote: > On Wed, Aug 13, 2003 at 02:46:00AM -0700, Tom Plagge wrote: > > However, even after these fixes, it wouldn't install; see the dump at t= he > > end of this file. It seems there's a whole host of errors in the boxto= ols > > package, and they look to either be due to bad C++ or bugs in gcc. Any= =20 > > suggestions on how to proceed? >=20 > It's probably bad C++, -CURRENT's compiler got a lot pickier after the > upgrade. I'm able to reproduce this and hopefully I can get the boxtools > port to work. Will send you a diff when finished. Thanks for the report! Turned out to be easier than I thought. Here's the diff, tested to install = but not tested wrt functionality. If you can confirm that the tools actually wo= rk, I'll send-pr. --Stijn --=20 "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent man requires only two thousand five hundred." -- The Mahabharata. --80Ds8Z/hZmemMosa Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boxtools.diff" Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/stijn/cvsroot/ports/boxtools/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 13 Aug 2003 10:13:49 -0000 1.5 +++ Makefile 13 Aug 2003 10:43:51 -0000 @@ -23,6 +23,7 @@ =20 pre-patch: ${REINPLACE_CMD} -e 's#PACKAGE=3Dblackbox#PACKAGE=3Dboxtools#' \ + -e 's#-pedantic##' \ ${WRKSRC}/configure =20 do-install: Index: files/patch-src::Window.cc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: files/patch-src::Window.cc diff -N files/patch-src::Window.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src::Window.cc 13 Aug 2003 10:43:51 -0000 @@ -0,0 +1,11 @@ +--- src/Window.cc.orig Wed Aug 13 12:40:02 2003 ++++ src/Window.cc Wed Aug 13 12:41:03 2003 +@@ -44,6 +44,8 @@ + #endif // HAVE_STDLIB_H + } +=20 ++#include ++ + #include "i18n.hh" + #include "blackbox.hh" + #include "GCCache.hh" --80Ds8Z/hZmemMosa-- --sDhuxz86kt5qlkuV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/OheIY3r/tLQmfWcRAspmAKCk8kITakokYBaoeng+Dm6t6M242gCfQAW6 ZiYsf/EMpYz+arpRMR0vABE= =AiQC -----END PGP SIGNATURE----- --sDhuxz86kt5qlkuV--