From owner-svn-ports-all@freebsd.org Sat Apr 30 04:39:52 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75D5DAD90C0; Sat, 30 Apr 2016 04:39:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4755A1302; Sat, 30 Apr 2016 04:39:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3U4dpsx065770; Sat, 30 Apr 2016 04:39:51 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3U4dpUp065769; Sat, 30 Apr 2016 04:39:51 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201604300439.u3U4dpUp065769@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 30 Apr 2016 04:39:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414329 - head/x11/fbdesk/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 04:39:52 -0000 Author: pi Date: Sat Apr 30 04:39:51 2016 New Revision: 414329 URL: https://svnweb.freebsd.org/changeset/ports/414329 Log: x11/fbdesk: Fix build with libc++ 3.8.0 PR: 209108 Submitted by: dim Added: head/x11/fbdesk/files/patch-TextBox.cc (contents, props changed) Added: head/x11/fbdesk/files/patch-TextBox.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/fbdesk/files/patch-TextBox.cc Sat Apr 30 04:39:51 2016 (r414329) @@ -0,0 +1,11 @@ +--- src/FbTk/TextBox.cc.orig 2006-03-25 15:42:00 UTC ++++ src/FbTk/TextBox.cc +@@ -199,7 +199,7 @@ void TextBox::buttonPressEvent(XButtonEv + int delta = width(); + int tmp = 0; + for(i = m_start_pos; i <= m_end_pos; i++) { +- tmp = abs(event.x - font().textWidth(m_text.c_str() + m_start_pos, i - m_start_pos)); ++ tmp = abs((int)(event.x - font().textWidth(m_text.c_str() + m_start_pos, i - m_start_pos))); + + if (tmp < delta) { + delta = tmp;