diff options
Diffstat (limited to 'graphics/hugin/hugin.SlackBuild')
-rw-r--r-- | graphics/hugin/hugin.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild index 4af11a937431d..a52b663f48556 100644 --- a/graphics/hugin/hugin.SlackBuild +++ b/graphics/hugin/hugin.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=hugin VERSION=2011.4.0 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,6 +68,10 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# apply patch to make compilation work with gcc 4.7 +# patch taken from https://bugs.launchpad.net/hugin/+bug/913250 +patch -p1 < $CWD/hugin-gcc47.patch + cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ |