From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/files/, app-editors/nano/
Date: Thu, 29 Dec 2016 18:47:29 +0000 (UTC) [thread overview]
Message-ID: <1483037234.9aad551a8ad2a1f1a1328df225fca8df7e9930f9.vapier@gentoo> (raw)
commit: 9aad551a8ad2a1f1a1328df225fca8df7e9930f9
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 18:44:53 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> 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 <felix.janda@posteo.de>
+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
}
next reply other threads:[~2016-12-29 18:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-29 18:47 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-03 2:14 [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/files/, app-editors/nano/ Sam James
2021-12-18 14:14 Lars Wendler
2021-02-24 12:22 Lars Wendler
2019-04-25 8:11 Lars Wendler
2018-10-09 11:50 Lars Wendler
2018-09-27 11:28 Lars Wendler
2017-06-25 17:31 Lars Wendler
2017-01-19 4:55 Mike Frysinger
2016-02-12 17:39 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1483037234.9aad551a8ad2a1f1a1328df225fca8df7e9930f9.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox