Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cmocka/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 1 Jan 2018 18:11:46 -0000 1.10
+++ Makefile 31 Aug 2018 14:26:13 -0000
@@ -2,12 +2,11 @@
COMMENT = elegant unit testing framework for C
-DISTNAME = cmocka-1.1.1
-REVISION = 0
+DISTNAME = cmocka-1.1.2
EXTRACT_SUFX = .tar.xz
-SHARED_LIBS += cmocka 0.2 # 0.4
+SHARED_LIBS += cmocka 0.3 # 0.4
CATEGORIES = devel
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/cmocka/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo 9 Jun 2017 13:36:08 -0000 1.4
+++ distinfo 31 Aug 2018 14:26:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (cmocka-1.1.1.tar.xz) = 8C70inA5qncZHVJcWxruPxMoa3ehNhXRG8EUh1P8A4k=
-SIZE (cmocka-1.1.1.tar.xz) = 85648
+SHA256 (cmocka-1.1.2.tar.xz) = 0RzR4SmCf/JApQHBxDVX6Ajeiej82KueljyNtBkzK90=
+SIZE (cmocka-1.1.2.tar.xz) = 82300
Index: patches/patch-include_cmocka_h
===================================================================
RCS file: /cvs/ports/devel/cmocka/patches/patch-include_cmocka_h,v
retrieving revision 1.7
diff -u -p -r1.7 patch-include_cmocka_h
--- patches/patch-include_cmocka_h 23 Sep 2016 19:45:39 -0000 1.7
+++ patches/patch-include_cmocka_h 31 Aug 2018 14:26:13 -0000
@@ -2,18 +2,19 @@ $OpenBSD: patch-include_cmocka_h,v 1.7 2
Avoid a conflicting typedef on 32-bit arch.
---- include/cmocka.h.orig Wed Sep 21 15:31:28 2016
-+++ include/cmocka.h Wed Sep 21 17:33:59 2016
-@@ -56,7 +56,7 @@ int __stdcall IsDebuggerPresent();
+Index: include/cmocka.h
+--- include/cmocka.h.orig
++++ include/cmocka.h
+@@ -57,7 +57,7 @@ int __stdcall IsDebuggerPresent();
/* If __WORDSIZE is not set, try to figure it out and default to 32 bit. */
#ifndef __WORDSIZE
--# if defined(__x86_64__) && !defined(__ILP32__)
+-# if (defined(__x86_64__) && !defined(__ILP32__)) || defined(__sparc_v9__) || defined(__sparcv9)
+# if defined(_LP64)
# define __WORDSIZE 64
# else
# define __WORDSIZE 32
-@@ -109,6 +109,9 @@ typedef uintmax_t LargestIntegralType;
+@@ -110,6 +110,9 @@ typedef uintmax_t LargestIntegralType;
#define cast_to_largest_integral_type(value) \
((LargestIntegralType)(value))
@@ -23,7 +24,7 @@ Avoid a conflicting typedef on 32-bit ar
/* Smallest integral type capable of holding a pointer. */
#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED)
# if defined(_WIN32)
-@@ -137,6 +140,7 @@ typedef uintmax_t LargestIntegralType;
+@@ -138,6 +141,7 @@ typedef uintmax_t LargestIntegralType;
# define _UINTPTR_T
# define _UINTPTR_T_DEFINED
#endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */
Hi ports --
Attached is an update for devel/cmocka.
Not too much from upstream, this is the entirety of the ChangeLog:
Wed Aug 29 2018 Andreas Schneider <asn@cryptomilk.org>
* cmocka version 1.1.2
* Added function to filter tests (cmocka_set_test_filter)
* Added new mocking example (uptime)
* Fixed fixture error reporting
* Fixed compiler flags detection
* Some improvement for API documentation
That's good enough for a minor bump to the shared library.
cmocka is only used as a BDEP for a handful of ports (libssh, gnutls,
and samba). Everything builds ok (on amd64) with the new cmocka. More
tests appreciated.
OK?
~Brian
No comments:
Post a Comment