From 80bd43c46ef2e55f004e9a9df729956c15b6d5c1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Jun 2008 18:01:02 +0000 Subject: [PATCH] fix the build --- libxul.patch | 12 ++++++++++++ yelp.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 libxul.patch 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 \