aboutsummaryrefslogtreecommitdiff
path: root/graphics/librecad/librecad.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2022-02-16 08:50:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:46 +0700
commitbda7caf4efa6812e363193365d9506e17ec75dc0 (patch)
tree9a7a97ceb5ecbb9a17d7b2d8c957a94f17c01fa8 /graphics/librecad/librecad.SlackBuild
parent04676d1a383514b6797c3c762fdeeabf38f36e20 (diff)
graphics/librecad: Fix building with the newer boost.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/librecad/librecad.SlackBuild')
-rw-r--r--graphics/librecad/librecad.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index e13b4003ac787..4e33f0cbb8e89 100644
--- a/graphics/librecad/librecad.SlackBuild
+++ b/graphics/librecad/librecad.SlackBuild
@@ -84,6 +84,9 @@ 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 {} \;
+# thnx Archlinux!
+patch -p1 < $CWD/0003-add-boost-tuple-include-to-fix-build.patch
+
qmake-qt5 $PRGNAM.pro QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS"
make