Annotation of pkgsrc/lang/python27/patches/patch-Include_pyport.h, revision 1.3

1.3     ! rodent      1: $NetBSD: patch-Include_pyport.h,v 1.2 2014/07/02 09:53:16 adam Exp $
1.2       adam        2: 
1.1       richard     3: SunOS defines gethostname in <unistd.h>
                      4: http://bugs.python.org/issue19561
                      5: 
1.3     ! rodent      6: --- Include/pyport.h.orig      2014-12-10 15:59:32.000000000 +0000
1.1       richard     7: +++ Include/pyport.h
                      8: @@ -640,11 +640,6 @@ Please be conservative with adding new o
                      9:  in platform-specific #ifdefs.
                     10:  **************************************************************************/
                     11:  
                     12: -#ifdef SOLARIS
                     13: -/* Unchecked */
                     14: -extern int gethostname(char *, int);
                     15: -#endif
                     16: -
                     17:  #ifdef __BEOS__
                     18:  /* Unchecked */
                     19:  /* It's in the libs, but not the headers... - [cjh] */

CVSweb <webmaster@jp.NetBSD.org>