pkgsrc-WIP-changes archive

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

coreclr-git: Disable PTHREAD_STACK_MIN check while undefined



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Feb 1 01:08:36 2016 +0100
Changeset:	4ad153dab8a082419a3b3daec2b4d91f2e44aa42

Modified Files:
	coreclr-git/distinfo
Added Files:
	coreclr-git/patches/patch-src_pal_src_thread_thread.cpp

Log Message:
coreclr-git: Disable PTHREAD_STACK_MIN check while undefined

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

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

diffstat:
 coreclr-git/distinfo                                   |  1 +
 .../patches/patch-src_pal_src_thread_thread.cpp        | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 9943c1b..586949f 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -10,3 +10,4 @@ SHA1 (patch-src_pal_src_include_pal_context.h) = 32e5535866b4c7046bb05cc152b2e6d
 SHA1 (patch-src_pal_src_safecrt_safecrt__output__s.c) = ed008b078417d790c989226f50f4fe90f0def1ef
 SHA1 (patch-src_pal_src_safecrt_safecrt__woutput__s.c) = 0d666b335e262ed84a385bd3537cdbd94efa46e4
 SHA1 (patch-src_pal_src_thread_context.cpp) = bd5fe3f1793f32e396ace0a9b0cc06b8424b529a
+SHA1 (patch-src_pal_src_thread_thread.cpp) = eb397c1fdd60e2bd9eb5a5c01c267d86acdd712d
diff --git a/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp b/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
new file mode 100644
index 0000000..49cefe7
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- src/pal/src/thread/thread.cpp.orig	2016-01-31 18:28:53.000000000 +0000
++++ src/pal/src/thread/thread.cpp
+@@ -621,11 +621,13 @@ CorUnix::InternalCreateThread(
+         dwStackSize = CPalThread::s_dwDefaultThreadStackSize;
+     }
+ 
++#ifdef PTHREAD_STACK_MIN
+     if (PTHREAD_STACK_MIN > pthreadStackSize)
+     {
+         WARN("default stack size is reported as %d, but PTHREAD_STACK_MIN is "
+              "%d\n", pthreadStackSize, PTHREAD_STACK_MIN);
+     }
++#endif
+     
+     if (pthreadStackSize < dwStackSize)
+     {


Home | Main Index | Thread Index | Old Index