https://sources.debian.org/data/main/b/bidiv/1.5-6/debian/patches/fribidi_019 Description: Fix building with fribidi 1.9 Author: أحمد المحمودي Bug-Debian: http://bugs.debian.org/568130 --- a/bidiv.c +++ b/bidiv.c @@ -141,8 +141,9 @@ bidiv(FILE *fp) */ if(c1<0x80||c1>0xbf){ ungetc(c1, fp); - unicode_in[len]= - fribidi_iso8859_8_to_unicode_c(c); + fribidi_charset_to_unicode( + FRIBIDI_CHAR_SET_ISO8859_8, + &c, 1, &unicode_in[len]); } else unicode_in[len]=((c & 037) << 6) + (c1 & 077); newline=0; @@ -153,8 +154,9 @@ bidiv(FILE *fp) In the future we will have a language option, which will control this (as well as the output encoding). */ - unicode_in[len]= - fribidi_iso8859_8_to_unicode_c(c); + fribidi_charset_to_unicode( + FRIBIDI_CHAR_SET_ISO8859_8, + &c, 1, &unicode_in[len]); #else in[len]=c; #endif @@ -206,11 +208,11 @@ bidiv(FILE *fp) rtl_line=0; if(out_utf8) - fribidi_unicode_to_utf8(unicode_out, len, - out); + fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, + unicode_out, len, out); else - fribidi_unicode_to_iso8859_8(unicode_out, len, - out); + fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_ISO8859_8, + unicode_out, len, out); /* if rtl_line (i.e., base_dir is RL), and we didn't fill the entire width, we need to pad with spaces. Maybe in the future this should be an option. -- pe='hidden' name='id' value='32750e8c3ed38df4cafb39cffa878c6851abc899'/>
--- ./process.c.orig    2009-03-06 02:25:10.000000000 +0100
+++ ./process.c 2013-09-12 10:51:16.000000000 +0200
@@ -2901,9 +2901,9 @@
         */
 
 #ifdef IZ_HAVE_UXUIDGID
-            if (eb_len >= EB_UX3_MINLEN
-                && z_uidgid != NULL
-                && (*((EB_HEADSIZE + 0) + ef_buf) == 1)
+            if ((eb_len >= EB_UX3_MINLEN)
+                && (z_uidgid != NULL)
+                && ((*((EB_HEADSIZE + 0) + ef_buf) == 1)))
                     /* only know about version 1 */
             {
                 uch uid_size;
@@ -2915,10 +2915,10 @@
                 flags &= ~0x0ff;      /* ignore any previous UNIX field */
 
                 if ( read_ux3_value((EB_HEADSIZE + 2) + ef_buf,
-                                    uid_size, z_uidgid[0])
+                                    uid_size, &z_uidgid[0])
                     &&
                      read_ux3_value((EB_HEADSIZE + uid_size + 3) + ef_buf,
-                                    gid_size, z_uidgid[1]) )
+                                    gid_size, &z_uidgid[1]) )
                 {
                     flags |= EB_UX2_VALID;   /* signal success */
                 }