Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 18:44:33 -0600
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Thierry Thomas <thierry@freebsd.org>, FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   Re: stlport
Message-ID:  <47437F71.6040400@math.missouri.edu>
In-Reply-To: <474379D0.3040702@math.missouri.edu>
References:  <4740FB72.5010206@math.missouri.edu>	<20071119062848.GS57695@graf.pompo.net>	<20071120211224.GJ85384@graf.pompo.net> <474379D0.3040702@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <thierry@FreeBSD.org>
>>  écrivait :
>>> Le Lun 19 nov 07 à  3:56:50 +0100, Stephen Montgomery-Smith 
>>> <stephen@math.missouri.edu>
>>>  é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
>>> <http://www.stlport.org/>; ).
>>
>> If you want to test it, my patch is available at
>> <http://people.freebsd.org/~thierry/ports/stlport.diff>.
>>
>> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47437F71.6040400>