X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id BA380DCBF41 for ; Wed, 19 Nov 2014 05:41:57 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id v10so1756775pde.3 for ; Tue, 18 Nov 2014 21:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o9Kxp2qVTmoMcnskrhjDZfYGEYUDxW1NneASI89CVfE=; b=aeP/oQ4qb/y4qtIMCT7XHWE9SZ7Feo8VGpwGggx8gbDzXee2bxnAXpR6z2xmqSeiht kX8Vi8HBKvTQsi4n9WuBW/cH9NgEKpIvyeqRN19aOQPEHWDCAZMzMsiA7UzS7EEGCb68 kcCm59JXbWDpsy5f414Ace5pHkKnoNoAjM8ZWzFMbbcZ8l7GICSdIe/iAv/URXmKx0oy MIB+n+Ga9XcocWjj7PL2GN932aIuvwya0sFd+V+BcIqx9pURkID1C5psy2zAl9Tv+7lm eoilhhFEVNyZpvfJNXv2Ed6v6KMuf9tuswuaQPL6dehJBqe6gFgKlXyLA87WDSekHlIb KNQw== X-Received: by 10.68.89.129 with SMTP id bo1mr43031818pbb.46.1416375716950; Tue, 18 Nov 2014 21:41:56 -0800 (PST) Received: from localhost.localdomain ([50.0.227.65]) by mx.google.com with ESMTPSA id of9sm690447pbc.6.2014.11.18.21.41.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Nov 2014 21:41:56 -0800 (PST) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH 2/2] testing/dillo: avoid fl_oldfocus Date: Tue, 18 Nov 2014 21:41:37 -0800 Message-Id: <1416375697-29402-2-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1416375697-29402-1-git-send-email-ibid.ag@gmail.com> References: <1416375697-29402-1-git-send-email-ibid.ag@gmail.com> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: It's not supposed to be public, and isn't visible in FLTK 1.3.3. --- testing/dillo/APKBUILD | 6 +++++- testing/dillo/fl_oldfocus.patch | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 testing/dillo/fl_oldfocus.patch diff --git a/testing/dillo/APKBUILD b/testing/dillo/APKBUILD index 98e4bfb..6939c7d 100644 --- a/testing/dillo/APKBUILD +++ b/testing/dillo/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=dillo pkgver=3.0.4 -pkgrel=0 +pkgrel=1 pkgdesc="Very small and fast GUI web browser" url="http://www.dillo.org" arch="all" @@ -13,6 +13,7 @@ makedepends="fltk-dev zlib-dev libx11-dev libpng-dev libjpeg-turbo-dev install="" subpackages="$pkgname-doc" source="http://www.dillo.org/download/${pkgname}-${pkgver}.tar.bz2 + fl_oldfocus.patch dillo.desktop dillo.png " @@ -52,11 +53,14 @@ package() { } md5sums="c85aab6b840527e1dd71b220a1dcfbab dillo-3.0.4.tar.bz2 +a33a0de688bd8a90f03600246bdf4e97 fl_oldfocus.patch ffb9cdcb3506b5aeba9e0d1bcaa4006d dillo.desktop 2ca5fb738b70051cac592acef3cb56e1 dillo.png" sha256sums="ee2bab25010dd27b18ba80259df6eb8f6b549f5af596539c08eed0b70322df39 dillo-3.0.4.tar.bz2 +7ccb60b485373fb47b5f48e4319de50016b51b03b0f43704ffbb6779da0d1774 fl_oldfocus.patch 54848080de1911a2af8ff786fbe92bdad8fe8b7b8a0d580c9c79b0a98f9fdcde dillo.desktop de629745e6f3a271475a501e2b94558b3deb7bf9a407bcef16426e600e1731f3 dillo.png" sha512sums="57513342026288255f3a2a783f206a24b9b29a03f4721d34f6e43111d61b248c56e1212abdb51adcc826c4ca081f9fa5157247c00eda95d9b5287556fe9da175 dillo-3.0.4.tar.bz2 +7bb6ceac74b0207e8895a3fcf69b348f29c425abe7577a6f481f5a18a512923bcb164b2bf68b7fdab6722e364643874318d8636ac101fcc2b50a4bc511ca52f7 fl_oldfocus.patch 393a749d33f78e4c8a99c0c94a9708b26d235356f0c8dfa942af4e8da7eb9aa2453911894461714986449dfd15a4b492ef9071fac6b230f52a8f2e562f1bf016 dillo.desktop cfc9bcf1bfd0fff7fc625c7d288c92d0f33418b963a4e344844fd2bcb33823b3215a8a1a86162dcd1c614eea2323bb361c11bd8bd15859b771c63943c1b40833 dillo.png" diff --git a/testing/dillo/fl_oldfocus.patch b/testing/dillo/fl_oldfocus.patch new file mode 100644 index 0000000..58859cb --- /dev/null +++ b/testing/dillo/fl_oldfocus.patch @@ -0,0 +1,32 @@ +commit 6cace8b8ecedd11a54b02e1dd08f9a2880bdb1b1 +Author: Isaac Dunham +Date: Tue Nov 18 21:06:54 2014 -0800 + + Don't use FLTK internal symbols; fix build with FLTK 1.3.3 + Patch based on http://hg.dillo.org/dillo/raw-rev/eb902ac9fc66 + +diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc +index 30a19d5..9ec5a71 100644 +--- a/dw/fltkviewbase.cc ++++ b/dw/fltkviewbase.cc +@@ -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,10 @@ int FltkViewBase::handle (int event) + } + return 1; + case FL_UNFOCUS: +- focused_child = fl_oldfocus; ++ // was: focused_child = fl_oldfocus; ++ for (Fl_Widget *p = this; p; p = p->parent()) ++ focused_child = p; ++ + return 0; + case FL_KEYBOARD: + if (Fl::event_key() == FL_Tab) -- 2.1.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---