openbsd-ports/editors/vim/patches/patch-runtime_autoload_tar_vim
sthen a3d5e24e83 vim's tar support requires GNU tar to operate correctly; patch the relevant
script to use "gtar" not "tar". This is not added as a run dep to avoid
pulling in extra dependencies, especially xz which requires gcc3+ so is
not available on some arch and is more difficult to build on others.
(There's a clear error message at runtime if gtar is unavailable.)
ok dcoppa@ ckuethe@
2011-06-15 19:43:10 +00:00

13 lines
425 B
Plaintext

$OpenBSD: patch-runtime_autoload_tar_vim,v 1.1 2011/06/15 19:43:10 sthen Exp $
--- runtime/autoload/tar.vim.orig Wed Jun 15 13:27:21 2011
+++ runtime/autoload/tar.vim Wed Jun 15 13:30:00 2011
@@ -42,7 +42,7 @@ if !exists("g:tar_readoptions")
let g:tar_readoptions= "OPxf"
endif
if !exists("g:tar_cmd")
- let g:tar_cmd= "tar"
+ let g:tar_cmd= "gtar"
endif
if !exists("g:tar_writeoptions")
let g:tar_writeoptions= "uf"