20854707 vim build error in python module due to gethostname() redeclaration s11-update
authorDanek Duvall <danek.duvall@oracle.com>
Thu, 09 Apr 2015 22:09:36 -0700
branchs11-update
changeset 4182 edb1ea7d72bc
parent 4180 5cd36902893c
child 4184 5bcc30d62913
20854707 vim build error in python module due to gethostname() redeclaration
components/vim/patches/7.4.692.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/vim/patches/7.4.692.patch	Thu Apr 09 22:09:36 2015 -0700
@@ -0,0 +1,36 @@
+Pulled from http://ftp.vim.org/pub/vim/patches/7.4/7.4.692
+Removed the version.c bump.
+
+To: [email protected]
+Subject: Patch 7.4.692
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.4.692
+Problem:    Defining SOLARIS for no good reason. (Danek Duvall)
+Solution:   Remove it.
+Files:	    src/os_unix.h
+
+
+*** ../vim-7.4.691/src/os_unix.h	2014-03-25 13:46:22.841832960 +0100
+--- src/os_unix.h	2015-04-09 22:04:39.557343160 +0200
+***************
+*** 65,77 ****
+  #endif
+  
+  /*
+-  * Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE
+-  */
+- #if defined(sun) && !defined(FILE)
+- # define SOLARIS
+- #endif
+- 
+- /*
+   * Using getcwd() is preferred, because it checks for a buffer overflow.
+   * Don't use getcwd() on systems do use system("sh -c pwd").  There is an
+   * autoconf check for this.
+--- 65,70 ----