]> git.ipfire.org Git - thirdparty/openwrt.git/commit
uboot-sifiveu: fix build with swig 4.3.0 20538/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 25 Oct 2025 12:27:00 +0000 (14:27 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 25 Oct 2025 20:33:53 +0000 (22:33 +0200)
commit363e07dfa2ec39756dad3ef9c955bc83b9e920c9
treec52765d5d9cf3733a29f8dd9a17d1c528e29a287
parentcc410a18ebb110736bbc6d8dd9f94ada1a01a30d
uboot-sifiveu: fix build with swig 4.3.0

Fixes the following error by backporting upstream update:
```
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 4e68103c4eb9 ("uboot-rockchip: fix build with swig 4.3.0")

Link: https://github.com/openwrt/openwrt/pull/20538
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-sifiveu/patches/002-scripts-dtc-pylibfdt-libfdt-i_shipped-Use-SWIG_AppendOutp.patch [new file with mode: 0644]