summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/gdbm/files/ptest.patch8
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.26.bb (renamed from meta/recipes-support/gdbm/gdbm_1.24.bb)11
2 files changed, 7 insertions, 12 deletions
diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch
index 989f9524bc..5f4078101b 100644
--- a/meta/recipes-support/gdbm/files/ptest.patch
+++ b/meta/recipes-support/gdbm/files/ptest.patch
@@ -28,10 +28,10 @@ diff --git a/tests/Makefile.am b/tests/Makefile.am
28index eb071ac..9d14fe8 100644 28index eb071ac..9d14fe8 100644
29--- a/tests/Makefile.am 29--- a/tests/Makefile.am
30+++ b/tests/Makefile.am 30+++ b/tests/Makefile.am
31@@ -145,3 +145,15 @@ d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la 31@@ -150,3 +150,15 @@
32 t_wordwrap_LDADD = ../tools/libgdbmapp.a 32 t_wordwrap_LDADD = ../tools/libgdbmapp.a @LTLIBINTL@
33 33
34 SUBDIRS = gdbmtool 34 SUBDIRS = dejagnu
35+ 35+
36+buildtests: $(check_PROGRAMS) $(TESTSUITE) 36+buildtests: $(check_PROGRAMS) $(TESTSUITE)
37+ 37+
@@ -42,5 +42,5 @@ index eb071ac..9d14fe8 100644
42+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \ 42+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \
43+ else \ 43+ else \
44+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ 44+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
45+ fi \ 45+ fi \
46+ done 46+ done
diff --git a/meta/recipes-support/gdbm/gdbm_1.24.bb b/meta/recipes-support/gdbm/gdbm_1.26.bb
index f400462a7a..0c8c7ec690 100644
--- a/meta/recipes-support/gdbm/gdbm_1.24.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.26.bb
@@ -12,7 +12,7 @@ SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
12 file://ptest.patch \ 12 file://ptest.patch \
13 " 13 "
14 14
15SRC_URI[sha256sum] = "695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf" 15SRC_URI[sha256sum] = "6a24504a14de4a744103dcb936be976df6fbe88ccff26065e54c1c47946f4a5e"
16 16
17inherit autotools gettext texinfo lib_package ptest 17inherit autotools gettext texinfo lib_package ptest
18 18
@@ -22,9 +22,6 @@ EXTRA_OECONF = "--enable-libgdbm-compat --without-readline"
22# Stop presence of dbm/nbdm on the host contaminating builds 22# Stop presence of dbm/nbdm on the host contaminating builds
23CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" 23CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
24 24
25# Not yet ready for C23
26CFLAGS += "-std=gnu11"
27
28BBCLASSEXTEND = "native nativesdk" 25BBCLASSEXTEND = "native nativesdk"
29 26
30do_install:append () { 27do_install:append () {
@@ -41,7 +38,5 @@ do_compile_ptest() {
41 oe_runmake -C tests buildtests 38 oe_runmake -C tests buildtests
42} 39}
43 40
44PACKAGES =+ "${PN}-compat \ 41PACKAGES =+ "${PN}-compat"
45 " 42FILES:${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS}"
46FILES:${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS} \
47 "