Annotation of pkgsrc/lang/python314/patches/patch-Include_pymacro.h, revision 1.1

1.1     ! adam        1: $NetBSD: patch-Include_pymacro.h,v 1.3 2025/02/04 22:21:19 adam Exp $
        !             2: 
        !             3: Fix build on NetBSD: error: initializer element is not constant.
        !             4: 
        !             5: --- Include/pymacro.h.orig     2025-02-04 14:51:09.000000000 +0000
        !             6: +++ Include/pymacro.h
        !             7: @@ -47,7 +47,7 @@
        !             8:  #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
        !             9:  
        !            10:  #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L \
        !            11: -     && !defined(__cplusplus) && !defined(_MSC_VER))
        !            12: +     && !defined(__cplusplus) && !defined(_MSC_VER) && !defined(__NetBSD__) && !defined(__sun))
        !            13:  #  define Py_BUILD_ASSERT_EXPR(cond) \
        !            14:      ((void)sizeof(struct { int dummy; _Static_assert(cond, #cond); }), \
        !            15:       0)

CVSweb <webmaster@jp.NetBSD.org>