fix the build

This commit is contained in:
Matthias Clasen 2008-06-20 18:01:02 +00:00
parent 304b950809
commit 80bd43c46e
2 changed files with 14 additions and 0 deletions

12
libxul.patch Normal file
View File

@ -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

View File

@ -36,6 +36,7 @@ Patch6: hp.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=539332 # http://bugzilla.gnome.org/show_bug.cgi?id=539332
Patch11: standard-icon.patch Patch11: standard-icon.patch
Patch12: libxul.patch
License: GPLv2+ License: GPLv2+
@ -95,6 +96,7 @@ one central tool.
%patch3 -p1 -b .use-pango %patch3 -p1 -b .use-pango
%patch6 -p1 -b .hp %patch6 -p1 -b .hp
%patch11 -p1 -b .standard-icon %patch11 -p1 -b .standard-icon
%patch12 -p1 -b .libxul
%build %build
%configure \ %configure \