pkgsrc-WIP-changes archive

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

corefx-git: Add a missing header



Module Name:	pkgsrc-wip
Committed By:	jasonwilliams200ok <necmon%yahoo.com@localhost>
Pushed By:	danglingpointer
Date:		Tue Feb 9 02:41:37 2016 +0000
Changeset:	f79214b51cd6671ad7e1a6ed22e1251b8680588b

Modified Files:
	corefx-git/distinfo
	corefx-git/patches/patch-src_Native_System.Native_pal__errno.cpp
	corefx-git/patches/patch-src_Native_System.Native_pal__errno.h

Log Message:
corefx-git: Add a missing header

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f79214b51cd6671ad7e1a6ed22e1251b8680588b

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

diffstat:
 corefx-git/distinfo                                      |  4 ++--
 .../patch-src_Native_System.Native_pal__errno.cpp        | 16 ++++++++++++----
 .../patches/patch-src_Native_System.Native_pal__errno.h  | 10 +++++++++-
 3 files changed, 23 insertions(+), 7 deletions(-)

diffs:
diff --git a/corefx-git/distinfo b/corefx-git/distinfo
index 2146881..10cd539 100644
--- a/corefx-git/distinfo
+++ b/corefx-git/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 SHA1 (patch-src_Native_CMakeLists.txt) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
 SHA1 (patch-src_Native_Common_pal__config.h.in) = 37fa257faf95a5da68f9dfa2e609afdaddd1ed9a
-SHA1 (patch-src_Native_System.Native_pal__errno.cpp) = 6a91c84439fe8d8d3d73de5ac7dbba70c929e186
-SHA1 (patch-src_Native_System.Native_pal__errno.h) = 809103a7fb2378d936fa6bcea431bc108b7f9d5f
+SHA1 (patch-src_Native_System.Native_pal__errno.cpp) = b9495d24c0b26b9b906f22681dd9ac76df3a6220
+SHA1 (patch-src_Native_System.Native_pal__errno.h) = 888ad64c143f7b21549bcfc0adb0c9121aeb6ca6
 SHA1 (patch-src_Native_System.Native_pal__interfaceaddresses.cpp) = 4f82e6f028fe2b9826ba6afb62869e42a0b6ee3d
 SHA1 (patch-src_Native_System.Native_pal__mount.cpp) = 7858f5ff60fcb0d60452648aef1b1034698e2c85
 SHA1 (patch-src_Native_System.Native_pal__networking.cpp) = 4f8ef34ed37564978e9370c6f07114b72ef36bd3
diff --git a/corefx-git/patches/patch-src_Native_System.Native_pal__errno.cpp b/corefx-git/patches/patch-src_Native_System.Native_pal__errno.cpp
index e104ae2..787f213 100644
--- a/corefx-git/patches/patch-src_Native_System.Native_pal__errno.cpp
+++ b/corefx-git/patches/patch-src_Native_System.Native_pal__errno.cpp
@@ -2,7 +2,15 @@ $NetBSD$
 
 --- src/Native/System.Native/pal_errno.cpp.orig	2016-02-07 13:49:29.000000000 +0000
 +++ src/Native/System.Native/pal_errno.cpp
-@@ -126,8 +126,10 @@ extern "C" Error SystemNative_ConvertErr
+@@ -6,7 +6,6 @@
+ #include "pal_errno.h"
+ #include "pal_utilities.h"
+ 
+-#include <errno.h>
+ #include <string.h>
+ #include <assert.h>
+ 
+@@ -126,8 +125,10 @@ extern "C" Error SystemNative_ConvertErr
              return PAL_ENOTDIR;
          case ENOTEMPTY:
              return PAL_ENOTEMPTY;
@@ -13,7 +21,7 @@ $NetBSD$
          case ENOTSOCK:
              return PAL_ENOTSOCK;
          case ENOTSUP:
-@@ -138,8 +140,10 @@ extern "C" Error SystemNative_ConvertErr
+@@ -138,8 +139,10 @@ extern "C" Error SystemNative_ConvertErr
              return PAL_ENXIO;
          case EOVERFLOW:
              return PAL_EOVERFLOW;
@@ -24,7 +32,7 @@ $NetBSD$
          case EPERM:
              return PAL_EPERM;
          case EPIPE:
-@@ -298,8 +302,10 @@ extern "C" int32_t SystemNative_ConvertE
+@@ -298,8 +301,10 @@ extern "C" int32_t SystemNative_ConvertE
              return ENOTDIR;
          case PAL_ENOTEMPTY:
              return ENOTEMPTY;
@@ -35,7 +43,7 @@ $NetBSD$
          case PAL_ENOTSOCK:
              return ENOTSOCK;
          case PAL_ENOTSUP:
-@@ -310,8 +316,10 @@ extern "C" int32_t SystemNative_ConvertE
+@@ -310,8 +315,10 @@ extern "C" int32_t SystemNative_ConvertE
              return ENXIO;
          case PAL_EOVERFLOW:
              return EOVERFLOW;
diff --git a/corefx-git/patches/patch-src_Native_System.Native_pal__errno.h b/corefx-git/patches/patch-src_Native_System.Native_pal__errno.h
index af38765..00e38d9 100644
--- a/corefx-git/patches/patch-src_Native_System.Native_pal__errno.h
+++ b/corefx-git/patches/patch-src_Native_System.Native_pal__errno.h
@@ -2,7 +2,15 @@ $NetBSD$
 
 --- src/Native/System.Native/pal_errno.h.orig	2016-02-07 13:49:29.000000000 +0000
 +++ src/Native/System.Native/pal_errno.h
-@@ -84,13 +84,17 @@ enum Error : int32_t
+@@ -5,6 +5,7 @@
+ #pragma once
+ 
+ #include "pal_types.h"
++#include <errno.h>
+ 
+ /**
+  * Error codes returned via ConvertErrno.
+@@ -84,13 +85,17 @@ enum Error : int32_t
      PAL_ENOTCONN = 0x10038,        // The socket is not connected.
      PAL_ENOTDIR = 0x10039,         // Not a directory or a symbolic link to a directory.
      PAL_ENOTEMPTY = 0x1003A,       // Directory not empty.


Home | Main Index | Thread Index | Old Index