From 2f420c1cde229517515a0452a170732a87ff1b77 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 7 Sep 2015 15:52:27 +0200 Subject: libraries/frei0r: Fix building against the newer opencv. Thanks to fedora for the patch Signed-off-by: Matteo Bernardini --- libraries/frei0r/frei0r.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libraries/frei0r/frei0r.SlackBuild') 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 , 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 \ -- cgit v1.2.3