cmocka: update to 1.1.2.

This commit is contained in:
maxice8 2018-08-29 13:25:59 -03:00
parent 24398cf9de
commit 4f69e577a5
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 3 additions and 22 deletions

View file

@ -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 <bits/reg.h>
+#else
# if defined(__x86_64__) && !defined(__ILP32__)
# define __WORDSIZE 64
# else
# define __WORDSIZE 32
# endif
#endif
+#endif
#ifdef DOXYGEN
/**

View file

@ -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 <thinkabit.ukim@gmail.com>"
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}"