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

1.1     ! adam        1: $NetBSD: patch-Modules_socketmodule.c,v 1.1 2025/10/08 07:13:08 adam Exp $
        !             2: 
        !             3: SunOS needs _XOPEN_SOURCE for sendmsg bits that are now required.
        !             4: 
        !             5: --- Modules/socketmodule.c.orig        2023-12-07 20:45:44.000000000 +0000
        !             6: +++ Modules/socketmodule.c
        !             7: @@ -89,6 +89,9 @@ Local naming conventions:
        !             8:  #  define Py_BUILD_CORE_MODULE 1
        !             9:  #endif
        !            10:  
        !            11: +#ifdef __sun
        !            12: +#define _XOPEN_SOURCE 600
        !            13: +#endif
        !            14:  #ifdef __APPLE__
        !            15:  // Issue #35569: Expose RFC 3542 socket options.
        !            16:  #define __APPLE_USE_RFC_3542 1

CVSweb <webmaster@jp.NetBSD.org>