summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-18 15:15:57 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-18 15:16:06 +0100
commitec97c7ca0bf2b577b0555fa9ffa30d29b89051b5 (patch)
tree5a15871cdeb7b83bba461ec158674bb5cd79c7e0 /net-libs/daq
parentapp-crypt/keybase: Version bump to 2.11.0 (diff)
downloadgentoo-ec97c7ca0bf2b577b0555fa9ffa30d29b89051b5.tar.gz
gentoo-ec97c7ca0bf2b577b0555fa9ffa30d29b89051b5.tar.bz2
gentoo-ec97c7ca0bf2b577b0555fa9ffa30d29b89051b5.zip
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 <jer@gentoo.org>
Diffstat (limited to 'net-libs/daq')
-rw-r--r--net-libs/daq/daq-2.0.6.ebuild3
-rw-r--r--net-libs/daq/files/daq-2.0.6-parallel-grammar.patch20
2 files changed, 23 insertions, 0 deletions
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