summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/rpm-db60.patch
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2016-02-23 11:28:21 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 17:00:27 +0000
commit007c284cb83cf5d98f3e4f605244ca6f1d46caea (patch)
tree32efe1a38e908bdc64ac59cad5f7b5e6b2d99ecf /meta/recipes-devtools/rpm/rpm/rpm-db60.patch
parenta27ca6da59e6939a5bbab641236f7f792c03694f (diff)
downloadpoky-007c284cb83cf5d98f3e4f605244ca6f1d46caea.tar.gz
rpm: Uprev to rpm-5.4.16 (pre) and rpm-5.4+cvs to current CVS head
meta/lib/oe/package_manager.py was also updated. This ensures that any diagnostic messages are ignored from the output of rpmresolve. The patches have been split into bug fixes (things that belong upstream) and local changes that are OE specific. The following patches are obsolete and have been removed: rpm-remove-sykcparse-decl.patch fstack-protector-configure-check.patch rpm-disable-Wno-override-init.patch rpm-lua-fix-print.patch rpm-rpmpgp-fix.patch verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch (From OE-Core rev: ee97e53fcceabc6ef4ddc68f38c5fa0e05c5d9a8) 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-db60.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpm-db60.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-db60.patch b/meta/recipes-devtools/rpm/rpm/rpm-db60.patch
new file mode 100644
index 0000000000..b4df8b751b
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpm-db60.patch
@@ -0,0 +1,56 @@
1Set the DB 6 version to match oe-core db 6.0.30
2
3Upstream-Status: Inappropriate [configuration]
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7Index: rpm/configure.ac
8===================================================================
9--- rpm.orig/configure.ac
10+++ rpm/configure.ac
11@@ -2049,10 +2049,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
12 ]])],
13 [RPM_CHECK_LIB(
14 [Berkeley-DB], [db],
15- [db-6.1], [db_create], [db.h],
16+ [db-6.0], [db_create], [db.h],
17 [yes,external], [db6],
18 [ DBLIBSRCS="$DBLIBSRCS db3.c"
19- DBXY=db61
20+ DBXY=db60
21 AM_CONDITIONAL(WITH_DB, [ true ])
22 AM_CONDITIONAL(WITH_DB_INTERNAL, [ test ".$RPM_CHECK_LIB_LOCATION" = .internal ])
23 if test ".$RPM_CHECK_LIB_LOCATION" = .internal; then
24@@ -2085,7 +2085,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
25 ])
26 ])
27
28-if test ".$ac_cv_lib_db_6_1_db_create" != .yes -a ".$ac_cv_lib_db_5_3_db_create" != .yes; then
29+if test ".$ac_cv_lib_db_6_0_db_create" != .yes -a ".$ac_cv_lib_db_5_3_db_create" != .yes; then
30 CPPFLAGS="${CPPFLAGS_save}"
31 fi
32
33@@ -2097,11 +2097,11 @@ RPM_CHECK_LIB(
34 [ DBLIBSRCS="$DBLIBSRCS sqlite.c" ],
35 [])
36
37-dnl # Sqlite 3.8.3.1 from db-6.1.19
38-if test ".$ac_cv_lib_db_6_1_db_create" = .yes; then
39+dnl # Sqlite 3.8.3.1 from db-6.0.30
40+if test ".$ac_cv_lib_db_6_0_db_create" = .yes; then
41 RPM_CHECK_LIB(
42 [Berkeley-DB (+SQLite3)], [dbsql],
43- [db_sql-6.1], [sqlite3_open], [dbsql.h],
44+ [db_sql-6.0], [sqlite3_open], [dbsql.h],
45 [yes,external], [db6/sql],
46 [
47 AM_CONDITIONAL(WITH_DBSQL, [ true ])
48@@ -2253,7 +2253,7 @@ AC_SUBST(WITH_RUBY_CPPFLAGS)
49 AC_SUBST(WITH_RUBY_SUBDIR)
50 AC_SUBST(WITH_RUBY_VENDORARCHDIR)
51
52-dnl # Java prerequisites (swiped from db-6.1.19/dist/aclocal_java et al)
53+dnl # Java prerequisites (swiped from db-6.0.30/dist/aclocal_java et al)
54 WITH_JAVA=no
55 AC_ARG_WITH([java],
56 AS_HELP_STRING([--with-java], [build RPM with java support]),