pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cpputest #include <sys/types.h> for pid_t. Fixes...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b33869e2b0f
branches: trunk
changeset: 326890:6b33869e2b0f
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sun Dec 16 07:02:07 2018 +0000
description:
#include <sys/types.h> for pid_t. Fixes FreeBSD build.
diffstat:
devel/cpputest/distinfo | 4 +-
devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h | 13 ++++++++-
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r bf851fccc43e -r 6b33869e2b0f devel/cpputest/distinfo
--- a/devel/cpputest/distinfo Sun Dec 16 07:00:48 2018 +0000
+++ b/devel/cpputest/distinfo Sun Dec 16 07:02:07 2018 +0000
@@ -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 -r bf851fccc43e -r 6b33869e2b0f devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h
--- a/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h Sun Dec 16 07:00:48 2018 +0000
+++ b/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h Sun Dec 16 07:02:07 2018 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index