neovim: fix patch path error

Reported by @kanreki.
This commit is contained in:
Henrik Grimler 2021-03-07 12:30:00 +01:00
parent a817790020
commit ffa83b34db
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Ambitious Vim-fork focused on extensibility and agility
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.4.4
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2f76aac59363677f37592e853ab2c06151cca8830d4b3fe4675b4a52d41fc42c
TERMUX_PKG_DEPENDS="libiconv, libuv, luv, libmsgpack, libandroid-support, libvterm, libtermkey, liblua53, libunibilium"
@ -68,4 +68,4 @@ termux_step_create_debscripts() {
fi
fi
EOF
}
}

View File

@ -8,7 +8,7 @@ diff -u -r ../neovim-master/src/nvim/os/stdpaths.c ./src/nvim/os/stdpaths.c
- [kXDGConfigDirs] = "/etc/xdg/",
- [kXDGDataDirs] = "/usr/local/share/:/usr/share/",
+ [kXDGConfigDirs] = "@TERMUX_PREFIX@/etc/xdg/",
+ [kXDGDataDirs] = "@TERMUX_PREFIX@/usr/local/share/:@TERMUX_PREFIX@/usr/share/",
+ [kXDGDataDirs] = "@TERMUX_PREFIX@/local/share/:@TERMUX_PREFIX@/share/",
#endif
};