summaryrefslogtreecommitdiff
path: root/devel/libunicode/files/patch-latin1.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-05 06:49:40 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-05 06:49:40 +0000
commit67e59b4617483e92d92e47bff7cbe409c7231f0f (patch)
treea9f5fbc95a79959218d09328fd085461ec251675 /devel/libunicode/files/patch-latin1.c
parentSave distfile on MASTER_SITE_LOCAL, (diff)
Add support for FreeBSD locales. This will fix numerous segmentation
faults with programs that depend on libunicode. Bump PORTREVISION. PR: 38901
Diffstat (limited to 'devel/libunicode/files/patch-latin1.c')
-rw-r--r--devel/libunicode/files/patch-latin1.c11
1 files changed, 11 insertions, 0 deletions
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,