Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2001 17:20:09 -0700 (PDT)
From:      Pat Lashley <patl@phoenix.volant.org>
To:        obrien@freebsd.org
Cc:        ports@freebsd.org
Subject:   STLport patch
Message-ID:  <ML-3.4.993255609.7590.patl@mccaffrey.phoenix.volant.org>

next in thread | raw e-mail | index | archive | help
--0-1804289383-993255609=:9752
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

Hi,

The attached file is a replacement for the files/patch-stl_gcc.h
patch file.  It shifts the #if 0 and adds a typedef for wint_t.
With this patch stlport 4.0 finishes the compile.  (At least on
4.3-STABLE 2001-06-04)

I'm not ready to claim that it -works- correctly yet though.
In fact, I'm a little suspicious since this fix seems awfully
small and obvious.


-Pat


--0-1804289383-993255609=:9752
Content-Type: TEXT/plain; name="patch-stl_gcc.h"
Content-Description: patch-stl_gcc.h

--- stl_gcc.h.orig	Fri Jun 22 17:09:04 2001
+++ stl_gcc.h	Fri Jun 22 17:10:54 2001
@@ -14,7 +14,10 @@
 #   define __STL_HAS_NO_NEW_C_HEADERS     1
 
 # if defined(__FreeBSD__)
+#  if 0
 #  define __STL_NO_WCHAR_T
+#  endif
+    typedef	long int	wint_t ;	/* LOCAL */
 # endif
 
 # if defined(__MINGW32__)

--0-1804289383-993255609=:9752--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-3.4.993255609.7590.patl>