From d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 1 Sep 2010 19:09:11 +0100 Subject: packages: Separate out most of the remaining packages into recipes Signed-off-by: Richard Purdie --- .../mozilla-headless/autoconffix.patch | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 meta-moblin/packages/mozilla-headless/mozilla-headless/autoconffix.patch (limited to 'meta-moblin/packages/mozilla-headless/mozilla-headless/autoconffix.patch') diff --git a/meta-moblin/packages/mozilla-headless/mozilla-headless/autoconffix.patch b/meta-moblin/packages/mozilla-headless/mozilla-headless/autoconffix.patch new file mode 100644 index 0000000000..2874b0d832 --- /dev/null +++ b/meta-moblin/packages/mozilla-headless/mozilla-headless/autoconffix.patch @@ -0,0 +1,66 @@ +Fixes to enable building with latest autoconf and automake + +RP 2/2/10 + +Index: offscreen/js/ctypes/libffi/configure.ac +=================================================================== +--- offscreen.orig/js/ctypes/libffi/configure.ac 2010-02-02 19:53:16.753906134 +0000 ++++ offscreen/js/ctypes/libffi/configure.ac 2010-02-02 19:53:21.895155509 +0000 +@@ -17,10 +17,10 @@ + # the wrong, non-multilib-adjusted value will be used in multilibs. + # As a side effect, we have to subst CFLAGS ourselves. + +-m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) ++m4_rename_force([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) + m4_define([_AC_ARG_VAR_PRECIOUS],[]) + AC_PROG_CC +-m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) ++m4_rename_force([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) + + AC_SUBST(CFLAGS) + +Index: offscreen/modules/libpr0n/build/Makefile.in +=================================================================== +--- offscreen.orig/modules/libpr0n/build/Makefile.in 2010-02-02 19:53:16.783906873 +0000 ++++ offscreen/modules/libpr0n/build/Makefile.in 2010-02-02 19:53:21.895155509 +0000 +@@ -92,6 +92,7 @@ + + export:: + @{ \ ++ \ + $(foreach d,$(filter-out icon,$(MOZ_IMG_DECODERS)), \ + echo "#define IMG_BUILD_DECODER_${d}";) \ + $(foreach d,$(MOZ_IMG_ENCODERS), \ +Index: offscreen/configure.in +=================================================================== +--- offscreen.orig/configure.in 2010-02-02 19:53:28.493904163 +0000 ++++ offscreen/configure.in 2010-02-02 16:33:09.000000000 +0000 +@@ -3250,11 +3250,7 @@ + dnl ======================================================== + AC_CHECK_LIB(Xext, XShmCreateImage, _HAVE_XSHM_XEXT=1,, + $XLIBS $XEXT_LIBS) +- AC_CHECK_HEADER(X11/extensions/XShm.h) +- if test "$ac_cv_header_X11_extensions_XShm_h" = "yes" && +- test -n "$_HAVE_XSHM_XEXT"; then +- AC_DEFINE(HAVE_XSHM) +- fi ++ AC_DEFINE(HAVE_XSHM) + + dnl ======================================================== + dnl = Check for XIE +@@ -8120,15 +8116,7 @@ + fi # COMPILE_ENVIRONMENT + + if test "$USE_FC_FREETYPE"; then +- if test "$COMPILE_ENVIRONMENT"; then +- _SAVE_CPPFLAGS="$CPPFLAGS" +- CPPFLAGS="$CPPFLAGS $FT2_CFLAGS" +- AC_CHECK_HEADERS(fontconfig/fcfreetype.h, , +- [AC_MSG_ERROR(Can't find header fontconfig/fcfreetype.h.)]) +- CPPFLAGS="$_SAVE_CPPFLAGS" +- else + AC_DEFINE(HAVE_FONTCONFIG_FCFREETYPE_H) +- fi + fi + + dnl Set various defines and substitutions -- cgit v1.2.3-54-g00ecf