mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
gdbm: upgrade 1.24 -> 1.26
Removed c11 flag, as it seems to build fine now with default flags. ptests passed: All 38 tests were successful. DURATION: 11 END: /usr/lib/gdbm/ptest 2025-08-01T18:37 STOP: ptest-runner TOTAL: 1 FAIL: 0 Changelog: 1.26: - Fixed build with musl libc - Fixed build on MacOS - Improved testsuite 1.25: - New function: gdbm_open_ext This function provides a general-purpose interface for opening and creating GDBM files. It combines the possibilities of gdbm_open and gdbm_fd_open and provides detailed control over database file locking. - New gdbmtool command: collisions The command prints the collision chains for the current bucket, or for buckets identified by its arguments. - Pipelines in gdbmtool The output of a gdbmtool command can be connected to the input of a shell command using the traditional pipeline syntax. - Fix a bug in block coalescing code (From OE-Core rev: 5f4c806ba9fe2385891b46098b313a858daf8103) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
474e912372
commit
bb51be6fbf
|
|
@ -28,10 +28,10 @@ diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|||
index eb071ac..9d14fe8 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -145,3 +145,15 @@ d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la
|
||||
t_wordwrap_LDADD = ../tools/libgdbmapp.a
|
||||
@@ -150,3 +150,15 @@
|
||||
t_wordwrap_LDADD = ../tools/libgdbmapp.a @LTLIBINTL@
|
||||
|
||||
SUBDIRS = gdbmtool
|
||||
SUBDIRS = dejagnu
|
||||
+
|
||||
+buildtests: $(check_PROGRAMS) $(TESTSUITE)
|
||||
+
|
||||
|
|
@ -42,5 +42,5 @@ index eb071ac..9d14fe8 100644
|
|||
+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \
|
||||
+ else \
|
||||
+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
|
||||
+ fi \
|
||||
+ fi \
|
||||
+ done
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
|
|||
file://ptest.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf"
|
||||
SRC_URI[sha256sum] = "6a24504a14de4a744103dcb936be976df6fbe88ccff26065e54c1c47946f4a5e"
|
||||
|
||||
inherit autotools gettext texinfo lib_package ptest
|
||||
|
||||
|
|
@ -22,9 +22,6 @@ EXTRA_OECONF = "--enable-libgdbm-compat --without-readline"
|
|||
# Stop presence of dbm/nbdm on the host contaminating builds
|
||||
CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
|
||||
|
||||
# Not yet ready for C23
|
||||
CFLAGS += "-std=gnu11"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
do_install:append () {
|
||||
|
|
@ -41,7 +38,5 @@ do_compile_ptest() {
|
|||
oe_runmake -C tests buildtests
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-compat \
|
||||
"
|
||||
FILES:${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS} \
|
||||
"
|
||||
PACKAGES =+ "${PN}-compat"
|
||||
FILES:${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS}"
|
||||
Loading…
Reference in New Issue
Block a user