components/python/python34/patches/24-gethostname.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 4086 c8b513653641
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

This patch was adapted from a 2.6 patch which came from upstream:
http://bugs.python.org/issue19561

--- Python-3.4.3/Include/pyport.h.orig	2015-02-25 03:27:44.000000000 -0800
+++ Python-3.4.3/Include/pyport.h	2015-04-08 18:43:40.698253587 -0700
@@ -643,11 +643,6 @@
 in platform-specific #ifdefs.
 **************************************************************************/
 
-#ifdef SOLARIS
-/* Unchecked */
-extern int gethostname(char *, int);
-#endif
-
 #ifdef HAVE__GETPTY
 #include <sys/types.h>          /* we need to import mode_t */
 extern char * _getpty(int *, int, mode_t, int);