Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
01_build_doc.patch | =================================================================== | no | ||||
02_Install_to_dist_packages.patch | pylibfdt: Install to dist-packages | Bastian Germann <bage@debian.org> | no | 2022-05-20 | ||
upstream/0006-pylibfdt-libfdt.i-fix-backwards-compatibility-of-ret.patch | [PATCH 06/15] pylibfdt/libfdt.i: fix backwards compatibility of return values When our Python functions wrap `fdt_getprop()` they return a list containing `[*data, length]`. In SWIG v4.2 and earlier SWIG would discard `*data` if it is NULL/None. Causing the return value to just be `length`. But starting in SWIG v4.3 it no longer discards `*data`. So the return value is now `[None, length]`. Handle this compatibility issue in libfdt.i by checking if the return value looks like the older 4.2 return value, and casting it to the newer style. See https://github.com/swig/swig/pull/2907 |
Brandon Maier <brandon.maier@gmail.com> | no | 2024-11-24 |