openbsd-ports/math/R/patches/patch-src_main_platform_c

14 lines
521 B
Plaintext

$OpenBSD: patch-src_main_platform_c,v 1.2 2004/08/08 15:06:24 naddy Exp $
--- src/main/platform.c.orig Mon May 17 23:04:54 2004
+++ src/main/platform.c Mon Jul 26 19:13:19 2004
@@ -915,7 +915,8 @@ SEXP do_getlocale(SEXP call, SEXP op, SE
else SET_STRING_ELT(ans, 0, mkChar(""));
UNPROTECT(1);
#ifdef HAVE_LANGINFO_CODESET
- utf8locale = strcmp(nl_langinfo(CODESET), "UTF-8") == 0;
+ /* utf8locale = strcmp(nl_langinfo(CODESET), "UTF-8") == 0; */
+ utf8locale = 0;
#endif
return ans;
#else