pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python27
Module Name: pkgsrc
Committed By: tnn
Date: Tue Apr 29 09:33:56 UTC 2025
Modified Files:
pkgsrc/lang/python27: distinfo
Added Files:
pkgsrc/lang/python27/patches: patch-Include_asdl.h
Log Message:
python27: don't redefine bool
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 pkgsrc/lang/python27/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/python27/patches/patch-Include_asdl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python27/distinfo
diff -u pkgsrc/lang/python27/distinfo:1.96 pkgsrc/lang/python27/distinfo:1.97
--- pkgsrc/lang/python27/distinfo:1.96 Mon Apr 21 20:51:32 2025
+++ pkgsrc/lang/python27/distinfo Tue Apr 29 09:33:55 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.96 2025/04/21 20:51:32 wiz Exp $
+$NetBSD: distinfo,v 1.97 2025/04/29 09:33:55 tnn Exp $
BLAKE2s (Python-2.7.18.tar.xz) = 1b673ec8c9362a178e044691392bc4f67ad13457d7fddd84a88de346f23f9812
SHA512 (Python-2.7.18.tar.xz) = a7bb62b51f48ff0b6df0b18f5b0312a523e3110f49c3237936bfe56ed0e26838c0274ff5401bda6fc21bf24337477ccac49e8026c5d651e4b4cafb5eb5086f6c
@@ -6,6 +6,7 @@ Size (Python-2.7.18.tar.xz) = 12854736 b
SHA1 (patch-Doc_library_cgi.rst) = ed9ac101b0857dc573e9a648694d1ee5fabe61fb
SHA1 (patch-Doc_library_mailcap.rst) = 020cf493c4e83bc9f21040f90ccb99a2d9aeef24
SHA1 (patch-Doc_library_urlparse.rst) = ceaea3a4577ba7d3055ffb3b3c8ffbbdda7e1d32
+SHA1 (patch-Include_asdl.h) = 96eb37fdd55b4cf320160d87eccb9de78f583dbe
SHA1 (patch-Include_pyerrors.h) = 0d2cd52d18cc719b895fa32ed7e11c6cb15bae54
SHA1 (patch-Include_pyport.h) = f3e4ddbc954425a65301465410911222ca471320
SHA1 (patch-Lib___osx__support.py) = 4389472565616b3875c699f6e3e74850d5fde712
Added files:
Index: pkgsrc/lang/python27/patches/patch-Include_asdl.h
diff -u /dev/null pkgsrc/lang/python27/patches/patch-Include_asdl.h:1.1
--- /dev/null Tue Apr 29 09:33:56 2025
+++ pkgsrc/lang/python27/patches/patch-Include_asdl.h Tue Apr 29 09:33:56 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-Include_asdl.h,v 1.1 2025/04/29 09:33:56 tnn Exp $
+
+* don't redefine bool
+
+--- Include/asdl.h.orig 2025-04-29 09:29:58.921412365 +0000
++++ Include/asdl.h
+@@ -6,8 +6,12 @@ typedef PyObject * string;
+ typedef PyObject * object;
+
+ #ifndef __cplusplus
++#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
++#include <stdbool.h>
++#else
+ typedef enum {false, true} bool;
+ #endif
++#endif
+
+ /* It would be nice if the code generated by asdl_c.py was completely
+ independent of Python, but it is a goal the requires too much work
Home |
Main Index |
Thread Index |
Old Index