summaryrefslogtreecommitdiff
path: root/graphics/FreeCAD/boost_current.patch
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-05-15 21:14:10 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:37 -0500
commit37d49bcd70b81988c3581e337bed0e9ba76a940d (patch)
tree8bfc0360005608431c1d50c225c30c5118fa8450 /graphics/FreeCAD/boost_current.patch
parentd3de65af683d179e35bb5bcf004b22bfff6adba6 (diff)
downloadslackbuilds-37d49bcd70b81988c3581e337bed0e9ba76a940d.tar.gz
graphics/FreeCAD: Added (a 3D CAD modeler).
Diffstat (limited to 'graphics/FreeCAD/boost_current.patch')
-rw-r--r--graphics/FreeCAD/boost_current.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/graphics/FreeCAD/boost_current.patch b/graphics/FreeCAD/boost_current.patch
new file mode 100644
index 0000000000..67f5363254
--- /dev/null
+++ b/graphics/FreeCAD/boost_current.patch
@@ -0,0 +1,35 @@
+--- FreeCAD-0.9.2646/acinclude.m4 2010-01-07 10:14:08.000000000 -0200
++++ FreeCAD-0.9.2646_new/acinclude.m4 2010-04-21 13:48:34.000000000 -0300
+@@ -418,7 +418,7 @@
+ fc_boost_ac_save_libs=$LIBS
+ CPPFLAGS="$CPPFLAGS -I$fc_boost_incs"
+ LDFLAGS="$LDFLAGS -L$fc_boost_libs"
+-LIBS="-lboost_program_options-mt"
++LIBS="-lboost_program_options"
+
+ AC_TRY_LINK([#include <boost/program_options.hpp>],
+ [namespace po = boost::program_options;
+@@ -459,17 +459,17 @@
+ AC_MSG_RESULT($ac_cv_boost_system)
+ rm -f boost.cpp boost
+
+-BOOST_FILESYSTEM_LIB="-lboost_filesystem-mt"
+-BOOST_PROGOPTIONS_LIB="-lboost_program_options-mt"
+-BOOST_SIGNALS_LIB="-lboost_signals-mt"
++BOOST_FILESYSTEM_LIB="-lboost_filesystem"
++BOOST_PROGOPTIONS_LIB="-lboost_program_options"
++BOOST_SIGNALS_LIB="-lboost_signals"
+ BOOST_SYSTEM_LIB=""
+-BOOST_REGEX_LIB="-lboost_regex-mt"
++BOOST_REGEX_LIB="-lboost_regex"
+ if test x"$ac_cv_boost_system" = xyes; then
+- LIBS="-lboost_system-mt"
++ LIBS="-lboost_system"
+ AC_MSG_CHECKING(for boost system library)
+ AC_TRY_LINK([#include <boost/system/error_code.hpp>],
+ [ boost::system::error_code error_code; std::string message(error_code.message()); return 0; ],
+- [BOOST_SYSTEM_LIB="-lboost_system-mt"],
++ [BOOST_SYSTEM_LIB="-lboost_system"],
+ [BOOST_SYSTEM_LIB=""])
+
+ if test "x$BOOST_SYSTEM_LIB" = "x"; then