libraries/opencv: Remove unneeded patch

Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
Christoph Willing 2019-01-13 20:14:32 +10:00 committed by Willy Sudiarto Raharjo
parent 84d344e520
commit 83dccc86aa
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 1 additions and 20 deletions

View file

@ -27,7 +27,7 @@
PRGNAM=opencv
PRGNAM2=opencv_contrib
VERSION=${VERSION:-4.0.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PY2VERSION=${PY2VERSION:-2.7}
@ -83,12 +83,6 @@ tar xf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
echo "Unpacking $CWD/$PRGNAM2-$VERSION.tar.gz ..."
tar xf $CWD/$PRGNAM2-$VERSION.tar.gz
# Only needed if qt5 has been configured
if [ -d /usr/include/qt5 ]; then
patch -p0 < $CWD/patch_filter_scharr.diff
fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -1,13 +0,0 @@
--- opencv_contrib-4.0.0/modules/cvv/src/qtutil/filter/sobelfilterwidget.hpp.orig 2018-11-18 11:36:23.000000000 +1000
+++ opencv_contrib-4.0.0/modules/cvv/src/qtutil/filter/sobelfilterwidget.hpp 2018-11-28 15:39:14.367000000 +1000
@@ -11,6 +11,10 @@
#include "grayfilterwidget.hpp"
#include "channelreorderfilter.hpp"
+enum SpecialFilter {
+ FILTER_SCHARR = -1
+};
+
namespace cvv
{
namespace qtutil