# unpack
check_jb tar xzf ${SOURCE_DIR}/boost-1.32.0.tar.gz -C ${INSTALL_WORK}
+# apply patch : fix pb of libGL loading
+if [ -f patches/boost-1.32.0-gcc-4.1.1.patch ] ; then
+ cp patches/boost-1.32.0-gcc-4.1.1.patch ${PRODUCT_WORK}
+ ( cd ${PRODUCT_WORK} ; patch -p1 < boost-1.32.0-gcc-4.1.1.patch )
+fi
+
# build
GCC=`which gcc`
cat >> ${PRODUCT_DIR}/BUILD.LOG <<EOF
--- /dev/null
+diff -Naur --exclude=CVS boost-1.32.0_orig/boost/regex/v4/regex_traits.hpp boost-1.32.0/boost/regex/v4/regex_traits.hpp
+--- boost-1.32.0_orig/boost/regex/v4/regex_traits.hpp 2003-11-08 16:02:55.000000000 +0300
++++ boost-1.32.0/boost/regex/v4/regex_traits.hpp 2008-05-21 14:43:30.000000000 +0400
+@@ -319,7 +319,7 @@
+ void swap(c_regex_traits&){}
+ c_regex_traits<regex_wchar_type>()
+ { init(); }
+- ~c_regex_traits<regex_wchar_type>()
++ virtual ~c_regex_traits<regex_wchar_type>()
+ { m_free(); }
+ struct sentry
+ {