uboot-rockchip: fix build with swig 4.3.0
authorTianling Shen <cnsztl@immortalwrt.org>
Mon, 23 Dec 2024 13:57:15 +0000 (21:57 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Dec 2024 20:21:49 +0000 (21:21 +0100)
commit4e68103c4eb93d3f9b9359742c3c377ee2844943
tree49337ae26cdc467f0bf11c6d5bf00e675056cf8f
parent967a6a2cf501d4dd60e790ab69c871a000d85391
uboot-rockchip: 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);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

Fixes: https://github.com/openwrt/openwrt/issues/17345
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/17352
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-rockchip/patches/002-scripts-dtc-pylibfdt-libfdt-i_shipped-Use-SWIG_AppendOutp.patch [new file with mode: 0644]