diff options
Diffstat (limited to 'graphics/brlcad')
-rw-r--r-- | graphics/brlcad/brlcad-7.32.4-skip-gstep.patch | 12 | ||||
-rw-r--r-- | graphics/brlcad/brlcad.SlackBuild | 8 |
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/brlcad/brlcad-7.32.4-skip-gstep.patch b/graphics/brlcad/brlcad-7.32.4-skip-gstep.patch new file mode 100644 index 0000000000000..5768ad63a2532 --- /dev/null +++ b/graphics/brlcad/brlcad-7.32.4-skip-gstep.patch @@ -0,0 +1,12 @@ +--- a/db/nist/CMakeLists.txt ++++ b/db/nist/CMakeLists.txt +@@ -10,7 +10,8 @@ set(NIST_SAMPLE_MODELS + ) + + foreach(im ${NIST_SAMPLE_MODELS}) +- ADD_G_TARGET(${im} "BRL-CAD Geometry Models/Sample") ++# disabled because this often segfaults ++# ADD_G_TARGET(${im} "BRL-CAD Geometry Models/Sample") + endforeach(im ${NIST_SAMPLE_MODELS}) + + CMAKEFILES( diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild index 63c694ee67c46..d9c63891a15a3 100644 --- a/graphics/brlcad/brlcad.SlackBuild +++ b/graphics/brlcad/brlcad.SlackBuild @@ -19,11 +19,13 @@ # Previous version wouldn't build, updated for v7.32.4, and still # had to patch that. +# 20220321 acl: Modified by SlackBuilds.org: fix build on 15.0 32bit. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=brlcad VERSION=${VERSION:-7.32.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +81,10 @@ find -L . \ # https://github.com/BRL-CAD/brlcad/commit/b0dd45620f1ffdd8814069df091b20e8780e1b3e patch -p1 < $CWD/fix-step-g-segfault.diff +# thanks arch maintainers. +# fixes build on i586. +patch -p1 < $CWD/brlcad-7.32.4-skip-gstep.patch + mkdir -p build cd build # There is a "known issue" according to the guys on #brlcad and we need |