| Summary: | [patch] editors/neovim: update to 0.1.5 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Oleh Hushchenkov <o.hushchenkov> | ||||||||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||||||||
| Status: | Closed FIXED | ||||||||||||
| Severity: | Affects Many People | CC: | o.hushchenkov | ||||||||||
| Priority: | --- | Keywords: | patch | ||||||||||
| Version: | Latest | ||||||||||||
| Hardware: | Any | ||||||||||||
| OS: | Any | ||||||||||||
| Attachments: |
|
||||||||||||
- Fails to patch:
===> Applying FreeBSD patches for neovim-0.1.5
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to config/CMakeLists.txt.rej
=> Patch patch-config__CMakeLists.txt failed to apply cleanly.
=> Patch(es) patch-CMakeLists.txt applied cleanly.
*** Error code 1
- This does not seem to be incorrect:
foreach(CURRENT_LUA_PRG luajit lua5.1 lua5.2 lua)
The port should _only_ use lua version listed in depends. Since you don't specify lua version in USES=lua, depends, you must substitute ${LUA_VER} here.
Also, does it really require lua while using luajit? luajit is complete drop-in replacement for lua as far as I know, and these should not be mixed.
Created attachment 174177 [details]
patch v2
Sorry, forgot delete obsolete patches.
Created attachment 174178 [details]
patch v3
Fast fix Lua usage.
Created attachment 174778 [details]
updated patch
Fix CMakeLists.txt to detect only luajit. Lua still needed for build, because lpeg is only available for lua. A commit references this bug: Author: amdmi3 Date: Wed Oct 5 18:43:46 UTC 2016 New revision: 423366 URL: https://svnweb.freebsd.org/changeset/ports/423366 Log: - Update to 1.15 PR: 212233 Submitted by: gor@clogic.com.ua (maintainer) Changes: head/editors/neovim/Makefile head/editors/neovim/distinfo head/editors/neovim/files/patch-CMakeLists.txt head/editors/neovim/files/patch-config__CMakeLists.txt head/editors/neovim/files/patch-config__config.h.in head/editors/neovim/files/patch-src__nvim__shada.c head/editors/neovim/files/patch-src_nvim_event_pty__process.c head/editors/neovim/pkg-plist |
Created attachment 174174 [details] patch Update neovim to 0.1.5