Patchwork unfs3: Fix compile regression from unfs3 port

login
register
mail settings
Submitter Jason Wessel
Date Feb. 1, 2014, 2:07 p.m.
Message ID <1391263659-21108-1-git-send-email-jason.wessel@windriver.com>
Download mbox | patch
Permalink /patch/66217/
State New
Headers show

Comments

Jason Wessel - Feb. 1, 2014, 2:07 p.m.
A line got dropped from the original patch when porting to the latest
unfs3.  The regression was introduced in commit 7d8075c64 (unfs3: Fix
dependencies and allow target builds).

This patch restores the missing line from the original which had been
working fine for over a year's time.

Patch

--- a/Config/Makefile.in
+++ b/Config/Makefile.in
@@ -12,7 +12,9 @@  all: lib.a
 lib.a: $(OBJS)
        $(AR) crs lib.a $(OBJS)

-y.tab.h y.tab.c: exports.y
+y.tab.h: y.tab.c
+
+y.tab.c: exports.y
        $(YACC) -d exports.y

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
---
 .../unfs3/unfs3/unfs3_parallel_build.patch         |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch b/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch
index 6777769..6f64dd5 100644
--- a/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch
+++ b/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch
@@ -7,9 +7,9 @@  Jason Wessel <jason.wessel@windriver.com>
 Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
 
 ---
- Config/Makefile.in |    2 ++
+ Config/Makefile.in |    3 +++
  Makefile.in        |    3 ++-
- 2 files changed, 4 insertions(+), 1 deletion(-)
+ 2 files changed, 5 insertions(+), 1 deletion(-)
 
 --- a/Makefile.in
 +++ b/Makefile.in
@@ -25,10 +25,11 @@  Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
  	$(CC) -o $@ $(OBJS) $(CONFOBJ) $(EXTRAOBJ) $(LDFLAGS)
 --- a/Config/Makefile.in
 +++ b/Config/Makefile.in
-@@ -16,6 +16,8 @@ lib.a: $(OBJS)
+@@ -16,6 +16,9 @@ lib.a: $(OBJS)
  	$(AR) crs lib.a $(OBJS)
  
  y.tab.h y.tab.c: $(srcdir)/exports.y
++y.tab.h: y.tab.c
 +
 +y.tab.c: $(srcdir)/exports.y
  	$(YACC) -d $(srcdir)/exports.y