public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in media-gfx/freewrl/files: freewrl-1.22.13-fontconfig-match.patch
@ 2012-08-29 14:54 99% Ian Stakenvicius (axs)
  0 siblings, 0 replies; 1+ results
From: Ian Stakenvicius (axs) @ 2012-08-29 14:54 UTC (permalink / raw
  To: gentoo-commits

axs         12/08/29 14:54:50

  Modified:             freewrl-1.22.13-fontconfig-match.patch
  Log:
  fixed bad patch in last commit
  
  (Portage version: 2.1.11.9/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  media-gfx/freewrl/files/freewrl-1.22.13-fontconfig-match.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/files/freewrl-1.22.13-fontconfig-match.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/files/freewrl-1.22.13-fontconfig-match.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/files/freewrl-1.22.13-fontconfig-match.patch?r1=1.1&r2=1.2

Index: freewrl-1.22.13-fontconfig-match.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/freewrl/files/freewrl-1.22.13-fontconfig-match.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- freewrl-1.22.13-fontconfig-match.patch	29 Aug 2012 14:25:19 -0000	1.1
+++ freewrl-1.22.13-fontconfig-match.patch	29 Aug 2012 14:54:50 -0000	1.2
@@ -0,0 +1,19 @@
+--- src/lib/scenegraph/Component_Text.c	15 Aug 2012 13:31:45 -0000	1.56
++++ src/lib/scenegraph/Component_Text.c	29 Aug 2012 14:18:43 -0000	1.57
+@@ -370,6 +370,7 @@
+     FcPattern *FW_fp=NULL;
+     FcPattern *FW_fm=NULL;
+     FcChar8 *FW_file=NULL;
++    FcResult fcjunkresult;
+     #else
+ 
+     if (!p->font_directory) {
+@@ -487,7 +488,7 @@
+     #ifdef HAVE_FONTCONFIG
+     FcConfigSubstitute(0,FW_fp,FcMatchPattern);
+     FcDefaultSubstitute(FW_fp);
+-    if (!(FW_fm = FcFontMatch(0,FW_fp,0))) {
++    if (!(FW_fm = FcFontMatch(0,FW_fp,&fcjunkresult))) {
+ 	/* do whatever is done when no match found */
+ 	printf ("could not find font for id %x\n",num);
+     } else {





^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-08-29 14:54 99% [gentoo-commits] gentoo-x86 commit in media-gfx/freewrl/files: freewrl-1.22.13-fontconfig-match.patch Ian Stakenvicius (axs)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox