diff options
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch b/meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch new file mode 100644 index 0000000000..7e1eea6b1e --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Disable bits of remote capture support inherited from the WinPCAP merge | ||
2 | which cause applications to FTBFS if they define HAVE_REMOTE. | ||
3 | |||
4 | Patch from: | ||
5 | https://anonscm.debian.org/cgit/users/rfrancoise/libpcap.git/commit/? | ||
6 | id=f35949969269dfdcc3549b12fade604755e1e326 | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | --- a/pcap/pcap.h | ||
11 | +++ b/pcap/pcap.h | ||
12 | @@ -506,6 +506,11 @@ | ||
13 | #define MODE_STAT 1 | ||
14 | #define MODE_MON 2 | ||
15 | |||
16 | +#ifdef HAVE_REMOTE | ||
17 | + /* Includes most of the public stuff that is needed for the remote capture */ | ||
18 | + #include <remote-ext.h> | ||
19 | +#endif /* HAVE_REMOTE */ | ||
20 | + | ||
21 | #elif defined(MSDOS) | ||
22 | |||
23 | /* | ||
24 | @@ -526,11 +531,6 @@ | ||
25 | |||
26 | #endif /* _WIN32/MSDOS/UN*X */ | ||
27 | |||
28 | -#ifdef HAVE_REMOTE | ||
29 | - /* Includes most of the public stuff that is needed for the remote capture */ | ||
30 | - #include <remote-ext.h> | ||
31 | -#endif /* HAVE_REMOTE */ | ||
32 | - | ||
33 | #ifdef __cplusplus | ||
34 | } | ||
35 | #endif | ||
36 | |||