summaryrefslogtreecommitdiff
path: root/lang/mono/files
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-03-24 12:18:04 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-03-24 12:18:04 +0000
commit609b5c835af1eba42f648c63fa229b0751af3eb1 (patch)
tree46c328ef0b7092d4d79345dc50876e8042bf56ee /lang/mono/files
parentSwitch to wx 3.0 (diff)
- Remove indefinite article from COMMENT.
- USES=tar:bzip2. - USES=iconv and prefer nl_langinfo over locale_charset. [1] Reported by: antoine [1]
Notes
Notes: svn path=/head/; revision=348949
Diffstat (limited to 'lang/mono/files')
-rw-r--r--lang/mono/files/patch-eglib-src-gunicode.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/mono/files/patch-eglib-src-gunicode.c b/lang/mono/files/patch-eglib-src-gunicode.c
new file mode 100644
index 000000000000..b1141876ce48
--- /dev/null
+++ b/lang/mono/files/patch-eglib-src-gunicode.c
@@ -0,0 +1,16 @@
+--- eglib/src/gunicode.c.orig
++++ eglib/src/gunicode.c
+@@ -219,10 +219,10 @@
+ is_utf8 = FALSE;
+ #else
+ /* These shouldn't be heap allocated */
+-#if HAVE_LOCALCHARSET_H
+- my_charset = locale_charset ();
+-#elif defined(HAVE_LANGINFO_H)
++#if defined(HAVE_LANGINFO_H)
+ my_charset = nl_langinfo (CODESET);
++#elif defined(HAVE_LOCALCHARSET_H)
++ my_charset = locale_charset ();
+ #else
+ my_charset = "UTF-8";
+ #endif