summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/db
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/db')
-rw-r--r--meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch2
-rw-r--r--meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch2
-rw-r--r--meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch2
-rw-r--r--meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch2
-rw-r--r--meta/recipes-support/db/db/fix-parallel-build.patch2
-rw-r--r--meta/recipes-support/db/db/sequence-type.patch2
-rw-r--r--meta/recipes-support/db/db_5.3.28.bb22
7 files changed, 16 insertions, 18 deletions
diff --git a/meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch b/meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch
index a4ff2ecb0c..c82e7c375f 100644
--- a/meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch
+++ b/meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch
@@ -7,7 +7,7 @@ db5 does not build because it is redefining a C++11 standard
7library identifier, atomic_init(). Therefore prefix all 7library identifier, atomic_init(). Therefore prefix all
8its internal defines with '__db_', to avoid collisions. 8its internal defines with '__db_', to avoid collisions.
9 9
10Upstream-Status: Pending 10Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead]
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 13---
diff --git a/meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch b/meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
index 571708e03e..2374885e77 100644
--- a/meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
+++ b/meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
@@ -11,7 +11,7 @@ Fixes
11../db-5.3.28/src/dbinc/atomic.h:179:19: error: definition of builtin function '__atomic_compare_exchange' 11../db-5.3.28/src/dbinc/atomic.h:179:19: error: definition of builtin function '__atomic_compare_exchange'
12static inline int __atomic_compare_exchange( 12static inline int __atomic_compare_exchange(
13 13
14Upstream-Status: Pending 14Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead]
15 15
16Signed-off-by: Khem Raj <raj.khem@gmail.com> 16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17--- 17---
diff --git a/meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch b/meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch
index 9d51a44a26..d238b0f063 100644
--- a/meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch
+++ b/meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch
@@ -10,7 +10,7 @@ its 12-bytes here and libc has 16-bytes
10 10
11This can cause problems especially with 64bit time_t 11This can cause problems especially with 64bit time_t
12 12
13Upstream-Status: Pending 13Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead]
14Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15--- 15---
16 src/dbinc/clock.h | 17 +---------------- 16 src/dbinc/clock.h | 17 +----------------
diff --git a/meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch b/meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch
index cb28db1343..a574cf67b9 100644
--- a/meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch
+++ b/meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch
@@ -7,7 +7,7 @@ This helps cross compile when tag inference via heuristics
7fail because CC variable is having -fPIE -pie and libtool 7fail because CC variable is having -fPIE -pie and libtool
8smartly removes it when building libraries 8smartly removes it when building libraries
9 9
10Upstream-Status: Pending 10Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead]
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 13---
diff --git a/meta/recipes-support/db/db/fix-parallel-build.patch b/meta/recipes-support/db/db/fix-parallel-build.patch
index 27632e1ddb..42c2407cf2 100644
--- a/meta/recipes-support/db/db/fix-parallel-build.patch
+++ b/meta/recipes-support/db/db/fix-parallel-build.patch
@@ -2,7 +2,7 @@ With higher paralelism it sometimes fails with:
2libtool: link: `util_log.lo' is not a valid libtool object 2libtool: link: `util_log.lo' is not a valid libtool object
3make: *** [db_replicate] Error 1 3make: *** [db_replicate] Error 1
4 4
5Upstream-Status: Pending 5Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead]
6 6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8 8
diff --git a/meta/recipes-support/db/db/sequence-type.patch b/meta/recipes-support/db/db/sequence-type.patch
index a6fe3d62a0..fc9f7f0113 100644
--- a/meta/recipes-support/db/db/sequence-type.patch
+++ b/meta/recipes-support/db/db/sequence-type.patch
@@ -6,7 +6,7 @@ in stdint.h.
6This then breaks the overly complicated type check but as we know that int64_t 6This then breaks the overly complicated type check but as we know that int64_t
7exists and works, we can just delete that. 7exists and works, we can just delete that.
8 8
9Upstream-Status: Pending 9Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead]
10Signed-off-by: Ross Burton <ross.burton@intel.com> 10Signed-off-by: Ross Burton <ross.burton@intel.com>
11 11
12--- a/dist/aclocal/sequence.m4~ 2013-09-09 16:35:02.000000000 +0100 12--- a/dist/aclocal/sequence.m4~ 2013-09-09 16:35:02.000000000 +0100
diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb
index 318efcb61d..a99d5cea62 100644
--- a/meta/recipes-support/db/db_5.3.28.bb
+++ b/meta/recipes-support/db/db_5.3.28.bb
@@ -10,14 +10,14 @@
10# same system at the same time if really necessary. 10# same system at the same time if really necessary.
11SECTION = "libs" 11SECTION = "libs"
12SUMMARY = "Berkeley Database v5" 12SUMMARY = "Berkeley Database v5"
13DESCRIPTION = "Provides the foundational storage services for your application, no matter how demanding and unique your requirements may seem to be"
13HOMEPAGE = "https://www.oracle.com/database/technologies/related/berkeleydb.html" 14HOMEPAGE = "https://www.oracle.com/database/technologies/related/berkeleydb.html"
14LICENSE = "Sleepycat" 15LICENSE = "Sleepycat"
15RCONFLICTS_${PN} = "db3" 16RCONFLICTS:${PN} = "db3"
16 17
17CVE_PRODUCT = "oracle_berkeley_db" 18CVE_PRODUCT = "oracle_berkeley_db berkeley_db"
18CVE_VERSION = "11.2.${PV}" 19CVE_VERSION = "11.2.${PV}"
19 20
20PR = "r1"
21PE = "1" 21PE = "1"
22 22
23SRC_URI = "https://download.oracle.com/berkeley-db/db-${PV}.tar.gz" 23SRC_URI = "https://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
@@ -46,7 +46,7 @@ inherit autotools
46inherit lib_package 46inherit lib_package
47 47
48PACKAGES =+ "${PN}-cxx" 48PACKAGES =+ "${PN}-cxx"
49FILES_${PN}-cxx = "${libdir}/*cxx*so" 49FILES:${PN}-cxx = "${libdir}/*cxx*so"
50 50
51# The dev package has the .so link (as in db3) and the .a's - 51# The dev package has the .so link (as in db3) and the .a's -
52# it is therefore incompatible (cannot be installed at the 52# it is therefore incompatible (cannot be installed at the
@@ -65,8 +65,6 @@ PACKAGECONFIG ??= ""
65PACKAGECONFIG[verify] = "--enable-verify, --disable-verify" 65PACKAGECONFIG[verify] = "--enable-verify, --disable-verify"
66PACKAGECONFIG[dbm] = "--enable-dbm,--disable-dbm," 66PACKAGECONFIG[dbm] = "--enable-dbm,--disable-dbm,"
67 67
68EXTRA_OEMAKE += "LIBTOOL='./${HOST_SYS}-libtool'"
69
70EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java" 68EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java"
71AUTOTOOLS_SCRIPT_PATH = "${S}/dist" 69AUTOTOOLS_SCRIPT_PATH = "${S}/dist"
72 70
@@ -74,7 +72,7 @@ AUTOTOOLS_SCRIPT_PATH = "${S}/dist"
74# configure. 72# configure.
75CONFIG_SITE = "" 73CONFIG_SITE = ""
76 74
77oe_runconf_prepend() { 75oe_runconf:prepend() {
78 . ${S}/dist/RELEASE 76 . ${S}/dist/RELEASE
79 # Edit version information we couldn't pre-compute. 77 # Edit version information we couldn't pre-compute.
80 sed -i -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \ 78 sed -i -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \
@@ -88,12 +86,12 @@ oe_runconf_prepend() {
88 -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" ${S}/dist/configure 86 -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" ${S}/dist/configure
89} 87}
90 88
91do_compile_prepend() { 89do_compile:prepend() {
92 # Stop libtool adding RPATHs 90 # Stop libtool adding RPATHs
93 sed -i -e 's|hardcode_into_libs=yes|hardcode_into_libs=no|' ${B}/${HOST_SYS}-libtool 91 sed -i -e 's|hardcode_into_libs=yes|hardcode_into_libs=no|' ${B}/libtool
94} 92}
95 93
96do_install_append() { 94do_install:append() {
97 mkdir -p ${D}/${includedir}/db51 95 mkdir -p ${D}/${includedir}/db51
98 mv ${D}/${includedir}/db.h ${D}/${includedir}/db51/. 96 mv ${D}/${includedir}/db.h ${D}/${includedir}/db51/.
99 mv ${D}/${includedir}/db_cxx.h ${D}/${includedir}/db51/. 97 mv ${D}/${includedir}/db_cxx.h ${D}/${includedir}/db51/.
@@ -114,7 +112,7 @@ do_install_append() {
114 fi 112 fi
115} 113}
116 114
117INSANE_SKIP_${PN} = "dev-so" 115INSANE_SKIP:${PN} = "dev-so"
118INSANE_SKIP_${PN}-cxx = "dev-so" 116INSANE_SKIP:${PN}-cxx = "dev-so"
119 117
120BBCLASSEXTEND = "native nativesdk" 118BBCLASSEXTEND = "native nativesdk"