From 67e59b4617483e92d92e47bff7cbe409c7231f0f Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 5 Jun 2002 06:49:40 +0000 Subject: Add support for FreeBSD locales. This will fix numerous segmentation faults with programs that depend on libunicode. Bump PORTREVISION. PR: 38901 --- devel/libunicode/files/patch-latin1.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/libunicode/files/patch-latin1.c (limited to 'devel/libunicode/files/patch-latin1.c') diff --git a/devel/libunicode/files/patch-latin1.c b/devel/libunicode/files/patch-latin1.c new file mode 100644 index 000000000000..5196870a1c85 --- /dev/null +++ b/devel/libunicode/files/patch-latin1.c @@ -0,0 +1,11 @@ +--- latin1.c.orig Wed Jun 5 02:41:15 2002 ++++ latin1.c Wed Jun 5 02:41:34 2002 +@@ -89,7 +89,7 @@ + } + + /* The encoding descriptor for Latin1. */ +-static char *l1n[] = { "8859-1", "ISO-8859-1", NULL }; ++static char *l1n[] = { "8859-1", "ISO8859-1", "ISO_8859-1", "ISO-8859-1", NULL }; + unicode_encoding_t unicode_latin1_encoding = + { + l1n, -- cgit v1.2.3