Hi, this is the diff to update to latest release.
Ok? Remi.
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/cmocka/Makefile,v retrieving revision 1.7 diff -u -p -u -p -r1.7 Makefile --- Makefile 7 Nov 2015 20:03:47 -0000 1.7 +++ Makefile 22 Sep 2016 18:19:17 -0000 @@ -2,8 +2,7 @@ COMMENT = elegant unit testing framework for C -DISTNAME = cmocka-1.0.1 -REVISION = 0 +DISTNAME = cmocka-1.1.0 EXTRACT_SUFX = .tar.xz @@ -16,7 +15,7 @@ HOMEPAGE = https://cmocka.org/ # Apache License v2 PERMIT_PACKAGE_CDROM = Yes -MASTER_SITES = ${HOMEPAGE}/files/1.0/ +MASTER_SITES = ${HOMEPAGE}/files/1.1/ MODULES = devel/cmake Index: distinfo =================================================================== RCS file: /cvs/ports/devel/cmocka/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 6 Nov 2015 20:58:48 -0000 1.2 +++ distinfo 22 Sep 2016 18:19:17 -0000 @@ -1,2 +1,2 @@ -SHA256 (cmocka-1.0.1.tar.xz) = s2BQ16EiQpaAPSFsuhqdTFjDG/MIstbWZJ1hqlo2dTs= -SIZE (cmocka-1.0.1.tar.xz) = 80240 +SHA256 (cmocka-1.1.0.tar.xz) = 6WDTvxvmGGNKS5JPGLtNbyCoJcEJqK1tGvA5E7pCEzA= +SIZE (cmocka-1.1.0.tar.xz) = 85132 Index: patches/patch-ConfigureChecks_cmake =================================================================== RCS file: patches/patch-ConfigureChecks_cmake diff -N patches/patch-ConfigureChecks_cmake --- patches/patch-ConfigureChecks_cmake 6 Nov 2015 20:58:48 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-ConfigureChecks_cmake,v 1.1 2015/11/06 20:58:48 rpointel Exp $ ---- ConfigureChecks.cmake.orig Wed Feb 11 18:15:14 2015 -+++ ConfigureChecks.cmake Fri Nov 6 17:35:57 2015 -@@ -120,7 +120,7 @@ int main(void) { - endif(WIN32) - - if (HAVE_TIME_H AND HAVE_STRUCT_TIMESPEC AND HAVE_CLOCK_GETTIME) -- set(CMAKE_REQUIRED_LIBRARIES ${RT_LIBRARY}) -+#set(CMAKE_REQUIRED_LIBRARIES ${RT_LIBRARY}) - - message(STATUS "CMAKE_REQUIRED_INCLUDES=${CMAKE_REQUIRED_INCLUDES} CMAKE_REQUIRED_LIBRARIES=${CMAKE_REQUIRED_LIBRARIES}") - check_c_source_compiles(" Index: patches/patch-include_cmocka_h =================================================================== RCS file: /cvs/ports/devel/cmocka/patches/patch-include_cmocka_h,v retrieving revision 1.6 diff -u -p -u -p -r1.6 patch-include_cmocka_h --- patches/patch-include_cmocka_h 28 Dec 2015 00:34:39 -0000 1.6 +++ patches/patch-include_cmocka_h 22 Sep 2016 18:19:17 -0000 @@ -2,8 +2,8 @@ $OpenBSD: patch-include_cmocka_h,v 1.6 2 Avoid a conflicting typedef on 32-bit arch. ---- include/cmocka.h.orig Sun Mar 1 09:31:52 2015 -+++ include/cmocka.h Sat Nov 7 20:04:06 2015 +--- 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(); /* If __WORDSIZE is not set, try to figure it out and default to 32 bit. */ @@ -13,7 +13,7 @@ Avoid a conflicting typedef on 32-bit ar # define __WORDSIZE 64 # else # define __WORDSIZE 32 -@@ -96,6 +96,9 @@ typedef uintmax_t LargestIntegralType; +@@ -109,6 +109,9 @@ typedef uintmax_t LargestIntegralType; #define cast_to_largest_integral_type(value) \ ((LargestIntegralType)(value)) @@ -23,7 +23,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) -@@ -124,6 +127,7 @@ typedef uintmax_t LargestIntegralType; +@@ -137,6 +140,7 @@ typedef uintmax_t LargestIntegralType; # define _UINTPTR_T # define _UINTPTR_T_DEFINED #endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */