From owner-svn-ports-all@FreeBSD.ORG Tue Feb 10 14:55:19 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4007806; Tue, 10 Feb 2015 14:55:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 94D3C92F; Tue, 10 Feb 2015 14:55:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1AEtJ0I043042; Tue, 10 Feb 2015 14:55:19 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1AEtJYw043041; Tue, 10 Feb 2015 14:55:19 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201502101455.t1AEtJYw043041@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Tue, 10 Feb 2015 14:55:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378778 - head/www/dillo2/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.18-1 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: Tue, 10 Feb 2015 14:55:19 -0000 Author: antoine Date: Tue Feb 10 14:55:18 2015 New Revision: 378778 URL: https://svnweb.freebsd.org/changeset/ports/378778 QAT: https://qat.redports.org/buildarchive/r378778/ Log: Add an upstream patch allowing to build with fltk 1.3.3 Submitted by: danfe Added: head/www/dillo2/files/ head/www/dillo2/files/patch-dw_fltkviewbase.cc (contents, props changed) Added: head/www/dillo2/files/patch-dw_fltkviewbase.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/dillo2/files/patch-dw_fltkviewbase.cc Tue Feb 10 14:55:18 2015 (r378778) @@ -0,0 +1,40 @@ + +# HG changeset patch +# User Jorge Arellano Cid +# Date 1416942594 0 +# Node ID 630f02e6341e2ee830de042a811a62491c0a7a56 +# Parent 5edad033981ff7dfc1886586dd0ef0c252d86fa3 +Fix a problem with FLTK's fl_oldfocus variable + +http://lists.dillo.org/pipermail/dillo-dev/2014-November/010299.html + +and, from commit text for changeset eb902ac9fc66 +"Starting with fltk-1.3.3, we can't use fl_oldfocus, this patch +fixes this problem. + +IOW. this patch is necessary to link with fltk-1.3.3." + +diff -r 5edad033981f -r 630f02e6341e dw/fltkviewbase.cc +--- dw/fltkviewbase.cc.orig Wed Apr 09 16:32:52 2014 -0300 ++++ dw/fltkviewbase.cc Tue Nov 25 19:09:54 2014 +0000 +@@ -27,8 +27,6 @@ + #include + #include "../lout/msg.h" + +-extern Fl_Widget* fl_oldfocus; +- + using namespace lout::object; + using namespace lout::container::typed; + +@@ -364,7 +362,9 @@ + } + return 1; + case FL_UNFOCUS: +- focused_child = fl_oldfocus; ++ // FLTK delivers UNFOCUS to the previously focused widget ++ if (find(Fl::focus()) < children()) ++ focused_child = Fl::focus(); // remember the focused child! + return 0; + case FL_KEYBOARD: + if (Fl::event_key() == FL_Tab) +