From 6c21c4699db1ea8a309ec12600bbcd8e805483b8 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Mon, 8 Apr 2013 12:14:51 +0200 Subject: [PATCH] flex: added patch (no removal of man page to satisfy build) --- meta-tizen-ivi/recipes-tizen/flex/flex-extraconf.inc | 11 +++++++++++ .../flex/flex/doc_noremove_manual_onfailure.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 meta-tizen-ivi/recipes-tizen/flex/flex/doc_noremove_manual_onfailure.patch diff --git a/meta-tizen-ivi/recipes-tizen/flex/flex-extraconf.inc b/meta-tizen-ivi/recipes-tizen/flex/flex-extraconf.inc index e69de29..98ebfdc 100644 --- a/meta-tizen-ivi/recipes-tizen/flex/flex-extraconf.inc +++ b/meta-tizen-ivi/recipes-tizen/flex/flex-extraconf.inc @@ -0,0 +1,11 @@ +SRC_URI += "file://doc_noremove_manual_onfailure.patch" + +do_patch () { + echo RLM begining of do_patch + + cat ${WORKDIR}/doc_noremove_manual_onfailure.patch | patch -p1 -b --suffix --fuzz=2 + + echo RLM end of do_patch +} + + diff --git a/meta-tizen-ivi/recipes-tizen/flex/flex/doc_noremove_manual_onfailure.patch b/meta-tizen-ivi/recipes-tizen/flex/flex/doc_noremove_manual_onfailure.patch new file mode 100644 index 0000000..1618f43 --- /dev/null +++ b/meta-tizen-ivi/recipes-tizen/flex/flex/doc_noremove_manual_onfailure.patch @@ -0,0 +1,11 @@ +diff --git a/doc/Makefile.am b/doc/Makefile.am +index bfed30d..96d75f0 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -12,5 +12,5 @@ $(dist_man_MANS): $(top_srcdir)/main.c + for i in $(dist_man_MANS) ; do \ + $(help2man) --name='$(PACKAGE_NAME)' \ + --section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \ +- ../flex$(EXEEXT) > $$i || rm -f $$i ; \ ++ ../flex$(EXEEXT) > $$i || /bin/true ; \ + done -- 2.7.4