Re: [PATCH] libfdt: Fix build with python 3.10

2022-10-21 Thread Simon Glass
On Thu, 13 Oct 2022 at 14:43, Michal Suchanek wrote: > > Python 3.10 requires defining PY_SSIZE_T_CLEAN. This will be fixed in > swig 4.10 but it is not clear when it will be released. There was a > warning since python 3.8. > > Link: https://github.com/swig/swig/pull/2277 > > Signed-off-by: Micha

Re: [PATCH] libfdt: Fix build with python 3.10

2022-10-14 Thread Simon Glass
On Thu, 13 Oct 2022 at 14:43, Michal Suchanek wrote: > > Python 3.10 requires defining PY_SSIZE_T_CLEAN. This will be fixed in > swig 4.10 but it is not clear when it will be released. There was a > warning since python 3.8. > > Link: https://github.com/swig/swig/pull/2277 > > Signed-off-by: Micha

[PATCH] libfdt: Fix build with python 3.10

2022-10-13 Thread Michal Suchanek
Python 3.10 requires defining PY_SSIZE_T_CLEAN. This will be fixed in swig 4.10 but it is not clear when it will be released. There was a warning since python 3.8. Link: https://github.com/swig/swig/pull/2277 Signed-off-by: Michal Suchanek --- scripts/dtc/pylibfdt/libfdt.i_shipped | 4 1