diff options
Diffstat (limited to 'dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch')
-rw-r--r-- | dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch b/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch new file mode 100644 index 00000000000..16a9dce1858 --- /dev/null +++ b/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch @@ -0,0 +1,14 @@ +--- pyiwscan.c ++++ pyiwscan.c +@@ -13,6 +13,11 @@ + #include <structmember.h> + #include <iwlib.h> + ++/* PROC_NET_WIRELESS is defined in iwlib-private.h since wireless-tools-30_pre9 */ ++#ifndef PROC_NET_WIRELESS ++#define PROC_NET_WIRELESS "/proc/net/wireless" ++#endif ++ + #define IWSCAN_VERSION_MAJOR 0 + #define IWSCAN_VERSION_MINOR 7 + #define IWSCAN_VERSION_MICRO 0 |