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

1.2     ! adam        1: $NetBSD: patch-Include_pyport.h,v 1.1 2014/06/11 05:55:58 richard Exp $
        !             2: 
1.1       richard     3: SunOS defines gethostname in <unistd.h>
                      4: http://bugs.python.org/issue19561
                      5: 
                      6: --- Include/pyport.h.orig      2014-05-31 18:58:38.000000000 +0000
                      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>