diff options
Diffstat (limited to 'meta/recipes-support/gdbm')
-rw-r--r-- | meta/recipes-support/gdbm/files/ptest.patch | 12 | ||||
-rw-r--r-- | meta/recipes-support/gdbm/gdbm_1.24.bb (renamed from meta/recipes-support/gdbm/gdbm_1.23.bb) | 6 |
2 files changed, 8 insertions, 10 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 @@ | |||
1 | From 8bea84a598b51a7ac7e50aa8f0f20857a9b6b07b Mon Sep 17 00:00:00 2001 | 1 | From ed0b5a48c7ce59ea971a10c7e522933cf613841a Mon Sep 17 00:00:00 2001 |
2 | From: Josep Puigdemont <josep.puigdemont@enea.com> | 2 | From: Josep Puigdemont <josep.puigdemont@enea.com> |
3 | Date: Sun, 4 May 2014 16:02:07 +0200 | 3 | Date: Sun, 4 May 2014 16:02:07 +0200 |
4 | Subject: [PATCH] Add install-ptest rules. | 4 | Subject: [PATCH] Add install-ptest rules. |
@@ -6,14 +6,13 @@ Subject: [PATCH] Add install-ptest rules. | |||
6 | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> | 6 | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> |
7 | Signed-off-by: Maxin B. John <maxin.john@enea.com> | 7 | Signed-off-by: Maxin B. John <maxin.john@enea.com> |
8 | Upstream-Status: Pending | 8 | Upstream-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 | ||
15 | diff --git a/Makefile.am b/Makefile.am | 14 | diff --git a/Makefile.am b/Makefile.am |
16 | index 59e2643..5f3ceb0 100644 | 15 | index 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 |
28 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 27 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
29 | index fac6826..5dc2091 100644 | 28 | index 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 | -- | ||
49 | 2.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..f400462a7a 100644 --- a/meta/recipes-support/gdbm/gdbm_1.23.bb +++ b/meta/recipes-support/gdbm/gdbm_1.24.bb | |||
@@ -7,13 +7,12 @@ SECTION = "libs" | |||
7 | LICENSE = "GPL-3.0-only" | 7 | LICENSE = "GPL-3.0-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24" |
9 | 9 | ||
10 | |||
11 | SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ | 10 | SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ |
12 | file://run-ptest \ | 11 | file://run-ptest \ |
13 | file://ptest.patch \ | 12 | file://ptest.patch \ |
14 | " | 13 | " |
15 | 14 | ||
16 | SRC_URI[sha256sum] = "74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd" | 15 | SRC_URI[sha256sum] = "695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf" |
17 | 16 | ||
18 | inherit autotools gettext texinfo lib_package ptest | 17 | inherit autotools gettext texinfo lib_package ptest |
19 | 18 | ||
@@ -23,6 +22,9 @@ EXTRA_OECONF = "--enable-libgdbm-compat --without-readline" | |||
23 | # Stop presence of dbm/nbdm on the host contaminating builds | 22 | # Stop presence of dbm/nbdm on the host contaminating builds |
24 | CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" | 23 | CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" |
25 | 24 | ||
25 | # Not yet ready for C23 | ||
26 | CFLAGS += "-std=gnu11" | ||
27 | |||
26 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
27 | 29 | ||
28 | do_install:append () { | 30 | do_install:append () { |