Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python3: fix initconfig.h include
@ 2020-02-02 20:53 Fabrice Fontaine
  2020-02-02 20:53 ` [Buildroot] [PATCH 2/2] package/cracklib: add python3 support Fabrice Fontaine
  2021-05-26 19:16 ` [Buildroot] [PATCH 1/2] package/python3: fix initconfig.h include Arnout Vandecappelle
  0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2020-02-02 20:53 UTC (permalink / raw)
  To: buildroot

This fix is needed to enable cracklib with python3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...n-pystate.h-fix-initconfig.h-include.patch | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/python3/0034-Include-cpython-pystate.h-fix-initconfig.h-include.patch

diff --git a/package/python3/0034-Include-cpython-pystate.h-fix-initconfig.h-include.patch b/package/python3/0034-Include-cpython-pystate.h-fix-initconfig.h-include.patch
new file mode 100644
index 0000000000..aa7835e0a4
--- /dev/null
+++ b/package/python3/0034-Include-cpython-pystate.h-fix-initconfig.h-include.patch
@@ -0,0 +1,30 @@
+From ce8731443896e7513239c2d831733b0d87417e42 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 2 Feb 2020 18:52:56 +0100
+Subject: [PATCH] Include/cpython/pystate.h: fix initconfig.h include
+
+This fix is needed to fix detection of python3.8/Python.h with cracklib
+
+See https://bugs.python.org/issue39026
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ Include/cpython/pystate.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
+index d1792575c9..0a141b6e67 100644
+--- a/Include/cpython/pystate.h
++++ b/Include/cpython/pystate.h
+@@ -6,7 +6,7 @@
+ extern "C" {
+ #endif
+ 
+-#include "cpython/initconfig.h"
++#include "initconfig.h"
+ 
+ PyAPI_FUNC(int) _PyInterpreterState_RequiresIDRef(PyInterpreterState *);
+ PyAPI_FUNC(void) _PyInterpreterState_RequireIDRef(PyInterpreterState *, int);
+-- 
+2.24.1
+
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-26 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-02 20:53 [Buildroot] [PATCH 1/2] package/python3: fix initconfig.h include Fabrice Fontaine
2020-02-02 20:53 ` [Buildroot] [PATCH 2/2] package/cracklib: add python3 support Fabrice Fontaine
2020-05-19 19:04   ` Yann E. MORIN
2020-05-19 19:12     ` Yann E. MORIN
2021-05-26 19:16 ` [Buildroot] [PATCH 1/2] package/python3: fix initconfig.h include Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox