diff options
Diffstat (limited to 'libraries/frei0r/frei0r.SlackBuild')
-rw-r--r-- | libraries/frei0r/frei0r.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild index 83095f7977..93690fd000 100644 --- a/libraries/frei0r/frei0r.SlackBuild +++ b/libraries/frei0r/frei0r.SlackBuild @@ -2,6 +2,7 @@ # Copyright 2009, Jonathan Larsen (agentc0re), SLC, UT # Contact Info: agentc0re 'AT' learnix 'DOT' net +# Copyright 2012-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,10 +29,12 @@ # *compatibility and removed the man page section # Mar 12th, 2013 # *Updated for 1.4 +# Sep 7th, 2015 +# *Patch for opencv-3.0 PRGNAM=frei0r VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -76,6 +79,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p2 < $CWD/fix_building_against_opencv_3.0.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |