diff options
Diffstat (limited to 'net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch')
-rw-r--r-- | net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch b/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch new file mode 100644 index 000000000000..0a3012c8510a --- /dev/null +++ b/net-libs/ptlib/files/ptlib-2.10.9-disable-telnet-symbols.patch @@ -0,0 +1,19 @@ +diff -uNr ptlib-2.10.8.orig/src/ptclib/cli.cxx ptlib-2.10.8/src/ptclib/cli.cxx +--- ptlib-2.10.8.orig/src/ptclib/cli.cxx 2012-10-19 13:45:35.000000000 -0400 ++++ ptlib-2.10.8/src/ptclib/cli.cxx 2012-10-22 16:02:58.000000000 -0400 +@@ -858,6 +858,7 @@ + + /////////////////////////////////////////////////////////////////////////////// + ++#ifdef HAS_TELNET + PCLITelnet::PCLITelnet(WORD port, const char * prompt, bool singleThreadForAll) + : PCLISocket(port, prompt, singleThreadForAll) + { +@@ -868,6 +869,7 @@ + { + return new PTelnetSocket(); + } ++#endif + + + /////////////////////////////////////////////////////////////////////////////// |