aboutsummaryrefslogtreecommitdiffstats
path: root/main/fribidi/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-03 09:24:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:36 +0000
commit19b451b6458e6af8b966b2b45f6c838da8df9477 (patch)
treec135ae407edf8078bb307aa7e06c750de8ab676c /main/fribidi/APKBUILD
parent23ed2dc8cd83f3ee1af91f7f7ea3c39b7f3ffe34 (diff)
downloadaports-19b451b6458e6af8b966b2b45f6c838da8df9477.tar.bz2
aports-19b451b6458e6af8b966b2b45f6c838da8df9477.tar.xz
main/fribidi: fix build with -Wformat -Werror=format-security
Diffstat (limited to 'main/fribidi/APKBUILD')
-rw-r--r--main/fribidi/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/main/fribidi/APKBUILD b/main/fribidi/APKBUILD
index a5e977152d..4146ebf112 100644
--- a/main/fribidi/APKBUILD
+++ b/main/fribidi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fribidi
pkgver=0.19.5
-pkgrel=1
+pkgrel=2
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
url="http://fribidi.org"
arch="all"
@@ -9,11 +9,17 @@ license="LGPL2+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends=""
-source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2"
+source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2
+ format.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
update_config_sub || return 1
}
@@ -34,6 +40,9 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="925bafb97afee8a2fc2d0470c072a155 fribidi-0.19.5.tar.bz2"
-sha256sums="501231e4260f83fccedae1cafe983a7de87082e3f5387e0b283d016f7f4cb428 fribidi-0.19.5.tar.bz2"
-sha512sums="0a1216d3ff23f76dd90a1fa5b1eadd1276cfedc07bd636e345df23911d2e23bc3780a5ba2e32f2025b517f7137135fb3de6d337f872932466efe480ece364e43 fribidi-0.19.5.tar.bz2"
+md5sums="925bafb97afee8a2fc2d0470c072a155 fribidi-0.19.5.tar.bz2
+eaac20910502561926414e6611ef5201 format.patch"
+sha256sums="501231e4260f83fccedae1cafe983a7de87082e3f5387e0b283d016f7f4cb428 fribidi-0.19.5.tar.bz2
+f4b95b5e1bb53fd99f1844a7a92a7ee1d5dfdeeaccb0ff959648e85d8f3eb42a format.patch"
+sha512sums="0a1216d3ff23f76dd90a1fa5b1eadd1276cfedc07bd636e345df23911d2e23bc3780a5ba2e32f2025b517f7137135fb3de6d337f872932466efe480ece364e43 fribidi-0.19.5.tar.bz2
+a0b304e6ba76c86fb40c1818fbec5be1fb27a292080531042f72a2292a7db89b6389fa49b8709daae8dc2dcccca9f6f078515bf54ba3b080852a0d1291ead57c format.patch"