diff options
Diffstat (limited to 'meta/recipes-support/db')
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 | |||
7 | library identifier, atomic_init(). Therefore prefix all | 7 | library identifier, atomic_init(). Therefore prefix all |
8 | its internal defines with '__db_', to avoid collisions. | 8 | its internal defines with '__db_', to avoid collisions. |
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] |
11 | 11 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-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' |
12 | static inline int __atomic_compare_exchange( | 12 | static inline int __atomic_compare_exchange( |
13 | 13 | ||
14 | Upstream-Status: Pending | 14 | Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] |
15 | 15 | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 16 | Signed-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 | ||
11 | This can cause problems especially with 64bit time_t | 11 | This can cause problems especially with 64bit time_t |
12 | 12 | ||
13 | Upstream-Status: Pending | 13 | Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] |
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 14 | Signed-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 | |||
7 | fail because CC variable is having -fPIE -pie and libtool | 7 | fail because CC variable is having -fPIE -pie and libtool |
8 | smartly removes it when building libraries | 8 | smartly removes it when building libraries |
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] |
11 | 11 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-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: | |||
2 | libtool: link: `util_log.lo' is not a valid libtool object | 2 | libtool: link: `util_log.lo' is not a valid libtool object |
3 | make: *** [db_replicate] Error 1 | 3 | make: *** [db_replicate] Error 1 |
4 | 4 | ||
5 | Upstream-Status: Pending | 5 | Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] |
6 | 6 | ||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 7 | Signed-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. | |||
6 | This then breaks the overly complicated type check but as we know that int64_t | 6 | This then breaks the overly complicated type check but as we know that int64_t |
7 | exists and works, we can just delete that. | 7 | exists and works, we can just delete that. |
8 | 8 | ||
9 | Upstream-Status: Pending | 9 | Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] |
10 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 10 | Signed-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. |
11 | SECTION = "libs" | 11 | SECTION = "libs" |
12 | SUMMARY = "Berkeley Database v5" | 12 | SUMMARY = "Berkeley Database v5" |
13 | DESCRIPTION = "Provides the foundational storage services for your application, no matter how demanding and unique your requirements may seem to be" | ||
13 | HOMEPAGE = "https://www.oracle.com/database/technologies/related/berkeleydb.html" | 14 | HOMEPAGE = "https://www.oracle.com/database/technologies/related/berkeleydb.html" |
14 | LICENSE = "Sleepycat" | 15 | LICENSE = "Sleepycat" |
15 | RCONFLICTS_${PN} = "db3" | 16 | RCONFLICTS:${PN} = "db3" |
16 | 17 | ||
17 | CVE_PRODUCT = "oracle_berkeley_db" | 18 | CVE_PRODUCT = "oracle_berkeley_db berkeley_db" |
18 | CVE_VERSION = "11.2.${PV}" | 19 | CVE_VERSION = "11.2.${PV}" |
19 | 20 | ||
20 | PR = "r1" | ||
21 | PE = "1" | 21 | PE = "1" |
22 | 22 | ||
23 | SRC_URI = "https://download.oracle.com/berkeley-db/db-${PV}.tar.gz" | 23 | SRC_URI = "https://download.oracle.com/berkeley-db/db-${PV}.tar.gz" |
@@ -46,7 +46,7 @@ inherit autotools | |||
46 | inherit lib_package | 46 | inherit lib_package |
47 | 47 | ||
48 | PACKAGES =+ "${PN}-cxx" | 48 | PACKAGES =+ "${PN}-cxx" |
49 | FILES_${PN}-cxx = "${libdir}/*cxx*so" | 49 | FILES:${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 ??= "" | |||
65 | PACKAGECONFIG[verify] = "--enable-verify, --disable-verify" | 65 | PACKAGECONFIG[verify] = "--enable-verify, --disable-verify" |
66 | PACKAGECONFIG[dbm] = "--enable-dbm,--disable-dbm," | 66 | PACKAGECONFIG[dbm] = "--enable-dbm,--disable-dbm," |
67 | 67 | ||
68 | EXTRA_OEMAKE += "LIBTOOL='./${HOST_SYS}-libtool'" | ||
69 | |||
70 | EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java" | 68 | EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java" |
71 | AUTOTOOLS_SCRIPT_PATH = "${S}/dist" | 69 | AUTOTOOLS_SCRIPT_PATH = "${S}/dist" |
72 | 70 | ||
@@ -74,7 +72,7 @@ AUTOTOOLS_SCRIPT_PATH = "${S}/dist" | |||
74 | # configure. | 72 | # configure. |
75 | CONFIG_SITE = "" | 73 | CONFIG_SITE = "" |
76 | 74 | ||
77 | oe_runconf_prepend() { | 75 | oe_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 | ||
91 | do_compile_prepend() { | 89 | do_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 | ||
96 | do_install_append() { | 94 | do_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 | ||
117 | INSANE_SKIP_${PN} = "dev-so" | 115 | INSANE_SKIP:${PN} = "dev-so" |
118 | INSANE_SKIP_${PN}-cxx = "dev-so" | 116 | INSANE_SKIP:${PN}-cxx = "dev-so" |
119 | 117 | ||
120 | BBCLASSEXTEND = "native nativesdk" | 118 | BBCLASSEXTEND = "native nativesdk" |