Debian Patches

Status for libftdi1/1.6~rc1-2

Patch Description Author Forwarded Bugs Origin Last update
python-update-for-SWIG-4.5.diff python: update for SWIG 4.5
SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_, PyString_, SWIG_Python_str_*)
from its runtime header pyhead.swg (see commit [1]). These macros mapped old Python 2
C API names to their Python 3 equivalents. Packages that reference them in custom SWIG
typemaps or pre-generated wrapper code now fail to compile.

This patch replaces all occurrences with the corresponding Python 3 C API functions.
The replacements are safe since the macros were already aliased to these exact functions
in SWIG's Python 3 code path.

[1] https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d
Jitka Plesnikova <jplesnik@redhat.com> no 2026-08-11

All known versions for source package 'libftdi1'

Links