From 4f69e577a593d81d490edae1b43156659388ddfe Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 29 Aug 2018 13:25:59 -0300 Subject: [PATCH] cmocka: update to 1.1.2. --- srcpkgs/cmocka/patches/wordsize.patch | 19 ------------------- srcpkgs/cmocka/template | 6 +++--- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 srcpkgs/cmocka/patches/wordsize.patch diff --git a/srcpkgs/cmocka/patches/wordsize.patch b/srcpkgs/cmocka/patches/wordsize.patch deleted file mode 100644 index 33beb0488d5..00000000000 --- a/srcpkgs/cmocka/patches/wordsize.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- include/cmocka.h -+++ include/cmocka.h -@@ -56,12 +56,16 @@ int __stdcall IsDebuggerPresent(); - - /* If __WORDSIZE is not set, try to figure it out and default to 32 bit. */ - #ifndef __WORDSIZE -+#ifndef __GLIBC__ -+#include -+#else - # if defined(__x86_64__) && !defined(__ILP32__) - # define __WORDSIZE 64 - # else - # define __WORDSIZE 32 - # endif - #endif -+#endif - - #ifdef DOXYGEN - /** diff --git a/srcpkgs/cmocka/template b/srcpkgs/cmocka/template index fc342f37e6f..e71b787a04c 100644 --- a/srcpkgs/cmocka/template +++ b/srcpkgs/cmocka/template @@ -1,7 +1,7 @@ # Template file for 'cmocka' pkgname=cmocka -version=1.1.1 -revision=2 +version=1.1.2 +revision=1 build_style=cmake configure_args="-DUNIT_TESTING=ON" hostmakedepends="doxygen" @@ -10,7 +10,7 @@ maintainer="maxice8 " license="Apache-2.0" homepage="https://cmocka.org/" distfiles="https://cmocka.org/files/${version%.*}/cmocka-${version}.tar.xz" -checksum=f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389 +checksum=d11cd1e129827ff240a501c1c43557e808de89e8fcd8ab9e963c8db419332bdd cmocka-devel_package() { depends="cmocka-${version}_${revision}"