diff options
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 f893ef1a6a..c385b59598 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} \ |