projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63dc45c
)
Check include/pcap/ before include/ for pcap.h. Fixes #5046
author
Lars-Peter Clausen
<lars@metafoo.de>
Sat, 30 May 2009 17:48:44 +0000
(17:48 +0000)
committer
Lars-Peter Clausen
<lars@metafoo.de>
Sat, 30 May 2009 17:48:44 +0000
(17:48 +0000)
SVN-Revision: 16216
lang/pypcap/patches/000-no_cpickle.patch
patch
|
blob
|
history
diff --git
a/lang/pypcap/patches/000-no_cpickle.patch
b/lang/pypcap/patches/000-no_cpickle.patch
index 55e04665b71078f5477e94c753e527390d60623a..8cabb05d8fb0935950b8b4804e8ede5962bbd259 100644
(file)
--- a/
lang/pypcap/patches/000-no_cpickle.patch
+++ b/
lang/pypcap/patches/000-no_cpickle.patch
@@
-93,7
+93,7
@@
+ 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) ]