Annotation of pkgsrc/lang/python311/patches/patch-Modules_socketmodule.c, revision 1.2
1.2 ! wiz 1: $NetBSD: patch-Modules_socketmodule.c,v 1.1 2022/10/31 09:50:40 adam Exp $
1.1 adam 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>