summaryrefslogtreecommitdiffstats
path: root/extra/opencv/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opencv/Pkgfile')
-rw-r--r--extra/opencv/Pkgfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/opencv/Pkgfile b/extra/opencv/Pkgfile
index 8fe3ef54c..1f86c2b0b 100644
--- a/extra/opencv/Pkgfile
+++ b/extra/opencv/Pkgfile
@@ -7,13 +7,11 @@
name=opencv
version=2.1.0
release=1
-source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2
- opencv-1.0.0-gcc44.patch
- libpng-1.4.patch)
+source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2 \
+ http://nutyx.meticul.eu/files/patchs/$name/libpng-1.4.patch)
build() {
cd OpenCV-$version
-# patch -Np1 -i ../opencv-1.0.0-gcc44.patch
patch -p1 -i $SRC/libpng-1.4.patch
cd $SRC
mkdir build