summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-mono_utils_mono-threads.c
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2018-01-30 19:00:27 +0000
committerDavid Naylor <dbn@FreeBSD.org>2018-01-30 19:00:27 +0000
commit1da3310ac13117c3e66501d672446b7eb0e2d670 (patch)
treef565b3312e4715c9ab2c5543a2fb9b40d667713b /lang/mono/files/patch-mono_utils_mono-threads.c
parent- Update to 1.8.0 (diff)
lang/mono: update to version 5.2.0.215 (and enhance USES=mono)
Highlights: - New Roslyn compiler for C# available - Improved support for nuget packages in USES=mono General: - fix pkg-plist: mono now produces '.pdb' debug files instead of '.mdb' - bump all dependant ports USES=mono: - properly handle caching of nuget packages - add support for multiple feeds for nuget packages - add support for nuget dependencies in a separate file - add support for paket packages lang/mono: - update to version 5.2.0.215 - automate certificate initialisation [2] - increase test coverage - mark as conflicting with net/czmq (conflicting on makecert) [1] - patch mono to use $PREFIX/share/mono instead of /usr/share/.mono devel/google-gdata: - use nunit.framework nuget package as the Mono shipped version is no longer suppport. - switch to using csc(1) for compiling (mcs(1) is depreciated). - use delayed signing (and then sign with sn(1)) as csc(1) does not support signing. - fix reference to system assemblies (the '.dll' suffix is required). - fix reference to HttpUtility: csc(1) is more strict about scoping devel/monodevelop: - reroll distinfo (no changes to content) lang/fsharp: - reroll distinfo (no changes to content) security/gnome-keyring-sharp: - delay sign (then sign with sn(1)) as csc(1) does not support direct signing. PR: 223188 [1] PR: 209670 [2] Differential Revision: https://reviews.freebsd.org/D13752
Diffstat (limited to 'lang/mono/files/patch-mono_utils_mono-threads.c')
-rw-r--r--lang/mono/files/patch-mono_utils_mono-threads.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_utils_mono-threads.c b/lang/mono/files/patch-mono_utils_mono-threads.c
new file mode 100644
index 000000000000..c4aad112edf6
--- /dev/null
+++ b/lang/mono/files/patch-mono_utils_mono-threads.c
@@ -0,0 +1,11 @@
+--- mono/utils/mono-threads.c.orig 2017-07-20 18:10:59 UTC
++++ mono/utils/mono-threads.c
+@@ -1243,7 +1243,7 @@ mono_thread_info_sleep (guint32 ms, gboo
+ } while (1);
+ } else {
+ int ret;
+-#if defined (__linux__) && !defined(PLATFORM_ANDROID)
++#if defined(HAVE_CLOCK_NANOSLEEP) && !defined(PLATFORM_ANDROID)
+ struct timespec start, target;
+
+ /* Use clock_nanosleep () to prevent time drifting problems when nanosleep () is interrupted by signals */