]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Support Fedora Core 6
authorvsr <vsr@opencascade.com>
Wed, 21 May 2008 11:38:34 +0000 (11:38 +0000)
committervsr <vsr@opencascade.com>
Wed, 21 May 2008 11:38:34 +0000 (11:38 +0000)
config_files/BOOST-1.32.0.sh
config_files/patches/boost-1.32.0-gcc-4.1.1.patch [new file with mode: 0755]

index 226c09983b49bf40346087baacd5335ed447409a..87f155275b88c95951aefd4552a60b716faf4fad 100755 (executable)
@@ -77,6 +77,12 @@ makedir ${PRODUCT_DIR}
 # 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
diff --git a/config_files/patches/boost-1.32.0-gcc-4.1.1.patch b/config_files/patches/boost-1.32.0-gcc-4.1.1.patch
new file mode 100755 (executable)
index 0000000..2ce8bb1
--- /dev/null
@@ -0,0 +1,12 @@
+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
+    {