aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcb-util-image/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xcb-util-image/APKBUILD')
-rw-r--r--main/xcb-util-image/APKBUILD22
1 files changed, 19 insertions, 3 deletions
diff --git a/main/xcb-util-image/APKBUILD b/main/xcb-util-image/APKBUILD
index 46d28782a5..e8f0d5a81a 100644
--- a/main/xcb-util-image/APKBUILD
+++ b/main/xcb-util-image/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util-image
pkgver=0.3.9
-pkgrel=0
+pkgrel=1
pkgdesc="Utility libraries for XC Binding - image"
url="http://xcb.freedesktop.org/"
arch="all"
@@ -13,7 +13,11 @@ makedepends="$depends_dev m4"
install=""
replaces="xcb-util"
subpackages="$pkgname-dev"
-source="http://xcb.freedesktop.org/dist/xcb-util-image-$pkgver.tar.gz"
+source="http://xcb.freedesktop.org/dist/xcb-util-image-$pkgver.tar.gz
+ fix-return.patch
+ fix-c90-warnings.patch
+ fix-c90-warnings-2.patch
+ "
_builddir="$srcdir"/xcb-util-image-$pkgver
prepare() {
@@ -29,6 +33,7 @@ prepare() {
build() {
cd "$_builddir"
+ export CFLAGS="$CFLAGS -std=gnu99"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -47,4 +52,15 @@ package() {
rm "$pkgdir"/usr/lib/*.la
}
-md5sums="0bdfcea4ce0666b45d2d64c1f1e25801 xcb-util-image-0.3.9.tar.gz"
+md5sums="0bdfcea4ce0666b45d2d64c1f1e25801 xcb-util-image-0.3.9.tar.gz
+92a43b07efef0450bf65838a65793580 fix-return.patch
+268dde6f747d697f80c2daa351f40633 fix-c90-warnings.patch
+8a934c04a513efdbfeaadd65229ccc7f fix-c90-warnings-2.patch"
+sha256sums="ac7fa09eddc9ecda6fd872d32b6dc23d451a1c6c201873dfe7cac8362c87acf3 xcb-util-image-0.3.9.tar.gz
+05a16fb3ae61bd1e02cc3c55f24ab677865ab514c0935151af63e58b647ac515 fix-return.patch
+aa0413a24bdb4954e01a68ba235199c64e38f6ba18ac8440f25f28bb265fd10c fix-c90-warnings.patch
+55c9d781997eaec1b0c10819b8211321a6e15ea472af7687e9cb93988f4aa12c fix-c90-warnings-2.patch"
+sha512sums="f4b6a8c39dcb63273627655dd5b99fcf6d9d5d1cd32ec57589e8fa3ac04c043548c615f60a2d9673d38e9ce0e1b56cf51a17c55669c7b37e48d9054474ae4090 xcb-util-image-0.3.9.tar.gz
+12c9d36375e42c127fd0e50363b5289cfa86ec238f94af9914e1a5375e55180fe37645a7cc473ff19c286c84dfdee74b6bdb7c3aa6ae1f3d0f0608e482d4c76c fix-return.patch
+1df9fd7fd6e8c0802635f8034b43a77766dddf7b7fb868c5788caf3073798e3ded8c1b6e1baace88fe742d0ea86e1da71f8c77b069242e15d5bf13c1bd82768f fix-c90-warnings.patch
+d9406550a1da9de117a77284888464e6de88908de386b2e0c24b6e33c30cc1d0b975665d10b67e75b464d88878c0d794682f0e10ab160271f8b2a5cad735293e fix-c90-warnings-2.patch"