===================================================================
--- libnl-2.0.orig/lib/Makefile.am
+++ libnl-2.0/lib/Makefile.am
-@@ -27,11 +27,14 @@ CLEANFILES = \
+@@ -27,11 +27,15 @@ CLEANFILES = \
route/pktloc_grammar.c route/pktloc_grammar.h \
route/pktloc_syntax.c route/pktloc_syntax.h
-+BUILT_SOURCES = route/pktloc_syntax.h
++BUILT_SOURCES = route/pktloc_syntax.h route/pktloc_grammar.h
+
# Hack to avoid using ylwrap. It does not function correctly in combination
# with --header-file=
- route/pktloc_grammar.c: route/pktloc_grammar.l
+-route/pktloc_grammar.c: route/pktloc_grammar.l
++route/pktloc_grammar.h: route/pktloc_grammar.c
++route/pktloc_grammar.c: route/pktloc_grammar.y
$(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
+route/pktloc_syntax.h: route/pktloc_syntax.c
SRC_URI = "\
http://www.infradead.org/~tgr/libnl/files/libnl-${PV}.tar.gz \
file://fix-pc-file.patch \
- file://fix-pktloc_syntax_h-race.patch \
+ file://fix-pktloc-dep-race.patch \
"
SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7"
SRC_URI[sha256sum] = "5a40dc903d3ca1074da7424b908bec8ff16936484798c7e46e53e9db8bc87a9c"
SRC_URI = "\
git://git.kernel.org/pub/scm/libs/netlink/libnl.git;protocol=git \
file://fix-pc-file.patch \
- file://fix-pktloc_syntax_h-race.patch \
+ file://fix-pktloc-dep-race.patch \
"
S = "${WORKDIR}/git"