mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add support for FreeBSD locales. This will fix numerous segmentation
faults with programs that depend on libunicode. Bump PORTREVISION. PR: 38901
This commit is contained in:
parent
6db426f2fb
commit
67e59b4617
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60637
3 changed files with 23 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= libunicode
|
PORTNAME= libunicode
|
||||||
PORTVERSION= 0.4
|
PORTVERSION= 0.4
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= devel gnome
|
CATEGORIES= devel gnome
|
||||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||||
MASTER_SITE_SUBDIR= unstable/sources/libunicode
|
MASTER_SITE_SUBDIR= unstable/sources/libunicode
|
||||||
|
|
11
devel/libunicode/files/patch-iso8859.c
Normal file
11
devel/libunicode/files/patch-iso8859.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- iso8859.c.orig Fri Oct 29 15:15:19 1999
|
||||||
|
+++ iso8859.c Wed Jun 5 02:43:26 2002
|
||||||
|
@@ -271,6 +271,8 @@
|
||||||
|
#define ISO_DEFINE(Num) \
|
||||||
|
static char * n ## Num [] = { "8859-" # Num, \
|
||||||
|
"ISO-8859-" # Num, \
|
||||||
|
+ "ISO_8859-1" # Num, \
|
||||||
|
+ "ISO8859-" # Num, \
|
||||||
|
NULL }; \
|
||||||
|
unicode_encoding_t P3 (unicode_iso8859_, Num, _encoding) = \
|
||||||
|
{ \
|
11
devel/libunicode/files/patch-latin1.c
Normal file
11
devel/libunicode/files/patch-latin1.c
Normal file
|
@ -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,
|
Loading…
Add table
Reference in a new issue