components/desktop/poppler/patches/poppler-06-gthread-build-issue.patch
changeset 6408 3c9262a98d5d
parent 6407 233620acc9da
child 6409 a57c61602ca6
equal deleted inserted replaced
6407:233620acc9da 6408:3c9262a98d5d
     1 Patch taken from the Desktop consolidation.
       
     2 See BugDB CR #17795775
       
     3 poppler-data,poppler,libspectre,evince- resolve build issue and add TPNO changes
       
     4 for more details.
       
     5 
       
     6 This patch will be submitted upstream if the problem still exists in the
       
     7 latest version of poppler.
       
     8 
       
     9 --- poppler-0.14.4/glib/demo/main.c.orig	2013-11-14 09:10:00.162047254 +0530
       
    10 +++ poppler-0.14.4/glib/demo/main.c	2013-11-14 09:12:20.595665974 +0530
       
    11 @@ -158,7 +158,7 @@ gint main (gint argc, gchar **argv)
       
    12  		return 1;
       
    13  	}
       
    14  
       
    15 -	if (!g_thread_supported ())
       
    16 +	if (!g_thread_get_initialized())
       
    17  		g_thread_init (NULL);
       
    18  
       
    19  	gtk_init (&argc, &argv);