aboutsummaryrefslogtreecommitdiff
path: root/cad/freecad/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'cad/freecad/files/patch-configure')
-rw-r--r--cad/freecad/files/patch-configure47
1 files changed, 47 insertions, 0 deletions
diff --git a/cad/freecad/files/patch-configure b/cad/freecad/files/patch-configure
new file mode 100644
index 000000000000..d532ced5d64f
--- /dev/null
+++ b/cad/freecad/files/patch-configure
@@ -0,0 +1,47 @@
+--- configure.orig Mon Feb 26 14:00:53 2007
++++ configure Sat Apr 21 23:40:36 2007
+@@ -21008,7 +21008,7 @@
+ fc_py_ac_save_libs=$LIBS
+ CPPFLAGS="$CPPFLAGS -I$fc_py_incs"
+ LDFLAGS="$LDFLAGS -L$fc_py_libs"
+-LIBS="-lpython$fc_py_ver"
++LIBS="-lpython$fc_py_ver -lpthread"
+
+ fc_cv_lib_py_avail=no
+ if test "${ac_cv_header_Python_h+set}" = set; then
+@@ -23737,7 +23737,7 @@
+ echo "configure: could not compile:" >&5
+ cat moc_bnv_qt_test.$ac_ext >&5
+ else
+- bnv_try_3="$CXX $QT_CXXFLAGS -c $CXXFLAGS -o bnv_qt_main.o bnv_qt_main.$ac_ext >/dev/null 2>/dev/null"
++ bnv_try_3="$CXX $QT_CXXFLAGS -c $CXXFLAGS -o bnv_qt_main.o bnv_qt_main.$ac_ext >&5"
+ { (eval echo "$as_me:$LINENO: \"$bnv_try_3\"") >&5
+ (eval $bnv_try_3) 2>&5
+ ac_status=$?
+@@ -23748,7 +23748,7 @@
+ echo "configure: could not compile:" >&5
+ cat bnv_qt_main.$ac_ext >&5
+ else
+- bnv_try_4="$CXX $QT_LIBS $LIBS -o bnv_qt_main bnv_qt_main.o moc_bnv_qt_test.o >/dev/null 2>/dev/null"
++ bnv_try_4="$CXX $QT_LIBS $LIBS -lpthread -o bnv_qt_main bnv_qt_main.o moc_bnv_qt_test.o >&5"
+ { (eval echo "$as_me:$LINENO: \"$bnv_try_4\"") >&5
+ (eval $bnv_try_4) 2>&5
+ ac_status=$?
+@@ -24227,7 +24227,7 @@
+ fc_occ_ac_save_libs=$LIBS
+ CPPFLAGS="$CPPFLAGS -I$fc_occ_incs"
+ LDFLAGS="$LDFLAGS -L$fc_occ_libs"
+-LIBS="-ldl -lTKernel"
++LIBS="-lTKernel -lpthread"
+
+ fc_cv_lib_occ_avail=no
+ if test "${ac_cv_header_Standard_hxx+set}" = set; then
+@@ -24416,7 +24416,7 @@
+
+
+ # Checking for version >= 6.1
+-LIBS="-ldl -lTKernel -lTKMesh -lTKG2d -lTKG3d -lTKTopAlgo -lTKMath -lTKBRep -lTKGeomBase -lTKGeomAlgo"
++LIBS="-lTKernel -lTKMesh -lTKG2d -lTKG3d -lTKTopAlgo -lTKMath -lTKBRep -lTKGeomBase -lTKGeomAlgo -lpthread"
+ fc_cv_lib_occ_ver_6=no
+ if test x"$fc_cv_lib_occ_avail" = xyes; then
+ if test "${ac_cv_header_Standard_hxx+set}" = set; then