From stijn@pcwin002.win.tue.nl  Thu Aug 28 02:56:58 2003
Return-Path: <stijn@pcwin002.win.tue.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 666A116A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Aug 2003 02:56:58 -0700 (PDT)
Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 57F1F43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Aug 2003 02:56:57 -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 h7S9wPKj087555
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Aug 2003 11:58:25 +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 h7S9wOnd087554;
	Thu, 28 Aug 2003 11:58:24 +0200 (CEST)
Message-Id: <200308280958.h7S9wOnd087554@pcwin002.win.tue.nl>
Date: Thu, 28 Aug 2003 11:58:24 +0200 (CEST)
From: Stijn Hoop <stijn@win.tue.nl>
Reply-To: Stijn Hoop <stijn@win.tue.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER UPDATE]: x11-wm/boxtools
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56074
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE]: x11-wm/boxtools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    osa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 28 03:00:31 PDT 2003
>Closed-Date:    Thu Aug 28 04:37:13 PDT 2003
>Last-Modified:  Thu Aug 28 04:37:13 PDT 2003
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->osa 
Responsible-Changed-By: osa 
Responsible-Changed-When: Thu Aug 28 04:26:49 PDT 2003 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56074 
State-Changed-From-To: open->closed 
State-Changed-By: osa 
State-Changed-When: Thu Aug 28 04:37:00 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56074 
>Unformatted:
