SOURCES: liferea-xulrunner.patch (NEW) - add extra cflags to fix b...

megabajt megabajt at pld-linux.org
Sat Feb 24 16:11:22 CET 2007


Author: megabajt                     Date: Sat Feb 24 15:11:22 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add extra cflags to fix build xulrunner backend

---- Files affected:
SOURCES:
   liferea-xulrunner.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/liferea-xulrunner.patch
diff -u /dev/null SOURCES/liferea-xulrunner.patch:1.1
--- /dev/null	Sat Feb 24 16:11:22 2007
+++ SOURCES/liferea-xulrunner.patch	Sat Feb 24 16:11:17 2007
@@ -0,0 +1,26 @@
+diff -urN liferea-1.2.7/src/mozilla/Makefile.am liferea-1.2.7.new/src/mozilla/Makefile.am
+--- liferea-1.2.7/src/mozilla/Makefile.am	2006-08-16 01:08:28.000000000 +0200
++++ liferea-1.2.7.new/src/mozilla/Makefile.am	2007-02-24 15:34:32.050623000 +0100
+@@ -37,14 +37,20 @@
+ 
+ ## the XulRunner support module
+ 
++XULRUNNER_EXTRA_CFLAGS = \
++	-I/usr/include/xulrunner/dom \
++	-I/usr/include/xulrunner/necko \
++	-I/usr/include/xulrunner/pref \
++	-I/usr/include/xulrunner/webbrwsr
++
+ liblihtmlx_la_SOURCES = \
+ 	mozembed.c mozembed.h \
+ 	mozsupport.cpp mozsupport.h \
+ 	xulrunner.c
+ 
+ liblihtmlx_la_LIBADD = $(PACKAGE_LIBS) $(XULRUNNER_LIBS) $(INTLLIBS)
+-liblihtmlx_la_CFLAGS = $(XULRUNNER_CFLAGS) $(PACKAGE_CFLAGS)  -DXULRUNNER_HOME=\""$(XULRUNNER_HOME)\""
+-liblihtmlx_la_CXXFLAGS = $(XULRUNNER_CFLAGS) $(PACKAGE_CFLAGS)
++liblihtmlx_la_CFLAGS = $(XULRUNNER_CFLAGS) $(XULRUNNER_EXTRA_CFLAGS) $(PACKAGE_CFLAGS) -DXULRUNNER_HOME=\""$(XULRUNNER_HOME)\""
++liblihtmlx_la_CXXFLAGS = $(XULRUNNER_CFLAGS) $(XULRUNNER_EXTRA_CFLAGS) $(PACKAGE_CFLAGS)
+ 
+ if PLATFORM_WIN32
+ 
================================================================


More information about the pld-cvs-commit mailing list