Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188063 Details for
Bug 247145
dev-python/pypcap fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to correct include path detection mechanism in setup.py
include_path.patch (text/plain), 614 bytes, created by
Mike Kazantsev
on 2009-04-12 08:11:03 UTC
(
hide
)
Description:
Patch to correct include path detection mechanism in setup.py
Filename:
MIME Type:
Creator:
Mike Kazantsev
Created:
2009-04-12 08:11:03 UTC
Size:
614 bytes
patch
obsolete
>diff --git a/setup.py b/setup.py >index 9aada5a..71d0d34 100644 >--- a/setup.py >+++ b/setup.py >@@ -42,7 +42,7 @@ class config_pcap(config.config): > dirs = [ '/usr', sys.prefix ] + glob.glob('/opt/libpcap*') + \ > glob.glob('../libpcap*') + glob.glob('../wpdpack*') > for d in dirs: >- for sd in ('include', 'include/pcap', ''): >+ for sd in ('include/pcap', 'include', ''): > incdirs = [ os.path.join(d, sd) ] > if os.path.exists(os.path.join(d, sd, 'pcap.h')): > cfg['include_dirs'] = [ os.path.join(d, sd) ]
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 247145
:
172055
| 188063 |
188065