diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-12-16 07:02:07 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-12-16 07:02:07 +0000 |
commit | 35481d22a78f930b583bfdc9a13d3687e8143d36 (patch) | |
tree | 6f19be7048eb8131c309a8d908a86928bf8976a3 /devel/cpputest | |
parent | 41a74ccc1931e2272ed11976a49f263e55bda943 (diff) | |
download | pkgsrc-35481d22a78f930b583bfdc9a13d3687e8143d36.tar.gz |
#include <sys/types.h> for pid_t. Fixes FreeBSD build.
Diffstat (limited to 'devel/cpputest')
-rw-r--r-- | devel/cpputest/distinfo | 4 | ||||
-rw-r--r-- | devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/cpputest/distinfo b/devel/cpputest/distinfo index c2ff3a27605..2e07c56ba4c 100644 --- a/devel/cpputest/distinfo +++ b/devel/cpputest/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2018/06/22 15:56:56 schmonz Exp $ +$NetBSD: distinfo,v 1.4 2018/12/16 07:02:07 schmonz Exp $ SHA1 (cpputest-3.8.tar.gz) = c68f8b59d0beb6d4e6953173ec3611f801cdb3a1 RMD160 (cpputest-3.8.tar.gz) = c1a4fad966bd8c557fbe62dde0d418b7d1b529ec SHA512 (cpputest-3.8.tar.gz) = 42b9a98549e1296ab9dfcd40bb94e1ac634fc1e70ad6250654ca0fa254c63e0349ae9ccd0b9d72c4bde1f7baccde97e08ce3e6d1fff3e464c3d9e8ae5949185f Size (cpputest-3.8.tar.gz) = 2333302 bytes -SHA1 (patch-include_CppUTest_PlatformSpecificFunctions.h) = afb43662631efd428486b8759c098d9f81bb8470 +SHA1 (patch-include_CppUTest_PlatformSpecificFunctions.h) = 03a11329605ae496f1eb41c958d9679da9e0133a SHA1 (patch-src_Platforms_Gcc_UtestPlatform.cpp) = 436725ac8e2d6b71d2488cd1076d55082104c3bb diff --git a/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h b/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h index 2ff3ed0a300..818060656c7 100644 --- a/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h +++ b/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h @@ -1,10 +1,19 @@ -$NetBSD: patch-include_CppUTest_PlatformSpecificFunctions.h,v 1.1 2018/06/22 15:56:56 schmonz Exp $ +$NetBSD: patch-include_CppUTest_PlatformSpecificFunctions.h,v 1.2 2018/12/16 07:02:08 schmonz Exp $ Expect pid_t from fork() and waitpid(). --- include/CppUTest/PlatformSpecificFunctions.h.orig 2016-05-25 05:41:47.000000000 +0000 +++ include/CppUTest/PlatformSpecificFunctions.h -@@ -33,8 +33,8 @@ TestOutput::WorkingEnvironment PlatformS +@@ -28,13 +28,17 @@ + #ifndef PLATFORMSPECIFICFUNCTIONS_H_ + #define PLATFORMSPECIFICFUNCTIONS_H_ + ++#ifdef CPPUTEST_HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++ + #include "CppUTest/TestOutput.h" + TestOutput::WorkingEnvironment PlatformSpecificGetWorkingEnvironment(); class TestPlugin; extern void (*PlatformSpecificRunTestInASeperateProcess)(UtestShell* shell, TestPlugin* plugin, TestResult* result); |