From 8bd7e25079c8f8b01925fae5fe20bdc138d142eb Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 12 Feb 2009 21:24:00 +0000 Subject: [PATCH] libpcap: added missing patch file svn path=/nixpkgs/trunk/; revision=14059 --- .../libraries/libpcap/libpcap_amd64.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/libpcap/libpcap_amd64.patch diff --git a/pkgs/development/libraries/libpcap/libpcap_amd64.patch b/pkgs/development/libraries/libpcap/libpcap_amd64.patch new file mode 100644 index 000000000000..6b563e15d2d5 --- /dev/null +++ b/pkgs/development/libraries/libpcap/libpcap_amd64.patch @@ -0,0 +1,26 @@ +diff --git a/pcap.c b/pcap.c +index 010ef74..0bfb191 100644 +--- a/pcap.c ++++ b/pcap.c +@@ -211,7 +211,7 @@ pcap_set_buffer_size(pcap_t *p, int buffer_size) + return 0; + } + +-int ++pcap_t * + pcap_activate(pcap_t *p) + { + int status; +diff --git a/pcap/pcap.h b/pcap/pcap.h +index ea18edc..3910a2d 100644 +--- a/pcap/pcap.h ++++ b/pcap/pcap.h +@@ -263,7 +263,7 @@ int pcap_can_set_rfmon(pcap_t *); + int pcap_set_rfmon(pcap_t *, int); + int pcap_set_timeout(pcap_t *, int); + int pcap_set_buffer_size(pcap_t *, int); +-int pcap_activate(pcap_t *); ++pcap_t *pcap_activate(pcap_t *); + + pcap_t *pcap_open_live(const char *, int, int, int, char *); + pcap_t *pcap_open_dead(int, int);