From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1BF4139085 for ; Thu, 29 Dec 2016 18:47:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2527E0BF8; Thu, 29 Dec 2016 18:47:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95B02E0BF8 for ; Thu, 29 Dec 2016 18:47:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8632B341027 for ; Thu, 29 Dec 2016 18:47:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F37AF24E8 for ; Thu, 29 Dec 2016 18:47:29 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1483037234.9aad551a8ad2a1f1a1328df225fca8df7e9930f9.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/files/, app-editors/nano/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/nano/files/nano-2.7.3-tiny.patch app-editors/nano/nano-2.7.3.ebuild X-VCS-Directories: app-editors/nano/ app-editors/nano/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 9aad551a8ad2a1f1a1328df225fca8df7e9930f9 X-VCS-Branch: master Date: Thu, 29 Dec 2016 18:47:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c172ca72-91ed-4c1f-b490-778575e30125 X-Archives-Hash: 367b47251aa5f09d4016fb68f6019604 commit: 9aad551a8ad2a1f1a1328df225fca8df7e9930f9 Author: Mike Frysinger gentoo org> AuthorDate: Thu Dec 29 18:44:53 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Dec 29 18:47:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aad551a app-editors/nano: add upstream fix for USE=minimal builds #604000 app-editors/nano/files/nano-2.7.3-tiny.patch | 29 ++++++++++++++++++++++++++++ app-editors/nano/nano-2.7.3.ebuild | 1 + 2 files changed, 30 insertions(+) diff --git a/app-editors/nano/files/nano-2.7.3-tiny.patch b/app-editors/nano/files/nano-2.7.3-tiny.patch new file mode 100644 index 00000000..148716d --- /dev/null +++ b/app-editors/nano/files/nano-2.7.3-tiny.patch @@ -0,0 +1,29 @@ +From fc89ac11d25a5d052a63c01006c1fd767d9f5879 Mon Sep 17 00:00:00 2001 +From: Felix Janda +Date: Thu, 29 Dec 2016 13:43:06 -0500 +Subject: [PATCH] speller: fix build when tiny build is enabled + +URL: https://bugs.gentoo.org/604000 +--- + src/text.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/text.c b/src/text.c +index bd1737687e65..a8b34f2f6bba 100644 +--- a/src/text.c ++++ b/src/text.c +@@ -3079,9 +3079,11 @@ const char *do_alt_speller(char *tempfile_name) + stat(tempfile_name, &spellfileinfo); + if (spellfileinfo.st_mtime != timestamp) { + set_modified(); ++#ifndef NANO_TINY + /* Flush the undo stack, to avoid making a mess when the user + * tries to undo things in spell-corrected lines. */ + discard_until(NULL, openfile); ++#endif + } + #ifndef NANO_TINY + /* Unblock SIGWINCHes again. */ +-- +2.11.0 + diff --git a/app-editors/nano/nano-2.7.3.ebuild b/app-editors/nano/nano-2.7.3.ebuild index ea75851b..26259bc 100644 --- a/app-editors/nano/nano-2.7.3.ebuild +++ b/app-editors/nano/nano-2.7.3.ebuild @@ -35,6 +35,7 @@ src_prepare() { if [[ ${PV} == "9999" ]] ; then eautoreconf fi + epatch "${FILESDIR}"/${P}-tiny.patch #604000 epatch_user }