Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 12:48:40 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        tplagge@socrates.berkeley.edu
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Fluxbox/boxtools problems
Message-ID:  <20030813104840.GJ59732@pcwin002.win.tue.nl>
In-Reply-To: <20030813103321.GI59732@pcwin002.win.tue.nl>
References:  <200308130946.h7D9k1LC007894@port9.org> <20030813103321.GI59732@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <cassert>
++
+ #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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030813104840.GJ59732>