Rename patches to match conventions, second round; *ouch*
[packages.git] / net / tcpdump / patches / 01-remove_pcap_debug.patch
1 diff -urN tcpdump-3.9.4.orig/tcpdump.c tcpdump-3.9.4/tcpdump.c
2 --- tcpdump-3.9.4.orig/tcpdump.c        2005-08-23 12:29:41.000000000 +0200
3 +++ tcpdump-3.9.4/tcpdump.c     2006-02-05 17:52:37.000000000 +0100
4 @@ -762,20 +762,6 @@
5                                 error("invalid data link type %s", gndo->ndo_dltname);
6                         break;
7  
8 -#if defined(HAVE_PCAP_DEBUG) || defined(HAVE_YYDEBUG)
9 -               case 'Y':
10 -                       {
11 -                       /* Undocumented flag */
12 -#ifdef HAVE_PCAP_DEBUG
13 -                       extern int pcap_debug;
14 -                       pcap_debug = 1;
15 -#else
16 -                       extern int yydebug;
17 -                       yydebug = 1;
18 -#endif
19 -                       }
20 -                       break;
21 -#endif
22                 case 'Z':
23                         if (optarg) {
24                                 username = strdup(optarg);