Hi,

this is the latest version of cmocka.

Ok?

Cheers,

Remi.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cmocka/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile	22 May 2015 11:31:12 -0000	1.5
+++ Makefile	6 Nov 2015 16:51:10 -0000
@@ -2,24 +2,23 @@
 
 COMMENT =		elegant unit testing framework for C
 
-DISTNAME =		cmocka-0.3.2
-REVISION =		3
+DISTNAME =		cmocka-1.0.1
 
 EXTRACT_SUFX =		.tar.xz
 
-SHARED_LIBS +=  	cmocka                    0.0 # 0.1
+SHARED_LIBS +=  	cmocka                    0.1 # 0.3
 
 CATEGORIES =		devel
 
-HOMEPAGE =		http://cmocka.org/
+HOMEPAGE =		https://cmocka.org/
 
 # Apache License v2
 PERMIT_PACKAGE_CDROM =	Yes
 
-MASTER_SITES =		https://open.cryptomilk.org/attachments/download/34/
+MASTER_SITES =		${HOMEPAGE}/files/1.0/
 
 MODULES =		devel/cmake
 
-NO_TEST =		Yes
+CONFIGURE_ARGS +=       -DUNIT_TESTING=ON
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/cmocka/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo	9 Mar 2014 20:39:09 -0000	1.1.1.1
+++ distinfo	6 Nov 2015 16:51:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (cmocka-0.3.2.tar.xz) = InmtuBgPoXNG9n/mI+XsbOP+0cSztmKTB8ie+LE07GQ=
-SIZE (cmocka-0.3.2.tar.xz) = 64460
+SHA256 (cmocka-1.0.1.tar.xz) = s2BQ16EiQpaAPSFsuhqdTFjDG/MIstbWZJ1hqlo2dTs=
+SIZE (cmocka-1.0.1.tar.xz) = 80240
Index: patches/patch-ConfigureChecks_cmake
===================================================================
RCS file: patches/patch-ConfigureChecks_cmake
diff -N patches/patch-ConfigureChecks_cmake
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-ConfigureChecks_cmake	6 Nov 2015 16:51:10 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- 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.2
diff -u -p -u -p -r1.2 patch-include_cmocka_h
--- patches/patch-include_cmocka_h	20 Jan 2015 20:54:05 -0000	1.2
+++ patches/patch-include_cmocka_h	6 Nov 2015 16:51:10 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-include_cmocka_h,v 1.2 2015/01/20 20:54:05 sthen Exp $
---- include/cmocka.h.orig	Sun Oct 27 15:04:25 2013
-+++ include/cmocka.h	Tue Jan 20 20:53:15 2015
-@@ -97,6 +97,8 @@ int __stdcall IsDebuggerPresent();
+--- include/cmocka.h.orig	Sun Mar  1 10:31:52 2015
++++ include/cmocka.h	Fri Nov  6 17:32:22 2015
+@@ -112,6 +112,8 @@ typedef uintmax_t LargestIntegralType;
  #   else
        typedef unsigned int uintptr_t;
  #   endif /* __WORDSIZE == 64 */
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/cmocka/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST	22 May 2015 11:31:12 -0000	1.2
+++ pkg/PLIST	6 Nov 2015 16:51:10 -0000
@@ -1,4 +1,9 @@
 @comment $OpenBSD: PLIST,v 1.2 2015/05/22 11:31:12 ajacoutot Exp $
 include/cmocka.h
+include/cmocka_pbc.h
+lib/cmake/
+lib/cmake/cmocka/
+lib/cmake/cmocka/cmocka-config-version.cmake
+lib/cmake/cmocka/cmocka-config.cmake
 @lib lib/libcmocka.so.${LIBcmocka_VERSION}
 lib/pkgconfig/cmocka.pc

Reply via email to