Hi ports --

Trivial update. Changelog is also minimal:
    * Fixed subunit output on failures
    * Do not abort if a test is skipped
    * Switched to Modern CMake

No change to the shared library, though the static library is no longer installed.

Passes all test and the build test on its dependencies.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cmocka/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile	4 Sep 2018 14:07:28 -0000	1.11
+++ Makefile	2 Oct 2018 18:21:42 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =		elegant unit testing framework for C
 
-DISTNAME =		cmocka-1.1.2
+DISTNAME =		cmocka-1.1.3
 
 SHARED_LIBS +=  	cmocka                    0.3 # 0.5
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/cmocka/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo	4 Sep 2018 14:07:28 -0000	1.5
+++ distinfo	2 Oct 2018 18:21:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (cmocka-1.1.2.tar.xz) = 0RzR4SmCf/JApQHBxDVX6Ajeiej82KueljyNtBkzK90=
-SIZE (cmocka-1.1.2.tar.xz) = 82300
+SHA256 (cmocka-1.1.3.tar.xz) = Q+q89yqcgOPQP3yKHATkCMGNLbUSHrBYo+9zKp36v68=
+SIZE (cmocka-1.1.3.tar.xz) = 78744
Index: patches/patch-CompilerChecks_cmake
===================================================================
RCS file: /cvs/ports/devel/cmocka/patches/patch-CompilerChecks_cmake,v
retrieving revision 1.1
diff -u -p -r1.1 patch-CompilerChecks_cmake
--- patches/patch-CompilerChecks_cmake	4 Sep 2018 14:07:28 -0000	1.1
+++ patches/patch-CompilerChecks_cmake	2 Oct 2018 18:21:42 -0000
@@ -5,24 +5,23 @@ Remove all -Werror= flags.
 Index: CompilerChecks.cmake
 --- CompilerChecks.cmake.orig
 +++ CompilerChecks.cmake
-@@ -7,39 +7,20 @@ if (UNIX)
+@@ -7,15 +7,7 @@ if (UNIX)
      #
      # This will prevent that compiler flags are detected incorrectly.
      #
 -    check_c_compiler_flag("-Werror" REQUIRED_FLAGS_WERROR)
 -    if (REQUIRED_FLAGS_WERROR)
 -        set(CMAKE_REQUIRED_FLAGS "-Werror")
--
+ 
 -        if (PICKY_DEVELOPER)
 -            list(APPEND SUPPORTED_COMPILER_FLAGS "-Werror")
 -        endif()
 -    endif()
 -
      add_c_compiler_flag("-std=gnu99" SUPPORTED_COMPILER_FLAGS)
-     add_c_compiler_flag("-pedantic" SUPPORTED_COMPILER_FLAGS)
--    add_c_compiler_flag("-pedantic-errors" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Wpedantic" SUPPORTED_COMPILER_FLAGS)
      add_c_compiler_flag("-Wall" SUPPORTED_COMPILER_FLAGS)
-     add_c_compiler_flag("-Wshadow" SUPPORTED_COMPILER_FLAGS)
+@@ -23,22 +15,13 @@ if (UNIX)
      add_c_compiler_flag("-Wmissing-prototypes" SUPPORTED_COMPILER_FLAGS)
      add_c_compiler_flag("-Wcast-align" SUPPORTED_COMPILER_FLAGS)
      #add_c_compiler_flag("-Wcast-qual" SUPPORTED_COMPILER_FLAGS)
@@ -45,7 +44,7 @@ Index: CompilerChecks.cmake
      add_c_compiler_flag("-Wstrict-overflow=2" SUPPORTED_COMPILER_FLAGS)
      add_c_compiler_flag("-Wno-format-zero-length" SUPPORTED_COMPILER_FLAGS)
  
-@@ -49,7 +30,6 @@ if (UNIX)
+@@ -48,7 +31,6 @@ if (UNIX)
          set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -Wformat")
      endif()
      add_c_compiler_flag("-Wformat-security" SUPPORTED_COMPILER_FLAGS)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/cmocka/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST	6 Nov 2015 20:58:48 -0000	1.3
+++ pkg/PLIST	2 Oct 2018 18:21:42 -0000
@@ -5,6 +5,5 @@ lib/cmake/
 lib/cmake/cmocka/
 lib/cmake/cmocka/cmocka-config-version.cmake
 lib/cmake/cmocka/cmocka-config.cmake
-lib/libcmocka.a
 @lib lib/libcmocka.so.${LIBcmocka_VERSION}
 lib/pkgconfig/cmocka.pc

Reply via email to