mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
libraries/opencv: Remove unneeded patch
Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
parent
84d344e520
commit
83dccc86aa
2 changed files with 1 additions and 20 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue