pkgsrc-WIP-changes archive

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

coreclr-git: Include <stdlib.h> for alloca(3) and <time.h> for time(3)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Feb 12 03:35:32 2016 +0100
Changeset:	4de37c93e4ddd7d4eebd8c8061c7fb9b34fb2768

Modified Files:
	coreclr-git/distinfo
Added Files:
	coreclr-git/patches/patch-src_gc_gc.cpp
	coreclr-git/patches/patch-src_pal_src_config.h.in
	coreclr-git/patches/patch-src_pal_src_configure.cmake
	coreclr-git/patches/patch-src_pal_src_exception_seh.cpp
	coreclr-git/patches/patch-src_pal_src_file_directory.cpp
	coreclr-git/patches/patch-src_pal_src_file_path.cpp
	coreclr-git/patches/patch-src_pal_src_include_pal_malloc.hpp
	coreclr-git/patches/patch-src_pal_src_loader_module.cpp
Removed Files:
	coreclr-git/patches/patch-src_debug_daccess_daccess.cpp

Log Message:
coreclr-git: Include <stdlib.h> for alloca(3) and <time.h> for time(3)

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

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

diffstat:
 coreclr-git/distinfo                                     |  9 ++++++++-
 coreclr-git/patches/patch-src_debug_daccess_daccess.cpp  | 13 -------------
 coreclr-git/patches/patch-src_gc_gc.cpp                  | 13 +++++++++++++
 coreclr-git/patches/patch-src_pal_src_config.h.in        | 12 ++++++++++++
 coreclr-git/patches/patch-src_pal_src_configure.cmake    | 12 ++++++++++++
 coreclr-git/patches/patch-src_pal_src_exception_seh.cpp  | 15 +++++++++++++++
 coreclr-git/patches/patch-src_pal_src_file_directory.cpp | 15 +++++++++++++++
 coreclr-git/patches/patch-src_pal_src_file_path.cpp      | 15 +++++++++++++++
 .../patches/patch-src_pal_src_include_pal_malloc.hpp     | 16 ++++++++++++++++
 coreclr-git/patches/patch-src_pal_src_loader_module.cpp  | 15 +++++++++++++++
 10 files changed, 121 insertions(+), 14 deletions(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 9452030..3be4b25 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,7 +1,14 @@
 $NetBSD$
 
-SHA1 (patch-src_debug_daccess_daccess.cpp) = ea97750ba113ff5af3a7cf8030e9f8d5fe45dc2b
+SHA1 (patch-src_gc_gc.cpp) = c468a34bbafe35dcd242065762ff042a94152e47
 SHA1 (patch-src_pal_inc_pal__char16.h) = ca743d8330802f1a626b1c335461c733eb2a6325
+SHA1 (patch-src_pal_src_config.h.in) = 4ccecd3a3abfbdbf9cf121f59c183e181650a6da
+SHA1 (patch-src_pal_src_configure.cmake) = 99bed7fe2a742d7ee57e0e2d871a44a54a6adfdd
+SHA1 (patch-src_pal_src_exception_seh.cpp) = 114edaa5e28276787f289fb6a27158d5806c5d1a
+SHA1 (patch-src_pal_src_file_directory.cpp) = b2916ecb204a16a58277e07749ebe822906b6865
+SHA1 (patch-src_pal_src_file_path.cpp) = 8fb20bac7748fb791cb82837562416bbf05491d3
+SHA1 (patch-src_pal_src_include_pal_malloc.hpp) = da83a6e05b27679376b375f01b0f8e20b4c3a15a
+SHA1 (patch-src_pal_src_loader_module.cpp) = 56b20e44196dd4001788fc56bbd601042620f6f0
 SHA1 (patch-src_vm_amd64_externalmethodfixupthunk.S) = 5e84b369f30ea62e391e1f949d0d01e1995e5192
 SHA1 (patch-src_vm_amd64_jithelpers__fast.S) = b4002abaed826b673c0af58a818c25d6b17e488e
 SHA1 (patch-src_vm_amd64_pinvokestubs.S) = 344e94f87fc08edde9a61f74a495e3bd2ed11248
diff --git a/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp b/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
deleted file mode 100644
index 785ce97..0000000
--- a/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/debug/daccess/daccess.cpp.orig	2016-02-10 22:49:42.000000000 +0000
-+++ src/debug/daccess/daccess.cpp
-@@ -7227,7 +7227,7 @@ ClrDataAccess::GetDacGlobals()
-         return E_INVALIDARG;
-     }
- #endif
--    ULONG64 dacTableAddress = m_globalBase + DAC_TABLE_RVA;
-+    ULONG64 dacTableAddress = m_globalBase;
-     if (FAILED(ReadFromDataTarget(m_pTarget, dacTableAddress, (BYTE*)&g_dacGlobals, sizeof(g_dacGlobals))))
-     {
-         return CORDBG_E_MISSING_DEBUGGER_EXPORTS;
diff --git a/coreclr-git/patches/patch-src_gc_gc.cpp b/coreclr-git/patches/patch-src_gc_gc.cpp
new file mode 100644
index 0000000..a9e65e7
--- /dev/null
+++ b/coreclr-git/patches/patch-src_gc_gc.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/gc/gc.cpp.orig	2016-02-04 01:25:17.000000000 +0000
++++ src/gc/gc.cpp
+@@ -20,6 +20,8 @@
+ 
+ #include "gcpriv.h"
+ 
++#include <time.h>
++
+ #define USE_INTROSORT
+ 
+ #if defined(GC_PROFILING) || defined(FEATURE_EVENT_TRACE)
diff --git a/coreclr-git/patches/patch-src_pal_src_config.h.in b/coreclr-git/patches/patch-src_pal_src_config.h.in
new file mode 100644
index 0000000..0d48805
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_config.h.in
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/pal/src/config.h.in.orig	2016-02-07 15:52:01.000000000 +0000
++++ src/pal/src/config.h.in
+@@ -2,7 +2,6 @@
+ #define _PAL_CONFIG_H_INCLUDED 1
+ 
+ #cmakedefine01 HAVE_IEEEFP_H
+-#cmakedefine01 HAVE_ALLOCA_H
+ #cmakedefine01 HAVE_SYS_VMPARAM_H
+ #cmakedefine01 HAVE_MACH_VM_TYPES_H
+ #cmakedefine01 HAVE_MACH_VM_PARAM_H
diff --git a/coreclr-git/patches/patch-src_pal_src_configure.cmake b/coreclr-git/patches/patch-src_pal_src_configure.cmake
new file mode 100644
index 0000000..eab5d27
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_configure.cmake
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/pal/src/configure.cmake.orig	2016-02-07 22:08:31.000000000 +0000
++++ src/pal/src/configure.cmake
+@@ -19,7 +19,6 @@ endif()
+ list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_FILE_OFFSET_BITS=64)
+ 
+ check_include_files(ieeefp.h HAVE_IEEEFP_H)
+-check_include_files(alloca.h HAVE_ALLOCA_H)
+ check_include_files(sys/vmparam.h HAVE_SYS_VMPARAM_H)
+ check_include_files(mach/vm_types.h HAVE_MACH_VM_TYPES_H)
+ check_include_files(mach/vm_param.h HAVE_MACH_VM_PARAM_H)
diff --git a/coreclr-git/patches/patch-src_pal_src_exception_seh.cpp b/coreclr-git/patches/patch-src_pal_src_exception_seh.cpp
new file mode 100644
index 0000000..cd40542
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_exception_seh.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/pal/src/exception/seh.cpp.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/pal/src/exception/seh.cpp
+@@ -29,10 +29,6 @@ Abstract:
+ #include "pal/malloc.hpp"
+ #include "signal.hpp"
+ 
+-#if HAVE_ALLOCA_H
+-#include "alloca.h"
+-#endif
+-
+ #if HAVE_MACH_EXCEPTIONS
+ #include "machexception.h"
+ #else
diff --git a/coreclr-git/patches/patch-src_pal_src_file_directory.cpp b/coreclr-git/patches/patch-src_pal_src_file_directory.cpp
new file mode 100644
index 0000000..bab8bdf
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_file_directory.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/pal/src/file/directory.cpp.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/pal/src/file/directory.cpp
+@@ -25,9 +25,7 @@ Revision History:
+ #include "pal/file.h"
+ #include "pal/stackstring.hpp"
+ 
+-#if HAVE_ALLOCA_H
+-#include <alloca.h>
+-#endif  // HAVE_ALLOCA_H
++#include <stdlib.h>
+ #include <sys/param.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/coreclr-git/patches/patch-src_pal_src_file_path.cpp b/coreclr-git/patches/patch-src_pal_src_file_path.cpp
new file mode 100644
index 0000000..f4479d8
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_file_path.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/pal/src/file/path.cpp.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/pal/src/file/path.cpp
+@@ -30,9 +30,7 @@ Revision History:
+ #include <errno.h>
+ 
+ #include <unistd.h>
+-#if HAVE_ALLOCA_H
+-#include <alloca.h>
+-#endif  // HAVE_ALLOCA_H
++#include <stdlib.h>
+ 
+ SET_DEFAULT_DEBUG_CHANNEL(FILE);
+ 
diff --git a/coreclr-git/patches/patch-src_pal_src_include_pal_malloc.hpp b/coreclr-git/patches/patch-src_pal_src_include_pal_malloc.hpp
new file mode 100644
index 0000000..1076afd
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_include_pal_malloc.hpp
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- src/pal/src/include/pal/malloc.hpp.orig	2016-02-06 02:05:27.000000000 +0000
++++ src/pal/src/include/pal/malloc.hpp
+@@ -24,10 +24,7 @@ Abstract:
+ #include "pal/thread.hpp"
+ 
+ #include <stdarg.h>
+-
+-#if HAVE_ALLOCA_H
+-#include <alloca.h>
+-#endif  // HAVE_ALLOCA_H  
++#include <stdlib.h>
+ 
+ extern "C"
+ {
diff --git a/coreclr-git/patches/patch-src_pal_src_loader_module.cpp b/coreclr-git/patches/patch-src_pal_src_loader_module.cpp
new file mode 100644
index 0000000..e357080
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_loader_module.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/pal/src/loader/module.cpp.orig	2016-02-06 02:05:27.000000000 +0000
++++ src/pal/src/loader/module.cpp
+@@ -44,9 +44,7 @@ Abstract:
+ #else   // NEED_DLCOMPAT
+ #include <dlfcn.h>
+ #endif  // NEED_DLCOMPAT
+-#if HAVE_ALLOCA_H
+-#include <alloca.h>
+-#endif  // HAVE_ALLOCA_H
++#include <stdlib.h>
+ 
+ #ifdef __APPLE__
+ #include <mach-o/dyld.h>


Home | Main Index | Thread Index | Old Index