1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net-mgmt/tcptrack/files/patch-const
Mikhail Teterin fbb19c4f2d Unbreak:
. Fix the ancient bug, which prevented this from being
  compiled with delightfully picky clang++ -- thus removing
  the GCC-requirement added by pi@
. Remove the author's curious attempts to impose stack-size
  limits on the various threads of this program -- this was,
  what caused the program to crash at run-time
. Get rid of pkg-plist (which only had two files) anyway.
. Declare the LICENSE (LGPL21)

Bump PORTREVISION.

Approved by:	port being condemned for deletion
2015-03-23 20:47:55 +00:00

23 lines
631 B
Plaintext

Const is good...
-mi
--- src/Guesser.h 2010-09-27 19:02:01.000000000 -0400
+++ src/Guesser.h 2015-03-23 11:42:51.000000000 -0400
@@ -20,5 +20,5 @@
{
public:
- bool operator()( const SocketPair &sp1, const SocketPair & sp2 )
+ bool operator()( const SocketPair &sp1, const SocketPair & sp2 ) const
{
if( sp1==sp2 )
--- src/TCContainer.h 2010-09-27 19:02:01.000000000 -0400
+++ src/TCContainer.h 2015-03-23 11:40:43.000000000 -0400
@@ -58,5 +58,5 @@
{
public:
- bool operator()( const SocketPair &sp1, const SocketPair &sp2 )
+ bool operator()( const SocketPair &sp1, const SocketPair &sp2 ) const
{
if( sp1==sp2 )