summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-07-10 17:43:33 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-16 11:25:29 +0100
commit3516ceb189a50f642919a9a4d8d83782b5b5d79f (patch)
tree2a17024ce2ca9c3d52b5b3fccb8c61fb6a7f0ad4
parent792be07a02109fbe3e631ccdaa09a2b410a500b9 (diff)
downloadpoky-3516ceb189a50f642919a9a4d8d83782b5b5d79f.tar.gz
gdbm: upgrade 1.23 -> 1.24
ptest.patch refreshed for 1.24. Changelog: =========== * New gdbm_load option: --update * Fix semantics of gdbm_load -r * Use getline in gdbmtool shell. * New function: gdbm_load_from_file_ext * Fix binary dump format for key and/or data of zero size. * Fix location tracking and recover command in gdbtool. * Fix possible buffer underflow in gdbmload. * Ensure any padding bytes in avail_elem structure are filled with 0. * Improve the documentation. (From OE-Core rev: 458fda9cc5f871e200bcd33ed33fda4a0ed46ff4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/gdbm/files/ptest.patch12
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.24.bb (renamed from meta/recipes-support/gdbm/gdbm_1.23.bb)2
2 files changed, 5 insertions, 9 deletions
diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch
index 25fb6bb2f4..989f9524bc 100644
--- a/meta/recipes-support/gdbm/files/ptest.patch
+++ b/meta/recipes-support/gdbm/files/ptest.patch
@@ -1,4 +1,4 @@
1From 8bea84a598b51a7ac7e50aa8f0f20857a9b6b07b Mon Sep 17 00:00:00 2001 1From ed0b5a48c7ce59ea971a10c7e522933cf613841a Mon Sep 17 00:00:00 2001
2From: Josep Puigdemont <josep.puigdemont@enea.com> 2From: Josep Puigdemont <josep.puigdemont@enea.com>
3Date: Sun, 4 May 2014 16:02:07 +0200 3Date: Sun, 4 May 2014 16:02:07 +0200
4Subject: [PATCH] Add install-ptest rules. 4Subject: [PATCH] Add install-ptest rules.
@@ -6,14 +6,13 @@ Subject: [PATCH] Add install-ptest rules.
6Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> 6Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
7Signed-off-by: Maxin B. John <maxin.john@enea.com> 7Signed-off-by: Maxin B. John <maxin.john@enea.com>
8Upstream-Status: Pending 8Upstream-Status: Pending
9
10--- 9---
11 Makefile.am | 5 +++++ 10 Makefile.am | 5 +++++
12 tests/Makefile.am | 12 ++++++++++++ 11 tests/Makefile.am | 12 ++++++++++++
13 2 files changed, 17 insertions(+) 12 2 files changed, 17 insertions(+)
14 13
15diff --git a/Makefile.am b/Makefile.am 14diff --git a/Makefile.am b/Makefile.am
16index 59e2643..5f3ceb0 100644 15index d0b46ea..6c57b11 100644
17--- a/Makefile.am 16--- a/Makefile.am
18+++ b/Makefile.am 17+++ b/Makefile.am
19@@ -64,3 +64,8 @@ ChangeLog: 18@@ -64,3 +64,8 @@ ChangeLog:
@@ -26,10 +25,10 @@ index 59e2643..5f3ceb0 100644
26+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \ 25+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \
27+ done 26+ done
28diff --git a/tests/Makefile.am b/tests/Makefile.am 27diff --git a/tests/Makefile.am b/tests/Makefile.am
29index fac6826..5dc2091 100644 28index eb071ac..9d14fe8 100644
30--- a/tests/Makefile.am 29--- a/tests/Makefile.am
31+++ b/tests/Makefile.am 30+++ b/tests/Makefile.am
32@@ -143,3 +143,15 @@ d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la 31@@ -145,3 +145,15 @@ d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
33 t_wordwrap_LDADD = ../tools/libgdbmapp.a 32 t_wordwrap_LDADD = ../tools/libgdbmapp.a
34 33
35 SUBDIRS = gdbmtool 34 SUBDIRS = gdbmtool
@@ -45,6 +44,3 @@ index fac6826..5dc2091 100644
45+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ 44+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
46+ fi \ 45+ fi \
47+ done 46+ done
48--
492.25.1
50
diff --git a/meta/recipes-support/gdbm/gdbm_1.23.bb b/meta/recipes-support/gdbm/gdbm_1.24.bb
index a08079741d..88f9fa47cf 100644
--- a/meta/recipes-support/gdbm/gdbm_1.23.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.24.bb
@@ -13,7 +13,7 @@ SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
13 file://ptest.patch \ 13 file://ptest.patch \
14 " 14 "
15 15
16SRC_URI[sha256sum] = "74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd" 16SRC_URI[sha256sum] = "695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf"
17 17
18inherit autotools gettext texinfo lib_package ptest 18inherit autotools gettext texinfo lib_package ptest
19 19