jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / python39 / patches / 15-gethostname.patch
blob7bc600a9d7df5df11d3d67ca65f14ebae58bf0c8
1 This patch was adapted from a 2.6 patch which came from upstream:
2 http://bugs.python.org/issue19561
4 --- Python-3.9.0/Include/pyport.h
5 +++ Python-3.9.0/Include/pyport.h
6 @@ -579,11 +579,6 @@ Please be conservative with adding new o
7 in platform-specific #ifdefs.
8 **************************************************************************/
10 -#ifdef SOLARIS
11 -/* Unchecked */
12 -extern int gethostname(char *, int);
13 -#endif
15 #ifdef HAVE__GETPTY
16 #include <sys/types.h> /* we need to import mode_t */
17 extern char * _getpty(int *, int, mode_t, int);