From owner-freebsd-ports Wed Jan 9 10:50:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 07B5837B41E for ; Wed, 9 Jan 2002 10:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g09Io0E75613; Wed, 9 Jan 2002 10:50:00 -0800 (PST) (envelope-from gnats) Received: from tomts10-srv.bellnexxia.net (tomts10.bellnexxia.net [209.226.175.54]) by hub.freebsd.org (Postfix) with ESMTP id 77A2E37B41E for ; Wed, 9 Jan 2002 10:42:41 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.176.241]) by tomts10-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20020109184240.LHZS20941.tomts10-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Wed, 9 Jan 2002 13:42:40 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 5D3C61A34 for ; Wed, 9 Jan 2002 13:42:37 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 5349720AC9; Wed, 9 Jan 2002 13:42:34 -0500 (EST) Message-Id: <20020109184234.5349720AC9@shall.anarcat.dyndns.org> Date: Wed, 9 Jan 2002 13:42:34 -0500 (EST) From: The Anarcat Reply-To: The Anarcat To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/33737: [patch] mail/althea busts template-depth limit on -stable Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33737 >Category: ports >Synopsis: [patch] mail/althea busts template-depth limit on -stable >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 09 10:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: The Anarcat >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Nada, Inc. >Environment: System: FreeBSD shall.anarcat.dyndns.org 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #2: Tue Jan 8 01:04:38 EST 2002 anarcat@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/SHALL i386 recent (0.5.5) althea port >Description: Althea doesn't compile because of gcc's default limits. >How-To-Repeat: # cd /usr/ports/mail/althea && make ... c++ -O -pipe -DPACKAGE=\"althea\" -DDOCDIR=\"/usr/local/share/doc/althea\" -DPIXDIR=\"/usr/local/share/althea\" -DLOCALEDIR=\"/usr/local/share/locale\" -DMAIL_POLL_INTERVAL=60000 `/usr/X11R6/bin/gtk12-config --cflags` -I/usr/include -c save_config.cpp /usr/include/g++/stl_list.h: In method `list,__default_alloc_template >,allocator,__default_alloc_template >> > >::list(const >> > >list,__default_alloc_template >> > >>,allocator,__default_alloc_template >Fix: patch the Makefile.bsd file in files/: --- files/Makefile.bsd.orig Thu Dec 6 13:21:39 2001 +++ files/Makefile.bsd Thu Dec 6 13:12:24 2001 @@ -12,7 +12,7 @@ MAIL_POLL_INTERVAL = 60000 # Compiled-in pathes: -CXXFLAGS+=-DPACKAGE=\"${PROG}\" -DDOCDIR=\"${DOCDIR}\" -DPIXDIR=\"${PIXDIR}\" -DLOCALEDIR=\"${LOCALEDIR}\" -DMAIL_POLL_INTERVAL=${MAIL_POLL_INTERVAL} +CXXFLAGS+=-ftemplate-depth-30 -DPACKAGE=\"${PROG}\" -DDOCDIR=\"${DOCDIR}\" -DPIXDIR=\"${PIXDIR}\" -DLOCALEDIR=\"${LOCALEDIR}\" -DMAIL_POLL_INTERVAL=${MAIL_POLL_INTERVAL} # Use the GTK's CFLAGS: CXXFLAGS+=`${GTK_CONFIG} --cflags` -I${OPENSSLINC} >Release-Note: >Audit-Trail: >Unformatted: >> > >>> > > &)': /usr/include/g++/stl_list.h:434: template instantiation depth exceeds maximum of 17 /usr/include/g++/stl_list.h:434: (use -ftemplate-depth-NN to increase the maximum) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message