emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#34779: closed ([PATCH] gnu: neovim: Partially fix


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34779: closed ([PATCH] gnu: neovim: Partially fix #34616.)
Date: Thu, 07 Mar 2019 10:21:02 +0000

Your message dated Thu, 7 Mar 2019 11:19:52 +0100
with message-id <address@hidden>
and subject line gnu: neovim: Partially fix #34616
has caused the debbugs.gnu.org bug report #34779,
regarding [PATCH] gnu: neovim: Partially fix #34616.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
34779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34779
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: neovim: Partially fix #34616. Date: Thu, 7 Mar 2019 10:19:56 +0100
* 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




--- End Message ---
--- Begin Message --- Subject: gnu: neovim: Partially fix #34616 Date: Thu, 7 Mar 2019 11:19:52 +0100
Pushed to master as 0a10abf73e7bb1d5f751229c709903a0f66574d2.


--- End Message ---

reply via email to

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