From dc856263d9527298e2bcc4118680eb392f80af90 Mon Sep 17 00:00:00 2001 From: tmpfile Date: Sat, 17 Jun 2017 09:34:38 -0300 Subject: main/cmocka: upgrade to 1.1.1 --- main/cmocka/APKBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'main/cmocka/APKBUILD') diff --git a/main/cmocka/APKBUILD b/main/cmocka/APKBUILD index 1a4f051338..92b17b807a 100644 --- a/main/cmocka/APKBUILD +++ b/main/cmocka/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=cmocka -pkgver=1.1.0 -pkgrel=4 +pkgver=1.1.1 +pkgrel=0 pkgdesc="An elegant unit testing framework for C with support for mock objects" url="https://cmocka.org/" arch="all !aarch64" @@ -16,7 +16,7 @@ source="https://cmocka.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz builddir="$srcdir/$pkgname-$pkgver" prepare() { - default_prepare || return 1 + default_prepare # Just one single test (customer_database_test) is breaking on ppc64le. if [ "$CARCH" = "ppc64le" ]; then @@ -25,7 +25,7 @@ prepare() { } build() { - mkdir -p "$builddir"/build || return 1 + mkdir -p "$builddir"/build cd "$builddir"/build cmake .. \ @@ -33,8 +33,7 @@ build() { -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="$CFLAGS" \ - -DUNIT_TESTING=ON \ - || return 1 + -DUNIT_TESTING=ON make } @@ -46,6 +45,6 @@ package() { make -C "$builddir"/build DESTDIR="$pkgdir" install } -sha512sums="b45b6c6bf6c1a0e12cbbfa203afc0172aa53215e0bd43a21b30db04c0490609a7a262f1b4d87be9df0c5c486c4f4891d3432e0e053418d373d9750a6cf5adf70 cmocka-1.1.0.tar.xz +sha512sums="801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577 cmocka-1.1.1.tar.xz f7db110909662dc1a185d09d1f00aef967eee99753f6929b1f0794422c1ca38f4a3643f39960813355b7da155f96325a30dfbe66ac6f19e55967a241a0e923de s390x_wordsize.patch b20b5c0d172a9df756ec093a3df4bf5bdf2a0c06a3d3ad39ec001248ccb86e6fd3dcedfc9ce42e8309cc01ea34fadffd4ebcc0fb3af9f5e795e7fe40c461ac60 musl_uintptr.patch" -- cgit v1.2.3