147cb6a2ae
3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5 removed build toolchain support for MSVC 2013. Because we still need to support it, we duplicate the Python directory in externals and copy old patches and dispatch to this directory for MSVC 2013. Once the support for MSVC 2013 is dropped on master, this directory can be removed again. Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089 Reviewed-on: https://gerrit.libreoffice.org/17352 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
18 lines
678 B
Groff
18 lines
678 B
Groff
definition of gethostbyname conflicts with system /usr/include/unistd.h,
|
|
available since at least Solaris 2.6 according to python-Bugs-837046
|
|
Author: taniguchi@openoffice.org
|
|
|
|
--- misc/Python-2.6.1/Include/pyport.h 2008-06-11 09:41:16.000000000 +0200
|
|
+++ misc/build/Python-2.6.1/Include/pyport.h 2011-06-06 17:31:17.000000000 +0200
|
|
@@ -449,11 +449,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);
|