summaryrefslogtreecommitdiff
path: root/graphics/photivo
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/photivo')
-rw-r--r--graphics/photivo/photivo.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild
index c6cfb4874a..8a29947068 100644
--- a/graphics/photivo/photivo.SlackBuild
+++ b/graphics/photivo/photivo.SlackBuild
@@ -71,6 +71,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 {} \;
+# Fix build with g++-4.9.3
+sed -i -e 's/-lgomp/-lgomp -lmvec/' photivoProject/photivoProject.pro
+
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/lensfun
qmake CONFIG+=WithGimp photivo.pro PREFIX=/usr
make