diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/lcms/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/lcms/APKBUILD b/main/lcms/APKBUILD index 8f781e31d..222b81859 100644 --- a/main/lcms/APKBUILD +++ b/main/lcms/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lcms pkgver=1.19 -pkgrel=5 +pkgrel=6 pkgdesc="Lightweight color management development library/engine" url="http://www.littlecms.com" arch="all" @@ -13,6 +13,15 @@ source="http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms-$pkgver. CVE-2013-4276.patch" _builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build() { cd "$_builddir" ./configure \ |