The following small patch is needed to compile LyX on OSX with gcc2.
It is fairly trivial (an already applied to 1.3.x), but since it
touches boost, I may as well ask.

Lars?

JMarc

Index: boost/boost/config/user.hpp
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/boost/config/user.hpp,v
retrieving revision 1.8
diff -u -p -r1.8 user.hpp
--- boost/boost/config/user.hpp	7 Aug 2003 12:09:23 -0000	1.8
+++ boost/boost/config/user.hpp	8 Oct 2003 14:46:37 -0000
@@ -68,3 +68,7 @@
 
 #define BOOST_NO_WREGEX 1
 #define BOOST_NO_WSTRING 1
+
+#if defined(__APPLE__) && defined(__GNUC__) && __GNUC__ == 2
+#define BOOST_REGEX_NARROW_INSTANTIATE
+#endif

Reply via email to