freebsd-ports/editors/openoffice-3/files/patch-stlport::STLport-4.5.patch
2003-08-15 23:54:41 +00:00

25 lines
639 B
Diff

--- ../stlport/STLport-4.5.patch.orig Sat Aug 16 08:45:46 2003
+++ ../stlport/STLport-4.5.patch Sat Aug 16 08:52:25 2003
@@ -254,11 +254,12 @@
# elif (__GNUC_MINOR__ < 8)
---- 244,253 ----
+--- 244,254 ----
# if (__GNUC__ >= 3)
! /* properly determine the STLP_NATIVE_INCLUDE_PATH */
+! #undef i386
! # define _STLP_NATIVE_INCLUDE_PATH GXX_INCLUDE_PATH
! # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH \
! GXX_INCLUDE_PATH/backward
@@ -274,7 +275,7 @@
# endif
+ #ifdef __FreeBSD__
-+ # include <../wchar.h>
++ #include _STLP_NATIVE_C_HEADER(wchar.h)
+ #endif
# include <stl/_cwchar.h>