diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-12 11:12:40 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-12 11:15:31 +0200 |
commit | 74c343d243da4fd6b9b974be91c09c6b38c4a576 (patch) | |
tree | e56599e7d191c54069c49eec512cfffd45883d20 /graphics/FreeCAD/FreeCAD.SlackBuild | |
parent | 1fd2cef729122264f04362d64f0c02cef43c4e89 (diff) |
graphics/FreeCAD: Added a patch and a -fpermissive for gcc-4.7.x.
Noted also eigen3 as an optional dependency
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/FreeCAD/FreeCAD.SlackBuild')
-rw-r--r-- | graphics/FreeCAD/FreeCAD.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild index f893ef1a6af1a..c385b59598d8d 100644 --- a/graphics/FreeCAD/FreeCAD.SlackBuild +++ b/graphics/FreeCAD/FreeCAD.SlackBuild @@ -72,13 +72,16 @@ chmod -R u+w,go+r-w,a-s . # FreeCAD is ready for OpenCASCADE 6.5.{0,1} - patch for 6.5.2 patch -p1 < $CWD/OpenCASCADE652.patch +# Fix for gcc-4.7.x +patch -p1 < $CWD/FreeCAD-0.12.5284-gcc47.patch + ./autogen.sh # Fix references to old boost_*-mt libs sed -i "/-lboost/s/-mt\"/\"/g" configure CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -fpermissive" \ ./configure \ --prefix=/opt/$PRGNAM \ --libdir=/opt/$PRGNAM/lib${LIBDIRSUFFIX} \ |