From owner-freebsd-ports@FreeBSD.ORG Wed Nov 21 00:44:34 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D618616A418; Wed, 21 Nov 2007 00:44:34 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 989DB13C448; Wed, 21 Nov 2007 00:44:34 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.2/8.14.1) with ESMTP id lAL0iT72043721; Tue, 20 Nov 2007 18:44:30 -0600 (CST) (envelope-from stephen@math.missouri.edu) Message-ID: <47437F71.6040400@math.missouri.edu> Date: Tue, 20 Nov 2007 18:44:33 -0600 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Thierry Thomas , FreeBSD Ports List References: <4740FB72.5010206@math.missouri.edu> <20071119062848.GS57695@graf.pompo.net> <20071120211224.GJ85384@graf.pompo.net> <474379D0.3040702@math.missouri.edu> In-Reply-To: <474379D0.3040702@math.missouri.edu> Content-Type: multipart/mixed; boundary="------------030003050609080706060501" Cc: Subject: Re: stlport X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 00:44:34 -0000 This is a multi-part message in MIME format. --------------030003050609080706060501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Stephen Montgomery-Smith wrote: > Thierry Thomas wrote: >> Le Lun 19 nov 07 à 7:28:48 +0100, Thierry Thomas >> écrivait : >>> Le Lun 19 nov 07 à 3:56:50 +0100, Stephen Montgomery-Smith >>> >>> écrivait : >>> >>>> Is anyone working on this? If not, would you guys be kind enough to >>>> make my patch more proper? >>> I'm working on a patch to upgrade it to the latest STLport-5.1.4 (from >>> ). >> >> If you want to test it, my patch is available at >> . >> >> It does not seem bad on i386, but there is a problem on amd64: it builds >> and installs fine, but the regression tests eat all the memory! (If no >> solution is found, I shall mark it broken on != i386). >> >> Regards, > > It didn't build at all on my system. I am sure it is a problem with > stlport/config/stl_gcc.h. > > What version of FreeBSD are you using? Did you build it with gcc or icc? Adding this attached file to stlport/files made it work for my system. --------------030003050609080706060501 Content-Type: text/plain; name="patch-stlport::stl::config::_gcc.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-stlport::stl::config::_gcc.h" --- stlport/stl/config/_gcc.h.orig 2007-11-20 18:33:19.000000000 -0600 +++ stlport/stl/config/_gcc.h 2007-11-20 18:34:45.000000000 -0600 @@ -352,9 +352,9 @@ /* * Before version 3.4.0 the 0 patch level was not part of the include path: */ -# elif defined (__GNUC_PATCHLEVEL__) && ((__GNUC_PATCHLEVEL__ > 0) || \ +# elif (defined (__GNUC_PATCHLEVEL__) && ((__GNUC_PATCHLEVEL__ > 0) || \ (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ - (__GNUC__ > 3)) + (__GNUC__ > 3))) && !defined( __FreeBSD__ ) # define _STLP_NATIVE_INCLUDE_PATH ../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__ # else # define _STLP_NATIVE_INCLUDE_PATH ../__GNUC__.__GNUC_MINOR__ --------------030003050609080706060501--