ports/56074: [MAINTAINER UPDATE]: x11-wm/boxtools
Stijn Hoop
stijn at win.tue.nl
Thu Aug 28 10:00:33 UTC 2003
>Number: 56074
>Category: ports
>Synopsis: [MAINTAINER UPDATE]: x11-wm/boxtools
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 28 03:00:31 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Stijn Hoop
>Release: FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD pcwin002.win.tue.nl 5.1-BETA FreeBSD 5.1-BETA #0: Wed May 21 14:42:03 CEST 2003 stijn at pcwin352.win.tue.nl:/usr/obj/usr/src/sys/PCWIN002 i386
(i desperately need to update, no time :()
>Description:
- The port fails to build on -CURRENT due to the GCC 3.3.1 import. Remove
-pedantic from CFLAGS to fix the problem. Add a patch file to include
a declaration for assert().
>How-To-Repeat:
- Try to build x11-wm/boxtools on -CURRENT.
>Fix:
Don't forget to cvs add files/patch-src::Window.cc.
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"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list