Fluxbox/boxtools problems

Stijn Hoop stijn at win.tue.nl
Wed Aug 13 03:47:45 PDT 2003


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 the
> > end of this file.  It seems there's a whole host of errors in the boxtools
> > package, and they look to either be due to bad C++ or bugs in gcc.  Any 
> > suggestions on how to proceed?
> 
> 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 work,
I'll send-pr.

--Stijn

-- 
"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.
-------------- next part --------------
Index: Makefile
===================================================================
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 @@
 
 pre-patch:
 	${REINPLACE_CMD} -e 's#PACKAGE=blackbox#PACKAGE=boxtools#' \
+		-e 's#-pedantic##' \
 		${WRKSRC}/configure
 
 do-install:
Index: files/patch-src::Window.cc
===================================================================
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
+ }
+ 
++#include <cassert>
++
+ #include "i18n.hh"
+ #include "blackbox.hh"
+ #include "GCCache.hh"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030813/fef07d38/attachment.bin


More information about the freebsd-ports mailing list