ptlib-2.10.9-disable-telnet-symbols.patch (636B)
1 diff -uNr ptlib-2.10.8.orig/src/ptclib/cli.cxx ptlib-2.10.8/src/ptclib/cli.cxx 2 --- ptlib-2.10.8.orig/src/ptclib/cli.cxx 2012-10-19 13:45:35.000000000 -0400 3 +++ ptlib-2.10.8/src/ptclib/cli.cxx 2012-10-22 16:02:58.000000000 -0400 4 @@ -858,6 +858,7 @@ 5 6 /////////////////////////////////////////////////////////////////////////////// 7 8 +#ifdef HAS_TELNET 9 PCLITelnet::PCLITelnet(WORD port, const char * prompt, bool singleThreadForAll) 10 : PCLISocket(port, prompt, singleThreadForAll) 11 { 12 @@ -868,6 +869,7 @@ 13 { 14 return new PTelnetSocket(); 15 } 16 +#endif 17 18 19 ///////////////////////////////////////////////////////////////////////////////