diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-11 13:18:53 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-12 11:10:35 +0100 |
commit | bc4a29df84542f0ef905a2e20d8533a0ea7cb613 (patch) | |
tree | d0261f05a3ec020eb2c46dd36d22d1ee19be2a82 /meta/recipes-devtools/rpm/rpm/rpm-lua.patch | |
parent | b2381b63b94604fdc0e1a7591c854dc1df3ca8f4 (diff) | |
download | poky-bc4a29df84542f0ef905a2e20d8533a0ea7cb613.tar.gz |
rpm: Upgrade RPM to 5.4.9
Beside upreving RPM, add necessary integration patches to libzypp.
Also change the configuration of RPM to support PACKAGECONFIG flags.
RPM is highly configurable, the default configuration is good for
minimal OE-Core use.
(From OE-Core rev: bf94103d4c532ffdfdcdcc6d27c9f65f7824f8f8)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-lua.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-lua.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-lua.patch b/meta/recipes-devtools/rpm/rpm/rpm-lua.patch new file mode 100644 index 0000000000..980e1b1476 --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/rpm-lua.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Add support for cross compiling lua | ||
2 | |||
3 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
4 | |||
5 | diff -ur rpm-5.4.9.orig/configure.ac rpm-5.4.9/configure.ac | ||
6 | --- rpm-5.4.9.orig/configure.ac 2012-05-16 12:16:36.589813548 -0500 | ||
7 | +++ rpm-5.4.9/configure.ac 2012-05-16 12:26:01.070813518 -0500 | ||
8 | @@ -120,6 +120,9 @@ | ||
9 | |||
10 | AC_PATH_PROG(AS, as, as) | ||
11 | |||
12 | +CC_FOR_BUILD=${CC_FOR_BUILD-\$(CC)} | ||
13 | +AC_SUBST(CC_FOR_BUILD) | ||
14 | + | ||
15 | dnl # GCC specifics | ||
16 | AC_PROG_GCC_TRADITIONAL | ||
17 | AC_ARG_ENABLE(build-pic, | ||
18 | diff -ur rpm-5.4.9.orig/lua/Makefile.am rpm-5.4.9/lua/Makefile.am | ||
19 | --- rpm-5.4.9.orig/lua/Makefile.am 2012-04-07 19:15:25.000000000 -0500 | ||
20 | +++ rpm-5.4.9/lua/Makefile.am 2012-05-16 12:26:19.556856688 -0500 | ||
21 | @@ -40,7 +40,7 @@ | ||
22 | |||
23 | # --- bin2c doesn't need anything but a compiler | ||
24 | bin2c$(EXEEXT): bin2c.c | ||
25 | - $(CC) -o $@ $< | ||
26 | + $(CC_FOR_BUILD) -o $@ $< | ||
27 | |||
28 | liblua_la_SOURCES = | ||
29 | liblua_la_CFLAGS = @WITH_LUA_SUBDIR_DEF@ | ||