From 957aa75d05c00731d7112bed7b68ce4568667d0c Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 13 Dec 2018 15:11:52 -1000 Subject: Update vim --- data/vim/patches/8.1.0319 | 57 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 data/vim/patches/8.1.0319 (limited to 'data/vim/patches/8.1.0319') diff --git a/data/vim/patches/8.1.0319 b/data/vim/patches/8.1.0319 new file mode 100644 index 000000000..15d08e909 --- /dev/null +++ b/data/vim/patches/8.1.0319 @@ -0,0 +1,57 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0319 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0319 +Problem: bzero() function prototype doesn't work for Android. +Solution: Add an #ifdef. (Elliott Hughes, closes #3365) +Files: src/osdef1.h.in + + +*** ../vim-8.1.0318/src/osdef1.h.in 2016-12-01 17:08:35.000000000 +0100 +--- src/osdef1.h.in 2018-08-22 21:54:20.888804176 +0200 +*************** +*** 65,72 **** + # endif + # endif + #endif +! /* used inside of FD_ZERO macro: */ + extern void bzero(void *, size_t); + #ifdef HAVE_SETSID + extern pid_t setsid(void); + #endif +--- 65,74 ---- + # endif + # endif + #endif +! #ifndef __BIONIC__ // Android's libc #defines bzero to memset. +! // used inside of FD_ZERO macro + extern void bzero(void *, size_t); ++ #endif + #ifdef HAVE_SETSID + extern pid_t setsid(void); + #endif +*** ../vim-8.1.0318/src/version.c 2018-08-22 20:16:11.985125882 +0200 +--- src/version.c 2018-08-22 21:56:23.076075393 +0200 +*************** +*** 796,797 **** +--- 796,799 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 319, + /**/ + +-- +Westheimer's Discovery: + A couple of months in the laboratory can + frequently save a couple of hours in the library. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- cgit v1.2.3