Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 587880 Details for
Bug 692772
net-analyzer/tcpdump-4.9.2 - compilation uses host (instead of target) header files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-net-analyzer-tcpdump-use-target-header-files-bug-692.patch (text/plain), 1.77 KB, created by
Jack Rosenthal
on 2019-08-23 16:13:24 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jack Rosenthal
Created:
2019-08-23 16:13:24 UTC
Size:
1.77 KB
patch
obsolete
>From 95457ff66dc75fbcf8da51c94c231087eaef7e11 Mon Sep 17 00:00:00 2001 >From: Jack Rosenthal <jrosenth@chromium.org> >Date: Fri, 23 Aug 2019 10:07:20 -0600 >Subject: [PATCH] net-analyzer/tcpdump: use target header files (bug #692772) > >This is a workaround for the generated Makefile including >-I/usr/include in INCLS. > >Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> >--- > net-analyzer/tcpdump/tcpdump-4.9.2.ebuild | 5 +++++ > net-analyzer/tcpdump/tcpdump-9999.ebuild | 5 +++++ > 2 files changed, 10 insertions(+) > >diff --git a/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild b/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild >index 250b25f4625..856b8c665bd 100644 >--- a/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild >+++ b/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild >@@ -64,6 +64,11 @@ src_configure() { > $(use_with smi) \ > $(use_with ssl crypto "${EPREFIX}/usr") \ > $(usex drop-root "--with-user=tcpdump" "") >+ >+ # The Makefile generated by configure will use /usr/include >+ # regardless of what it's asked to do. Below is a workaround to >+ # use target headers instead of the host headers. >+ sed -i -e 's#-I/usr/include##g' "${S}/Makefile" > } > > src_test() { >diff --git a/net-analyzer/tcpdump/tcpdump-9999.ebuild b/net-analyzer/tcpdump/tcpdump-9999.ebuild >index 5386a5f79ce..b38ec821691 100644 >--- a/net-analyzer/tcpdump/tcpdump-9999.ebuild >+++ b/net-analyzer/tcpdump/tcpdump-9999.ebuild >@@ -68,6 +68,11 @@ src_configure() { > $(use_with smi) \ > $(use_with ssl crypto "${EPREFIX}/usr") \ > $(usex drop-root "--with-user=tcpdump" "") >+ >+ # The Makefile generated by configure will use /usr/include >+ # regardless of what it's asked to do. Below is a workaround to >+ # use target headers instead of the host headers. >+ sed -i -e 's#-I/usr/include##g' "${S}/Makefile" > } > > src_test() { >-- >2.23.0.187.g17f5b7556c-goog >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 692772
:
587880
|
588236
|
588270
|
588272