From 8a3245ac97b2b290c26704ac5d948fb71f9456f6 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sat, 30 May 2009 17:48:44 +0000 Subject: [PATCH] Check include/pcap/ before include/ for pcap.h. Fixes #5046 SVN-Revision: 16216 --- lang/pypcap/patches/000-no_cpickle.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/pypcap/patches/000-no_cpickle.patch b/lang/pypcap/patches/000-no_cpickle.patch index 55e04665b7..8cabb05d8f 100644 --- 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) ] -- 2.30.2