freebsd-ports/devel/libunicode/files/patch-latin1.c
Joe Marcus Clarke 67e59b4617 Add support for FreeBSD locales. This will fix numerous segmentation
faults with programs that depend on libunicode.  Bump PORTREVISION.

PR:		38901
2002-06-05 06:49:40 +00:00

11 lines
344 B
C

--- 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,