From 19a11ea943ee4356a9dc727b6f9928b3d7a1cbc9 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 12 Apr 2019 17:20:01 -0700 Subject: [PATCH] opencv: Fix tarball URL to fix compilation The github repository URL changed. Signed-off-by: Rosen Penev --- libs/opencv/Makefile | 2 +- libs/opencv/patches/010-fix-url.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/opencv/patches/010-fix-url.patch diff --git a/libs/opencv/Makefile b/libs/opencv/Makefile index 0a6f9ade8f..b110787a28 100644 --- a/libs/opencv/Makefile +++ b/libs/opencv/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=opencv PKG_VERSION:=3.1.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip PKG_SOURCE_URL:=http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/$(PKG_VERSION)/ diff --git a/libs/opencv/patches/010-fix-url.patch b/libs/opencv/patches/010-fix-url.patch new file mode 100644 index 0000000000..cad061b803 --- /dev/null +++ b/libs/opencv/patches/010-fix-url.patch @@ -0,0 +1,11 @@ +--- a/3rdparty/ippicv/downloader.cmake ++++ b/3rdparty/ippicv/downloader.cmake +@@ -64,7 +64,7 @@ function(_icv_downloader) + if(DEFINED ENV{OPENCV_ICV_URL}) + set(OPENCV_ICV_URL $ENV{OPENCV_ICV_URL}) + else() +- set(OPENCV_ICV_URL "https://raw.githubusercontent.com/Itseez/opencv_3rdparty/${IPPICV_BINARIES_COMMIT}/ippicv") ++ set(OPENCV_ICV_URL "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${IPPICV_BINARIES_COMMIT}/ippicv") + endif() + endif() + -- 2.30.2