diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-09-12 15:20:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 32920bf6d93d818be5334f6edd79afeb287023ce (patch) | |
tree | d750a668244b02c9dc622080b7ee606a914e60d4 /graphics/photivo | |
parent | 2796ef1f03f7a7b8868558b55612ba6d2d8b5fdf (diff) |
graphics/photivo: Fixed build with g++-4.9.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/photivo')
-rw-r--r-- | graphics/photivo/photivo.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild index c6cfb4874a7ce..8a29947068e9c 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 |