* [bug#34779] [PATCH] gnu: neovim: Partially fix #34616.
@ 2019-03-07 9:19 Gábor Boskovits
2019-03-07 9:35 ` [bug#34779] [PATCH v2] " Gábor Boskovits
2019-03-07 10:19 ` bug#34779: " Gábor Boskovits
0 siblings, 2 replies; 3+ messages in thread
From: Gábor Boskovits @ 2019-03-07 9:19 UTC (permalink / raw)
To: 34779; +Cc: Gábor Boskovits
* 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..105e2751e5 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/nvim/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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#34779] [PATCH v2] gnu: neovim: Partially fix #34616.
2019-03-07 9:19 [bug#34779] [PATCH] gnu: neovim: Partially fix #34616 Gábor Boskovits
@ 2019-03-07 9:35 ` Gábor Boskovits
2019-03-07 10:19 ` bug#34779: " Gábor Boskovits
1 sibling, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2019-03-07 9:35 UTC (permalink / raw)
To: 34779; +Cc: Gábor Boskovits
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#34779: gnu: neovim: Partially fix #34616
2019-03-07 9:19 [bug#34779] [PATCH] gnu: neovim: Partially fix #34616 Gábor Boskovits
2019-03-07 9:35 ` [bug#34779] [PATCH v2] " Gábor Boskovits
@ 2019-03-07 10:19 ` Gábor Boskovits
1 sibling, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2019-03-07 10:19 UTC (permalink / raw)
To: 34779-done
Pushed to master as 0a10abf73e7bb1d5f751229c709903a0f66574d2.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-07 10:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-07 9:19 [bug#34779] [PATCH] gnu: neovim: Partially fix #34616 Gábor Boskovits
2019-03-07 9:35 ` [bug#34779] [PATCH v2] " Gábor Boskovits
2019-03-07 10:19 ` bug#34779: " Gábor Boskovits
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.