1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Fix the build with the new fribidi.

Reported by:	pointyhat via pav
This commit is contained in:
Joe Marcus Clarke 2009-08-29 22:37:14 +00:00
parent 2ffe8f58d5
commit bdcc852d8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240542

View File

@ -0,0 +1,14 @@
--- kkconsui/src/conscommon.cc.orig 2009-08-29 18:34:40.000000000 -0400
+++ kkconsui/src/conscommon.cc 2009-08-29 18:36:31.000000000 -0400
@@ -274,9 +274,9 @@ string makebidi(const string &buf, int l
// really sick thing
base = FRIBIDI_TYPE_N;
- fribidi_iso8859_8_to_unicode(cbuf, buf.size(), us);
+ fribidi_charset_to_unicode(FRIBIDI_CHAR_SET_ISO8859_8,cbuf, buf.size(), us);
fribidi_log2vis(us, buf.size(), &base, out_us, 0, 0, 0);
- fribidi_unicode_to_iso8859_8(out_us, buf.size(), outstring);
+ fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_ISO8859_8, out_us, buf.size(), outstring);
r = outstring;