aboutsummaryrefslogtreecommitdiff
path: root/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-08-17 19:03:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 22:53:30 -0500
commitbfbbae8991b77a60b9f676c93eb593c98b565815 (patch)
treeb1feac226fd1edca99340efea4af5df2b7ae33ca /academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
parentb07c6166b39df84a980d0f5e2338bdccfa604475 (diff)
academic/Gridcoin-Research: Patched for boost >= 1.73.0.
...and for qt5-5.15.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 dfc3aeaf190e..62a2a10eae3e 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