From: "Gábor Boskovits" <boskovits@gmail.com>
To: 34779@debbugs.gnu.org
Cc: "Gábor Boskovits" <boskovits@gmail.com>
Subject: [bug#34779] [PATCH v2] gnu: neovim: Partially fix #34616.
Date: Thu, 7 Mar 2019 10:35:12 +0100 [thread overview]
Message-ID: <20190307093512.23795-1-boskovits@gmail.com> (raw)
In-Reply-To: <20190307091956.23587-1-boskovits@gmail.com>
* gnu/packages/vim.scm (neovim)[arguments](phases): Add phase 'patch-tic.
This fixes a segmentation fault in neovim, where an error return value
is passed in as a pointer.
---
gnu/packages/vim.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 5e1e9b852c..a6f4395f53 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -693,6 +693,12 @@ are detected, the user is notified.")))
#:configure-flags '("-DPREFER_LUA:BOOL=YES")
#:phases
(modify-phases %standard-phases
+ ;; TODO: remove 'patch-tic on update
+ ;; see: https://github.com/neovim/neovim/issues/9687
+ (add-after 'unpack 'patch-tic
+ (lambda _
+ (substitute* "src/nvim/tui/tui.c"
+ (("value != NULL") "value != NULL && value != (char *)-1"))))
(add-after 'unpack 'set-lua-paths
(lambda* (#:key inputs #:allow-other-keys)
(let* ((lua-version "5.2")
--
2.21.0
next prev parent reply other threads:[~2019-03-07 9:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 9:19 [bug#34779] [PATCH] gnu: neovim: Partially fix #34616 Gábor Boskovits
2019-03-07 9:35 ` Gábor Boskovits [this message]
2019-03-07 10:19 ` bug#34779: " Gábor Boskovits
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=20190307093512.23795-1-boskovits@gmail.com \
--to=boskovits@gmail.com \
--cc=34779@debbugs.gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.