From 1e9122c80af9d20e6661beb8d05b4062f43b46ea Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 23 Nov 2012 12:40:52 +0000 Subject: [PATCH] Minor fix - remove obsolete patch --- config_files/med.sh | 7 ++- config_files/patches/OCCT-6.5.3.patch | 78 --------------------------- 2 files changed, 5 insertions(+), 80 deletions(-) delete mode 100644 config_files/patches/OCCT-6.5.3.patch diff --git a/config_files/med.sh b/config_files/med.sh index 49fae34..5bff322 100755 --- a/config_files/med.sh +++ b/config_files/med.sh @@ -108,8 +108,11 @@ check_job ${PRODUCT_DIR}/INSTALL.LOG make install cd ${PRODUCT_DIR}/lib ### patch badly created libmedimport.la -### this pb should be fixed in med 3.0.5 or newer version -sed -i "s%\(.*\)\([[:space:]].*-L../../src/\)\(.*\)%\1\3%g" libmedimport.la +### fixed in med 3.0.6 +need_patch_la=0 +if [ "${need_patch_la}" = "1" ] ; then + sed -i "s%\(.*\)\([[:space:]].*-L../../src/\)\(.*\)%\1\3%g" libmedimport.la +fi cd ${PRODUCT_DIR}; diff --git a/config_files/patches/OCCT-6.5.3.patch b/config_files/patches/OCCT-6.5.3.patch deleted file mode 100644 index a22ac33..0000000 --- a/config_files/patches/OCCT-6.5.3.patch +++ /dev/null @@ -1,78 +0,0 @@ -diff -Naur --exclude=CVS OCCT-6.5.3_SRC_orig/inc/ApproxInt_PrmPrmSvSurfaces.gxx OCCT-6.5.3_SRC_patch/inc/ApproxInt_PrmPrmSvSurfaces.gxx ---- OCCT-6.5.3_SRC_orig/inc/ApproxInt_PrmPrmSvSurfaces.gxx 2012-04-13 16:38:37.000000000 +0400 -+++ OCCT-6.5.3_SRC_patch/inc/ApproxInt_PrmPrmSvSurfaces.gxx 2012-05-18 12:29:02.000000000 +0400 -@@ -24,6 +24,7 @@ - - #include - #include -+#include - - #define Debug(expr) cout<<" expr :"< - #include -+#include - - #define Debug(expr) cout<<" expr :"<