updated early stage3 packages + fixed creation of binaries
[hdw-linux/hdw-linux.git] / packages / net / tcpdump / no_pcap_debug.patch
1 --- ./tcpdump.c.orig    2004-07-15 03:29:29.000000000 +0200
2 +++ ./tcpdump.c 2004-07-15 03:31:55.000000000 +0200
3 @@ -600,13 +600,15 @@
4                 case 'Y':
5                         {
6                         /* Undocumented flag */
7 -#ifdef HAVE_PCAP_DEBUG
8 -                       extern int pcap_debug;
9 -                       pcap_debug = 1;
10 -#else
11 -                       extern int yydebug;
12 -                       yydebug = 1;
13 -#endif
14 +/* for some reason configure thinks we have pcap_debug which is not the case */
15 +//#ifdef HAVE_PCAP_DEBUG
16 +//                     extern int pcap_debug;
17 +//                     pcap_debug = 1;
18 +//#else
19 +//                     extern int yydebug;
20 +//                     yydebug = 1;
21 +//#endif
22 +                       printf("sorry, pcap_debug/yydebug not available\n");
23                         }
24                         break;
25  #endif