aboutsummaryrefslogtreecommitdiff
path: root/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/Gridcoin-Research/Gridcoin-Research.SlackBuild')
-rw-r--r--academic/Gridcoin-Research/Gridcoin-Research.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild b/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
index dfc3aeaf190e4..62a2a10eae3e8 100644
--- a/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
+++ b/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
@@ -70,6 +70,12 @@ 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 {} \;
+# For boost >= 1.73.0
+patch -p1 < $CWD/boost-1.73.patch
+
+# For qt-5.15.x, thanks to kingbeowulf!
+sed -i '/^#include <QPainter>$/a #include <QPainterPath>' src/qt/trafficgraphwidget.cpp
+
if [ "${QRENC:-no}" = "yes" ]; then
useqr="--with-qrencode"
else