From c0c090cfed668c444f306a5501cab5493003df9a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 10 May 2017 12:35:23 +0300 Subject: gdbm: update to 1.13 Rebase ptest.patch. (From OE-Core rev: 1e04e38101dd0a05b37c1b3ca9b4298ac01e75b6) Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-support/gdbm/files/ptest.patch | 40 +++++++++++++++++++---------- 1 file changed, 27 insertions(+), 13 deletions(-) (limited to 'meta/recipes-support/gdbm/files') diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch index 65236fb48b..b9461bec6b 100644 --- a/meta/recipes-support/gdbm/files/ptest.patch +++ b/meta/recipes-support/gdbm/files/ptest.patch @@ -1,30 +1,41 @@ -Add install-ptest rules. +From 4e4b70a4a3dcf1fdbee9e68bed3b62f42b197a3a Mon Sep 17 00:00:00 2001 +From: Josep Puigdemont +Date: Sun, 4 May 2014 16:02:07 +0200 +Subject: [PATCH] Add install-ptest rules. Signed-off-by: Josep Puigdemont Signed-off-by: Maxin B. John Upstream-Status: Pending -diff -ur a/Makefile.am b/Makefile.am ---- a/Makefile.am 2011-08-16 10:13:10.000000000 +0200 -+++ b/Makefile.am 2013-04-12 18:02:16.473715873 +0200 -@@ -31,3 +31,8 @@ - d=`date '+%d/%m/%Y'`; \ - sed 's|/\*@DIST_DATE@\*/|"'"$$d"'"|' $(srcdir)/src/version.c > \ - $(distdir)/src/version.c +--- + Makefile.am | 5 +++++ + tests/Makefile.am | 12 +++++++++++- + 2 files changed, 16 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 4cdc734..24b99f0 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -45,3 +45,8 @@ ChangeLog: + awk -f $(top_srcdir)/git2chg.awk \ + -v append=$(top_srcdir)/$(prev_change_log) > ChangeLog; \ + fi + +install-ptest: + @for subdir in $(SUBDIRS); do \ + $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \ + done -diff -ur a/tests/Makefile.am b/tests/Makefile.am ---- a/tests/Makefile.am 2011-11-11 19:39:42.000000000 +0100 -+++ b/tests/Makefile.am 2013-04-12 18:30:57.066301037 +0200 -@@ -132,4 +132,14 @@ +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 3dbb580..22ffc44 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -130,4 +130,14 @@ dtfetch_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la dtdel_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la d_creat_ce_LDADD = ../src/libgdbm.la ../compat/libgdbm_compat.la +- +buildtests: $(check_PROGRAMS) $(TESTSUITE) - ++ +install-ptest: $(check_PROGRAMS) $(TESTSUITE) + @$(INSTALL) -d $(DESTDIR) + @for file in $^; do \ @@ -34,3 +45,6 @@ diff -ur a/tests/Makefile.am b/tests/Makefile.am + $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ + fi \ + done +-- +2.11.0 + -- cgit v1.2.3-54-g00ecf