diff --git a/libxul.patch b/libxul.patch new file mode 100644 index 0000000..fb96f30 --- /dev/null +++ b/libxul.patch @@ -0,0 +1,12 @@ +diff -up yelp-2.23.1/configure.in.libxul yelp-2.23.1/configure.in +--- yelp-2.23.1/configure.in.libxul 2008-06-20 13:58:52.000000000 -0400 ++++ yelp-2.23.1/configure.in 2008-06-20 13:59:02.000000000 -0400 +@@ -248,7 +248,7 @@ if test $MOZILLA = libxul-embedding; the + PKG_CHECK_MODULES([MOZILLA_COMPONENT],[libxul-embedding $gecko_cv_extra_pkg_dependencies]) + MOZILLA_COMPONENT_CFLAGS="$MOZILLA_COMPONENT_CFLAGS `$PKG_CONFIG --cflags ${gecko_cv_gecko}` `$PKG_CONFIG --define-variable=includetype=unstable --cflags ${gecko_cv_gecko}`" + else +- PKG_CHECK_MODULES([MOZILLA_COMPONENT],[${gecko_cv_gecko}-xpcom >= $gecko_min_version $gecko_cv_extra_pkg_dependencies]) ++ PKG_CHECK_MODULES([MOZILLA_COMPONENT],[${gecko_cv_gecko} >= $gecko_min_version $gecko_cv_extra_pkg_dependencies]) + fi + + # Set flags diff --git a/yelp.spec b/yelp.spec index 33a854a..57384d0 100644 --- a/yelp.spec +++ b/yelp.spec @@ -36,6 +36,7 @@ Patch6: hp.patch # http://bugzilla.gnome.org/show_bug.cgi?id=539332 Patch11: standard-icon.patch +Patch12: libxul.patch License: GPLv2+ @@ -95,6 +96,7 @@ one central tool. %patch3 -p1 -b .use-pango %patch6 -p1 -b .hp %patch11 -p1 -b .standard-icon +%patch12 -p1 -b .libxul %build %configure \