diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-02 17:29:08 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-02 17:29:08 +0000 |
commit | 3813e33c7f8a67f92324651840ec68cc2b4b57e2 (patch) | |
tree | 1937f3d9dac475b8f441c1f550917f9bb4cb4412 /meta/packages/mozilla-headless | |
parent | 11044cbd741cc2ff17d0224752ecb3180c88f486 (diff) | |
download | poky-3813e33c7f8a67f92324651840ec68cc2b4b57e2.tar.gz |
mozilla-headless: Add patch to enable builds with recent autoconf/automake
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mozilla-headless')
-rw-r--r-- | meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch | 33 | ||||
-rw-r--r-- | meta/packages/mozilla-headless/mozilla-headless_hg.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch b/meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch new file mode 100644 index 0000000000..dad90771d0 --- /dev/null +++ b/meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Fixes to enable building with latest autoconf and automake | ||
2 | |||
3 | RP 2/2/10 | ||
4 | |||
5 | Index: offscreen/js/ctypes/libffi/configure.ac | ||
6 | =================================================================== | ||
7 | --- offscreen.orig/js/ctypes/libffi/configure.ac 2010-02-01 14:25:48.859064666 +0000 | ||
8 | +++ offscreen/js/ctypes/libffi/configure.ac 2010-02-01 14:26:54.097792073 +0000 | ||
9 | @@ -17,10 +17,10 @@ | ||
10 | # the wrong, non-multilib-adjusted value will be used in multilibs. | ||
11 | # As a side effect, we have to subst CFLAGS ourselves. | ||
12 | |||
13 | -m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) | ||
14 | +m4_rename_force([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) | ||
15 | m4_define([_AC_ARG_VAR_PRECIOUS],[]) | ||
16 | AC_PROG_CC | ||
17 | -m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) | ||
18 | +m4_rename_force([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) | ||
19 | |||
20 | AC_SUBST(CFLAGS) | ||
21 | |||
22 | Index: offscreen/modules/libpr0n/build/Makefile.in | ||
23 | =================================================================== | ||
24 | --- offscreen.orig/modules/libpr0n/build/Makefile.in 2010-01-14 12:06:49.000000000 +0000 | ||
25 | +++ offscreen/modules/libpr0n/build/Makefile.in 2010-02-02 16:58:01.177764887 +0000 | ||
26 | @@ -92,6 +92,7 @@ | ||
27 | |||
28 | export:: | ||
29 | @{ \ | ||
30 | + \ | ||
31 | $(foreach d,$(filter-out icon,$(MOZ_IMG_DECODERS)), \ | ||
32 | echo "#define IMG_BUILD_DECODER_${d}";) \ | ||
33 | $(foreach d,$(MOZ_IMG_ENCODERS), \ | ||
diff --git a/meta/packages/mozilla-headless/mozilla-headless_hg.bb b/meta/packages/mozilla-headless/mozilla-headless_hg.bb index c95d08332a..5ebe1a4876 100644 --- a/meta/packages/mozilla-headless/mozilla-headless_hg.bb +++ b/meta/packages/mozilla-headless/mozilla-headless_hg.bb | |||
@@ -8,6 +8,7 @@ SRC_URI = "hg://hg.mozilla.org/incubator;protocol=http;module=offscreen \ | |||
8 | file://removebadrpath-1a622cb7c384.patch;patch=1;rev=1a622cb7c384 \ | 8 | file://removebadrpath-1a622cb7c384.patch;patch=1;rev=1a622cb7c384 \ |
9 | file://removebadrpath.patch;patch=1;notrev=1a622cb7c384 \ | 9 | file://removebadrpath.patch;patch=1;notrev=1a622cb7c384 \ |
10 | file://buildfixhack.patch;patch=1;notrev=1a622cb7c384 \ | 10 | file://buildfixhack.patch;patch=1;notrev=1a622cb7c384 \ |
11 | file://autoconffix.patch;patch=1 \ | ||
11 | file://jsautocfg.h \ | 12 | file://jsautocfg.h \ |
12 | file://mozconfig" | 13 | file://mozconfig" |
13 | PV = "0.2+hg-1.0+${SRCPV}" | 14 | PV = "0.2+hg-1.0+${SRCPV}" |