diff options
Diffstat (limited to 'development/kicad/kicad.SlackBuild')
-rw-r--r-- | development/kicad/kicad.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/development/kicad/kicad.SlackBuild b/development/kicad/kicad.SlackBuild index 2f44fce534..a902a04e95 100644 --- a/development/kicad/kicad.SlackBuild +++ b/development/kicad/kicad.SlackBuild @@ -72,10 +72,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# KiCad 4.0.5 cannot be compiled with boost 1.61 and higher since the latter requires C++11. -# If you insist to use boost 1.61 and higher, you can apply this patch manually and compile -# with a C++11 capable compiler and its appropriate compiler switches. -#patch -p1 --verbose < $CWD/boost-1.61.patch +# https://bugs.launchpad.net/kicad/+bug/1816286 +patch -p1 < $CWD/swig-4.0.0.patch # KiCad 5.1.2 patch: patch -p1 --verbose < $CWD/kicad_boost_hdr.patch @@ -97,6 +95,7 @@ cd build -DKICAD_PLUGINS=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/plugins \ -DKICAD_STABLE_VERSION=ON \ -DKICAD_SKIP_BOOST=ON \ + -DBoost_NO_BOOST_CMAKE=ON \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ |