diff options
-rw-r--r-- | libraries/frei0r/frei0r.SlackBuild | 3 | ||||
-rw-r--r-- | libraries/frei0r/patch_imgproc.diff | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild index 875cac4bc0178..0814b29a70ab5 100644 --- a/libraries/frei0r/frei0r.SlackBuild +++ b/libraries/frei0r/frei0r.SlackBuild @@ -87,6 +87,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Needed by opencv >= 3.4.2 +patch -p0 < $CWD/patch_imgproc.diff + # Fix installation paths sed -i \ -e "s|lib/|lib$LIBDIRSUFFIX/|" \ diff --git a/libraries/frei0r/patch_imgproc.diff b/libraries/frei0r/patch_imgproc.diff new file mode 100644 index 0000000000000..55449f84a8e26 --- /dev/null +++ b/libraries/frei0r/patch_imgproc.diff @@ -0,0 +1,10 @@ +--- src/filter/facebl0r/facebl0r.cpp.orig 2018-07-14 20:49:01.564511495 +1000 ++++ src/filter/facebl0r/facebl0r.cpp 2018-07-14 18:47:44.430685507 +1000 +@@ -19,6 +19,7 @@ + #include <stdlib.h> + #include <opencv/cv.h> + #include <opencv/highgui.h> ++#include <opencv2/imgproc.hpp> + + + #include <frei0r.hpp> |