Annotation of pkgsrc/lang/python312/patches/patch-Modules_socketmodule.c, revision 1.1

1.1     ! adam        1: $NetBSD: patch-Modules_socketmodule.c,v 1.2 2023/01/14 17:23:26 wiz Exp $
        !             2: 
        !             3: --- Modules/socketmodule.c.orig        2022-01-13 18:52:14.000000000 +0000
        !             4: +++ Modules/socketmodule.c
        !             5: @@ -5440,7 +5440,7 @@ socket_sethostname(PyObject *self, PyObj
        !             6:      Py_buffer buf;
        !             7:      int res, flag = 0;
        !             8:  
        !             9: -#ifdef _AIX
        !            10: +#if defined(_AIX) || (defined(__sun) && PKGSRC_OPSYS_VERSION < 051100)
        !            11:  /* issue #18259, not declared in any useful header file */
        !            12:  extern int sethostname(const char *, size_t);
        !            13:  #endif

CVSweb <webmaster@jp.NetBSD.org>