summaryrefslogtreecommitdiffstats
path: root/graphics/nomacs/nomacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nomacs/nomacs.SlackBuild')
-rw-r--r--graphics/nomacs/nomacs.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 8eaa6158ae..a14290c65d 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -75,6 +75,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 {} \;
+sed -i '/^#include <QPainter>$/a #include <QPainterPath>' \
+ ImageLounge/plugins/PageExtractionPlugin/src/DkPageSegmentation.cpp
+
cd ImageLounge
# Fix man pages and plugins installation path