pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/cpputest



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Dec 16 07:02:08 UTC 2018

Modified Files:
        pkgsrc/devel/cpputest: distinfo
        pkgsrc/devel/cpputest/patches:
            patch-include_CppUTest_PlatformSpecificFunctions.h

Log Message:
#include <sys/types.h> for pid_t. Fixes FreeBSD build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/cpputest/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cpputest/distinfo
diff -u pkgsrc/devel/cpputest/distinfo:1.3 pkgsrc/devel/cpputest/distinfo:1.4
--- pkgsrc/devel/cpputest/distinfo:1.3  Fri Jun 22 15:56:56 2018
+++ pkgsrc/devel/cpputest/distinfo      Sun Dec 16 07:02:07 2018
@@ -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

Index: pkgsrc/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h
diff -u pkgsrc/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h:1.1 pkgsrc/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h:1.2
--- pkgsrc/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h:1.1        Fri Jun 22 15:56:56 2018
+++ pkgsrc/devel/cpputest/patches/patch-include_CppUTest_PlatformSpecificFunctions.h    Sun Dec 16 07:02:08 2018
@@ -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