aboutsummaryrefslogtreecommitdiff
path: root/libraries/frei0r/frei0r.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-09-07 15:52:27 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 08:11:35 +0700
commit2f420c1cde229517515a0452a170732a87ff1b77 (patch)
treeea8a3bb39a0b7e94c89811d503faedbf72657f74 /libraries/frei0r/frei0r.SlackBuild
parentd7c45e2dd680eacf740e0bf2066b2cdd88d53764 (diff)
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 83095f79772b..93690fd000f8 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 \