guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: neovim: Fix #34616.


From: guix-commits
Subject: 01/01: gnu: neovim: Fix #34616.
Date: Thu, 7 Mar 2019 05:14:03 -0500 (EST)

boskovits pushed a commit to branch master
in repository guix.

commit 0a10abf73e7bb1d5f751229c709903a0f66574d2
Author: Gábor Boskovits <address@hidden>
Date:   Wed Mar 6 21:51:57 2019 +0100

    gnu: neovim: Fix #34616.
    
    This fixes a segmentation fault in neovim, where an error return value
    is passed in as a pointer.
    
    * gnu/packages/vim.scm (neovim)[arguments](phases): Add 'patch-tic phase.
---
 gnu/packages/vim.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 5e1e9b8..a6f4395 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]