summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-mono_eglib_gfile-posix.c
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2018-06-16 15:56:41 +0000
committerMark Felder <feld@FreeBSD.org>2018-06-16 15:56:41 +0000
commit85936160101d4e257e3a84b497be4f27591ba576 (patch)
tree1d6f88bb289550ee35d6c765f793c8166d8776b1 /lang/mono/files/patch-mono_eglib_gfile-posix.c
parentdevel/py-cclib: update 1.5.1 -> 1.5.3 (diff)
Update Mono to 5.10.1.47
This brings a more modern Mono release to the ports tree. After discussions with others in the Mono community I targeted the mono 5.10.1.47 release which is the latest release in the "Visual Studio" release channel. This is considered to be the most stable and widely tested, which makes it a good candidate for us. We may upgrade to 5.12 after additional testing or introduce another Mono package for users who require testing against a newer release; this has yet to be determined. - Build from official release tarballs - Now include BoringSSL per upstream guidelines [1] - Remove ACCEPTANCE_TESTS, not being updated by upstream - No long require glib; Mono includes their own replacement - USES=display:tests required for some tests - Remove broken for armv6, armv7: file now available [2] - Mark as LLD safe as mono changed how it handles TLS [3] Changelog: http://www.mono-project.com/docs/about-mono/releases/5.10.0/ PR: 222271 [1] PR: 221236 [2] PR: 218885 [3] PR: 211367 Approved by: dbn Differential Revision: https://reviews.freebsd.org/D15780
Diffstat (limited to 'lang/mono/files/patch-mono_eglib_gfile-posix.c')
-rw-r--r--lang/mono/files/patch-mono_eglib_gfile-posix.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_eglib_gfile-posix.c b/lang/mono/files/patch-mono_eglib_gfile-posix.c
new file mode 100644
index 000000000000..51b4c84fa1f4
--- /dev/null
+++ b/lang/mono/files/patch-mono_eglib_gfile-posix.c
@@ -0,0 +1,11 @@
+--- mono/eglib/gfile-posix.c.orig 2018-01-10 08:03:25 UTC
++++ mono/eglib/gfile-posix.c
+@@ -161,7 +161,7 @@ g_get_current_dir (void)
+ do {
+ buffer = g_realloc (buffer, s);
+ r = getcwd (buffer, s);
+- fail = (r == NULL && errno == ERANGE);
++ fail = (r == NULL && (errno == ERANGE || errno == 0));
+ if (fail) {
+ s <<= 1;
+ }