pkgsrc-WIP-changes archive

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

coreclr-git: Fix patch



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Apr 21 10:32:46 2016 +0200
Changeset:	20a5eeaf1e05a64489680fa8ff49c3e32f947718

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

Log Message:
coreclr-git: Fix patch

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

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

diffstat:
 coreclr-git/distinfo                                    | 2 +-
 coreclr-git/patches/patch-src_pal_src_thread_thread.cpp | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 5854dea..10bcdff 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,3 +1,3 @@
 $NetBSD$
 
-SHA1 (patch-src_pal_src_thread_thread.cpp) = ccbea9afaf9661a7d7dda4abfcaecb8ddfd18a46
+SHA1 (patch-src_pal_src_thread_thread.cpp) = e981083b870befce2eee1b34c2b386702d0b5533
diff --git a/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp b/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
index 588fcd0..f970cb7 100644
--- a/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
+++ b/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
@@ -6,11 +6,11 @@ $NetBSD$
  #include "pal/environ.h"
  #include "pal/init.h"
  
-+#if defined(__NetBSD__) && !defined(HAVE_PTHREAD_GETCPUCLOCKID)
++#if defined(__NetBSD__) && !HAVE_PTHREAD_GETCPUCLOCKID
 +#include <sys/cdefs.h>
 +#include <sys/param.h>
 +#include <sys/sysctl.h>
-+#include <sys/kvm.h>
++#include <kvm.h>
 +#endif
 +
  #include <signal.h>
@@ -20,7 +20,7 @@ $NetBSD$
  
      goto GetThreadTimesInternalExit;
  
-+#elif defined(__NetBSD__) && !defined(HAVE_PTHREAD_GETCPUCLOCKID) /* Currently unimplemented */
++#elif defined(__NetBSD__) && !HAVE_PTHREAD_GETCPUCLOCKID /* Currently unimplemented */
 +
 +    PAL_ERROR palError;
 +    CPalThread *pThread;
@@ -71,7 +71,7 @@ $NetBSD$
 +
 +    for (i = 0; i < nlwps; i++)
 +    {
-+        if (klwp[i].l_lid == lwpid)
++        if (klwp[i].l_lid == THREADSilentGetCurrentThreadId())
 +        {
 +            found = true;
 +            break;


Home | Main Index | Thread Index | Old Index