summaryrefslogtreecommitdiffstats
path: root/libraries/frei0r/frei0r.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2015-09-07 15:52:27 +0200
committer Willy Sudiarto Raharjo2015-09-12 03:11:35 +0200
commit2f420c1cde229517515a0452a170732a87ff1b77 (patch)
treeea8a3bb39a0b7e94c89811d503faedbf72657f74 /libraries/frei0r/frei0r.SlackBuild
parentd7c45e2dd680eacf740e0bf2066b2cdd88d53764 (diff)
downloadslackbuilds-2f420c1cde229517515a0452a170732a87ff1b77.tar.gz
libraries/frei0r: Fix building against the newer opencv.
Thanks to fedora for the patch Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/frei0r/frei0r.SlackBuild')
-rw-r--r--libraries/frei0r/frei0r.SlackBuild7
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 \