uboot-d1: fix build with swig 4.3.0
authorTrix Taiclet <[email protected]>
Mon, 3 Nov 2025 09:37:05 +0000 (10:37 +0100)
committerHauke Mehrtens <[email protected]>
Sun, 9 Nov 2025 22:00:44 +0000 (23:00 +0100)
commit71b5de61aecf49ca1522b3f549631417c67e73d0
treef42767284bc0ee40aa7c68be5fbd7f5a25cee75e
parentef93221841b54956bd5022d746b1367d24999b7d
uboot-d1: fix build with swig 4.3.0

Swig 4.3.0 has changed SWIG_Python_AppendOutput, which now requires an
additional parameter `is_void`. SWIG_AppendOutput remains unchanged.
This was fixed upstream in u-boot/u-boot@a63456b

```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 363e07d.

Fixes: #20619
Link: #20620
Signed-off-by: Trix Taiclet <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20620
Signed-off-by: Hauke Mehrtens <[email protected]>
package/boot/uboot-d1/patches/310-fix-swig-4-3-0-SWIG_AppendOutput-keeps-signature.patch [new file with mode: 0644]