pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mono-git: Push build forward (add forgotten patches)
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Mon Apr 18 01:19:36 2016 +0200
Changeset: 7ce14031fbbb6d9726c54779694fc14c6de99680
Added Files:
mono-git/patches/patch-mono_utils_mono-proclib.c
mono-git/patches/patch-mono_utils_mono-threads-posix.c
Log Message:
mono-git: Push build forward (add forgotten patches)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7ce14031fbbb6d9726c54779694fc14c6de99680
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mono-git/patches/patch-mono_utils_mono-proclib.c | 13 +++++++++++++
.../patches/patch-mono_utils_mono-threads-posix.c | 21 +++++++++++++++++++++
2 files changed, 34 insertions(+)
diffs:
diff --git a/mono-git/patches/patch-mono_utils_mono-proclib.c b/mono-git/patches/patch-mono_utils_mono-proclib.c
new file mode 100644
index 0000000..9b65f53
--- /dev/null
+++ b/mono-git/patches/patch-mono_utils_mono-proclib.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mono/utils/mono-proclib.c.orig 2016-04-17 12:53:59.000000000 +0000
++++ mono/utils/mono-proclib.c
+@@ -58,7 +58,7 @@
+ #define kinfo_pid_member ki_pid
+ #define kinfo_name_member ki_comm
+ #endif
+-#define USE_SYSCTL 1
++#define USE_SYSCTL 0
+ #endif
+
+ /**
diff --git a/mono-git/patches/patch-mono_utils_mono-threads-posix.c b/mono-git/patches/patch-mono_utils_mono-threads-posix.c
new file mode 100644
index 0000000..283f21c
--- /dev/null
+++ b/mono-git/patches/patch-mono_utils_mono-threads-posix.c
@@ -0,0 +1,21 @@
+$NetBSD$
+
+--- mono/utils/mono-threads-posix.c.orig 2016-04-16 14:26:45.000000000 +0000
++++ mono/utils/mono-threads-posix.c
+@@ -296,6 +296,16 @@ mono_threads_core_set_name (MonoNativeTh
+ n [62] = '\0';
+ pthread_setname_np (n);
+ }
++#elif defined (__NetBSD__)
++ if (!name) {
++ pthread_setname_np (tid, "%s", (void*)"");
++ } else {
++ char n [PTHREAD_MAX_NAMELEN_NP];
++
++ strncpy (n, name, PTHREAD_MAX_NAMELEN_NP);
++ n [PTHREAD_MAX_NAMELEN_NP - 1] = '\0';
++ pthread_setname_np (tid, "%s", (void*)n);
++ }
+ #elif defined (HAVE_PTHREAD_SETNAME_NP)
+ if (!name) {
+ pthread_setname_np (tid, "");
Home |
Main Index |
Thread Index |
Old Index