--- stlport/STLport-4.5.patch.gcc401pch	2005-06-20 17:41:05.000000000 +0200
+++ stlport/STLport-4.5.patch	2005-06-22 21:11:48.581445640 +0200
@@ -481,3 +481,16 @@
  }
 
 
+--- misc/build/STLport-4.5/stlport/config/stl_gcc.h.gcc401	2005-06-22 21:05:26.985457048 +0200
++++ misc/build/STLport-4.5/stlport/config/stl_gcc.h	2005-06-22 21:09:27.472897400 +0200
+@@ -373,3 +373,10 @@
+ #    undef _STLP_HAS_NATIVE_FLOAT_ABS
+ #    define _STLP_VENDOR_GLOBAL_CSTD       1
+ #endif
++
++// Setting _STLP_NATIVE_INCLUDE_PATH (brute force method to avoid a problem
++// with gcc 4.0.1 (macros "i586-<distro>-linux" were expanded to "i586-<distro>-1 ")
++#undef _STLP_NATIVE_INCLUDE_PATH
++#undef _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH
++#define _STLP_NATIVE_INCLUDE_PATH /usr/include/c++/__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__
++#define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH /usr/include/c++/__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/backward
