--- lyx-1.3.2/boost/libs/regex/src/cregex.cpp.orig Tue Apr 29 14:00:02 2003 +++ lyx-1.3.2/boost/libs/regex/src/cregex.cpp Tue Apr 29 14:00:56 2003 @@ -24,6 +24,7 @@ #define BOOST_REGEX_SOURCE #include +#define BOOST_REGEX_NARROW_INSTANTIATE #include #if !defined(BOOST_NO_STD_STRING) #include --- lyx-1.3.3/lyx.sh.orig Wed Sep 24 14:34:33 2003 +++ lyx-1.3.3/lyx.sh Wed Sep 24 14:34:25 2003 @@ -0,0 +1,15 @@ +#!/bin/sh +# make symlinks in ~/.fonts for latex-xft-fonts. +# if they are not already there. +export QT_XFT=TRUE +for file in @PREFIX@/lib/X11/fonts/latex-xft-fonts/*ttf; do + if [ ! -d ~/.fonts ]; then + mkdir ~/.fonts + fi + symlink=~/.fonts/`basename $file` + if [ -f $file ] && [ ! -L $symlink ] && [ ! -f $symlink ] ; then + ln -s $file $symlink + fi +done +# launch lyx +@PREFIX@/bin/lyxx $@