Date: Fri, 9 Jan 2015 18:02:37 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376632 - head/net/latd/files Message-ID: <201501091802.t09I2bsH095668@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501091802.t09I2bsH095668>