public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matsuu Takuto (matsuu)" <matsuu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/bidiv/files: bidiv-1.5-fribidi.patch
Date: Mon, 13 Apr 2009 23:05:36 +0000	[thread overview]
Message-ID: <E1LtVDc-0007jp-1p@stork.gentoo.org> (raw)

matsuu      09/04/13 23:05:36

  Added:                bidiv-1.5-fribidi.patch
  Log:
  Fixed to work with recent fribidi, bug #264281.
  (Portage version: 2.1.6.11/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-i18n/bidiv/files/bidiv-1.5-fribidi.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/bidiv/files/bidiv-1.5-fribidi.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/bidiv/files/bidiv-1.5-fribidi.patch?rev=1.1&content-type=text/plain

Index: bidiv-1.5-fribidi.patch
===================================================================
diff -Naur bidiv.orig/Makefile bidiv/Makefile
--- bidiv.orig/Makefile	2006-01-08 03:45:11.000000000 +0900
+++ bidiv/Makefile	2009-04-13 17:55:23.000000000 +0900
@@ -4,8 +4,8 @@
 CC_OPT_FLAGS=-O2 -Wall
 
 
-CFLAGS= $(CC_OPT_FLAGS) $(DEFS) `fribidi-config --cflags`
-LDFLAGS=`fribidi-config --libs`
+CFLAGS= $(CC_OPT_FLAGS) $(DEFS) `pkg-config fribidi --cflags`
+LDFLAGS=`pkg-config fribidi --libs`
 
 all: bidiv
 
diff -Naur bidiv.orig/bidiv.c bidiv/bidiv.c
--- bidiv.orig/bidiv.c	2006-01-08 04:05:54.000000000 +0900
+++ bidiv/bidiv.c	2009-04-13 17:55:23.000000000 +0900
@@ -172,7 +172,7 @@
 		}
 #ifndef TRY_UTF8
 		in[len]='\0';
-		fribidi_iso8859_8_to_unicode(in, unicode_in);
+		fribidi_charset_to_unicode(FRIBIDI_CHAR_SET_ISO8859_8, in, unicode_in);
 #endif
 
 		/* output the line */
@@ -201,10 +201,10 @@
 			rtl_line=0;
 
 		if(out_utf8)
-			fribidi_unicode_to_utf8(unicode_out, len,
+			fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, unicode_out, len,
 					     out);
 		else
-			fribidi_unicode_to_iso8859_8(unicode_out, len,
+			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






             reply	other threads:[~2009-04-13 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13 23:05 Matsuu Takuto (matsuu) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-05-20  4:44 [gentoo-commits] gentoo-x86 commit in app-i18n/bidiv/files: bidiv-1.5-fribidi.patch Samuli Suominen (ssuominen)
2012-05-20  4:55 Samuli Suominen (ssuominen)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LtVDc-0007jp-1p@stork.gentoo.org \
    --to=matsuu@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox