File liferea-1.4.22b.patch of Package liferea

--- src/mozilla/xulrunner.c
+++ src/mozilla/xulrunner.c
@@ -29,11 +29,13 @@
 #include "plugin.h"
 
 static void xulrunner_init(void) {
-	
+
+#ifndef XPCOM_GLUE
 	/* gtk_moz_embed_set_comp_path() must not be called
 	   without a component path for XulRunner. Passing
 	   NULL will crash Liferea. */
 	gtk_moz_embed_set_comp_path(XULRUNNER_HOME);
+#endif
 
 	mozembed_init();	
 }
openSUSE Build Service is sponsored by