Index: head/sysutils/cmocka/Makefile =================================================================== --- head/sysutils/cmocka/Makefile (revision 465408) +++ head/sysutils/cmocka/Makefile (revision 465409) @@ -1,31 +1,32 @@ # $FreeBSD$ PORTNAME= cmocka PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://cmocka.org/files/1.1/ \ LOCAL/dteske MAINTAINER= dteske@FreeBSD.org COMMENT= Unit testing framework for C with support for mock objects LICENSE= APACHE20 USES= cmake:outsource tar:xz USE_LDCONFIG= yes PLIST_FILES= include/cmocka.h \ include/cmocka_pbc.h \ lib/cmake/cmocka/cmocka-config-version.cmake \ lib/cmake/cmocka/cmocka-config.cmake \ lib/libcmocka.so \ lib/libcmocka.so.0 \ lib/libcmocka.so.0.4.1 \ libdata/pkgconfig/cmocka.pc OPTIONS_DEFINE= STATIC STATIC_CMAKE_BOOL= WITH_STATIC_LIB STATIC_PLIST_FILES= lib/libcmocka.a .include Index: head/sysutils/cmocka/files/patch-include_cmocka.h =================================================================== --- head/sysutils/cmocka/files/patch-include_cmocka.h (nonexistent) +++ head/sysutils/cmocka/files/patch-include_cmocka.h (revision 465409) @@ -0,0 +1,19 @@ +--- include/cmocka.h.orig 2018-01-02 22:14:13.670138000 -0600 ++++ include/cmocka.h 2018-01-02 22:35:26.399769000 -0600 +@@ -110,7 +110,7 @@ + ((LargestIntegralType)(value)) + + /* Smallest integral type capable of holding a pointer. */ +-#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED) ++#if !defined(_UINTPTR_T) && !defined(_UINTPTR_T_DEFINED) && !defined(_UINTPTR_T_DECLARED) + # if defined(_WIN32) + /* WIN32 is an ILP32 platform */ + typedef unsigned int uintptr_t; +@@ -136,6 +136,7 @@ + + # define _UINTPTR_T + # define _UINTPTR_T_DEFINED ++# define _UINTPTR_T_DECLARED + #endif /* !defined(_UINTPTR_T) || !defined(_UINTPTR_T_DEFINED) */ + + /* Perform an unsigned cast to uintptr_t. */ Property changes on: head/sysutils/cmocka/files/patch-include_cmocka.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property