From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Thu, 12 Dec 2013 14:19:06 +0200 Subject: [Buildroot] [PATCH v2] knock: Fix build failure due to missing README file. In-Reply-To: <1386850072-18797-1-git-send-email-Vincent.Riera@imgtec.com> References: <1386850072-18797-1-git-send-email-Vincent.Riera@imgtec.com> Message-ID: <20131212121906.GL1217@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Vicente, On Thu, Dec 12, 2013 at 12:07:52PM +0000, Vicente Olivert Riera wrote: > Apply upstream patch: 306a696c0882f28a5cd2e41d392c3a6ed14d45f4 > > The build process fails because Makefile.am includes README as part of > the documentation files, but actually it doesn't exist: > > make[2]: *** No rule to make target `README', needed by `all-am'. Stop. > > The right file is README.md, so making that replacement to Makefile.am > fixes the problem. > > Reviewed-by: Markos Chandras > Signed-off-by: Vicente Olivert Riera > --- > .../knock/knock-001-Fix-missing-README-file.patch | 32 ++++++++++++++++++++ > 1 files changed, 32 insertions(+), 0 deletions(-) > create mode 100644 package/knock/knock-001-Fix-missing-README-file.patch > > diff --git a/package/knock/knock-001-Fix-missing-README-file.patch b/package/knock/knock-001-Fix-missing-README-file.patch > new file mode 100644 > index 0000000..ea0a779 > --- /dev/null > +++ b/package/knock/knock-001-Fix-missing-README-file.patch > @@ -0,0 +1,32 @@ > +From 306a696c0882f28a5cd2e41d392c3a6ed14d45f4 Mon Sep 17 00:00:00 2001 > +From: vriera > +Date: Tue, 10 Dec 2013 12:40:13 +0000 > +Subject: [PATCH] Update Makefile.am > + > +Fix build failure due to missing README file. > + > +The build process fails because Makefile.am includes README as part of the documentation files, but actually it doesn't exist: > + > +make[2]: *** No rule to make target `README', needed by `all-am'. Stop. > + > +The right file is README.md, so making that replacement to Makefile.am fixes the problem. We need your sing-off on the added patch as well. baruch > +--- > + Makefile.am | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/Makefile.am b/Makefile.am > +index b46e8c4..1a95e90 100644 > +--- a/Makefile.am > ++++ b/Makefile.am > +@@ -10,7 +10,7 @@ man_MANS += doc/knockd.1 > + sysconf_DATA = knockd.conf > + endif > + > +-dist_doc_DATA = README TODO ChangeLog COPYING > ++dist_doc_DATA = README.md TODO ChangeLog COPYING > + > + knock_SOURCES = src/knock.c > + knockd_SOURCES = src/knockd.c src/list.c src/list.h > +-- > +1.8.5.1 > + > -- -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -