svn commit: r376632 - head/net/latd/files

Antoine Brodin antoine at FreeBSD.org
Fri Jan 9 18:02:37 UTC 2015


Author: antoine
Date: Fri Jan  9 18:02:36 2015
New Revision: 376632
URL: https://svnweb.freebsd.org/changeset/ports/376632
QAT: https://qat.redports.org/buildarchive/r376632/

Log:
  Allow building with libc++ r224926
  
  PR:		ports/196630
  Submitted by:	dim@

Added:
  head/net/latd/files/
  head/net/latd/files/patch-server.h   (contents, props changed)

Added: head/net/latd/files/patch-server.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/latd/files/patch-server.h	Fri Jan  9 18:02:36 2015	(r376632)
@@ -0,0 +1,29 @@
+--- server.h.orig	2008-10-03 15:49:53 UTC
++++ server.h
+@@ -152,22 +152,22 @@ class LATServer
+ 	  return (!(type == INACTIVE || type == DISABLED_PTY));
+ 	}
+ 
+-	bool operator==(int _fd)
++	bool operator==(int _fd) const
+ 	{
+ 	    return (type != INACTIVE && fd == _fd);
+ 	}
+ 
+-	bool operator==(const fdinfo &fdi)
++	bool operator==(const fdinfo &fdi) const
+ 	{
+ 	    return (fd == fdi.fd);
+ 	}
+ 
+-	bool operator!=(const fdinfo &fdi)
++	bool operator!=(const fdinfo &fdi) const
+ 	{
+ 	    return (fd != fdi.fd);
+ 	}
+ 
+-	bool operator!=(int _fd)
++	bool operator!=(int _fd) const
+ 	{
+ 	    return (type == INACTIVE || fd != _fd);
+ 	}


More information about the svn-ports-all mailing list