diff options
author | p-wassi <p.wassi@gmx.at> | 2016-12-10 10:56:22 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-12-14 12:13:13 +0100 |
commit | 4297f4f9014f8b2596cdfc38fe086e8c0653ffba (patch) | |
tree | 90128ecfbbda52bad2dfca5a9b86afbf6def20c0 /package/libs/libpcap/patches/204-usb-bus-path.patch | |
parent | 28f6951600d0da31363e9b17dbad3f47097f4104 (diff) | |
download | upstream-4297f4f9014f8b2596cdfc38fe086e8c0653ffba.tar.gz upstream-4297f4f9014f8b2596cdfc38fe086e8c0653ffba.tar.bz2 upstream-4297f4f9014f8b2596cdfc38fe086e8c0653ffba.zip |
libs/libpcap: update to 1.8.1
Update libpcap to upstream release 1.8.1
Change the name from libpcap.so.1.3 to libpcap.so.1
Remove parts of patch 201 which moved code among src files.
Import patch 204 from Debian to update the USB path.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix parallel build bug]
Diffstat (limited to 'package/libs/libpcap/patches/204-usb-bus-path.patch')
-rw-r--r-- | package/libs/libpcap/patches/204-usb-bus-path.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libs/libpcap/patches/204-usb-bus-path.patch b/package/libs/libpcap/patches/204-usb-bus-path.patch new file mode 100644 index 0000000000..d29734f0b6 --- /dev/null +++ b/package/libs/libpcap/patches/204-usb-bus-path.patch @@ -0,0 +1,13 @@ +Fix USB bus path; /proc/bus/usb is deprecated. + +--- a/pcap-usb-linux.c ++++ b/pcap-usb-linux.c +@@ -71,7 +71,7 @@ + #define USB_TEXT_DIR_OLD "/sys/kernel/debug/usbmon" + #define USB_TEXT_DIR "/sys/kernel/debug/usb/usbmon" + #define SYS_USB_BUS_DIR "/sys/bus/usb/devices" +-#define PROC_USB_BUS_DIR "/proc/bus/usb" ++#define PROC_USB_BUS_DIR "/dev/bus/usb" + #define USB_LINE_LEN 4096 + + #if __BYTE_ORDER == __LITTLE_ENDIAN |