From ec97c7ca0bf2b577b0555fa9ffa30d29b89051b5 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 18 Dec 2018 15:15:57 +0100 Subject: net-libs/daq: Fix parallel make again Fixes: https://bugs.gentoo.org/673390 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers --- net-libs/daq/daq-2.0.6.ebuild | 3 +++ net-libs/daq/files/daq-2.0.6-parallel-grammar.patch | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 net-libs/daq/files/daq-2.0.6-parallel-grammar.patch (limited to 'net-libs') diff --git a/net-libs/daq/daq-2.0.6.ebuild b/net-libs/daq/daq-2.0.6.ebuild index 42db13440514..5b5742cc309b 100644 --- a/net-libs/daq/daq-2.0.6.ebuild +++ b/net-libs/daq/daq-2.0.6.ebuild @@ -27,6 +27,9 @@ DEPEND=" pcap? ( ${PCAP_DEPEND} ) " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-2.0.6-parallel-grammar.patch #673390 +) src_prepare() { default diff --git a/net-libs/daq/files/daq-2.0.6-parallel-grammar.patch b/net-libs/daq/files/daq-2.0.6-parallel-grammar.patch new file mode 100644 index 000000000000..1911caf72ea6 --- /dev/null +++ b/net-libs/daq/files/daq-2.0.6-parallel-grammar.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/673390 + +--- a/sfbpf/Makefile.am ++++ b/sfbpf/Makefile.am +@@ -43,13 +43,14 @@ + libsfbpf_la_LDFLAGS = -version-info 0:1:0 @XCCFLAGS@ + + # use of $@ and $< here is a GNU idiom that borks BSD +-sf_scanner.c: $(srcdir)/scanner.l ++sf_scanner.c: $(srcdir)/scanner.l tokdefs.h + @rm -f $(srcdir)/sf_scanner.c + $(srcdir)/runlex.sh $(V_LEX) -osf_scanner.c $(srcdir)/scanner.l + + sf_scanner.o: sf_scanner.c tokdefs.h + + tokdefs.h: sf_grammar.c ++ + sf_grammar.c: $(srcdir)/grammar.y + @rm -f sf_grammar.c tokdefs.h + $(V_YACC) -d $(srcdir)/grammar.y -- cgit v1.2.3-65-gdbad