Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-03-2012, 05:38 PM   #1
Registered: Apr 2010
Distribution: Slackware
Posts: 413

Rep: Reputation: 72
fix fontconfig 2.9.0 crashing secondlife viewers

Some of you might remember that I wrote about an incompatibility between those software packages when fontconfig was updated in -current. I am confident that the viewers will be adapted at some point, but in the meantime I have developed a patch. BAsically you need to rebuild the fontconfig package with a modified Slackbuild that applies the following patch prior to compilation:

--- fontconfig-2.9.0/src/fcmatch.c.orig	2012-03-10 07:24:46.000000000 +0100
+++ fontconfig-2.9.0/src/fcmatch.c	2012-10-03 18:57:48.468070619 +0200
@@ -847,7 +847,10 @@
     int		nsets;
     assert (p != NULL);
-    assert (result != NULL);
+    /* assert (result != NULL); */
+    FcResult DummyResult;
+    FcResult *resultp = &DummyResult;
+    FcResult **resultpp = (result == NULL) ? &resultp : &result ;
     if (!config)
@@ -860,7 +863,7 @@
 	sets[nsets++] = config->fonts[FcSetSystem];
     if (config->fonts[FcSetApplication])
 	sets[nsets++] = config->fonts[FcSetApplication];
-    return FcFontSetSort (config, sets, nsets, p, trim, csp, result);
+    return FcFontSetSort (config, sets, nsets, p, trim, csp, *resultpp);
 #define __fcmatch__
 #include "fcaliastail.h"
When using multilibs, it is the 32bit library that needs attention.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fatal error: fontconfig/fontconfig.h: No such file or directory bogzab Slackware 3 11-07-2011 04:13 PM
[SOLVED] Fedora 13 and ./secondlife Mickey57 Fedora 2 05-05-2010 08:18 AM
Firefox, other 'zilla's keep crashing in 13/Current; how to fix? linus72 Linux - Software 2 04-11-2010 04:57 AM
Games / 3D crashing in linux - Fix dot_txt Linux - Hardware 0 01-19-2008 01:30 PM
Linux Secondlife Game: Please help Xeratul Linux - Games 2 12-19-2006 03:45 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration