From b9fb9ee26935484db88ccb5cf7a0984864fdada0 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 27 Oct 2024 02:41:28 +0100 Subject: [PATCH] main/u-boot-tools: update to 2024.10 --- main/u-boot-tools/patches/swig43.patch | 29 ++++++++++++++++++++++++++ main/u-boot-tools/template.py | 4 ++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 main/u-boot-tools/patches/swig43.patch diff --git a/main/u-boot-tools/patches/swig43.patch b/main/u-boot-tools/patches/swig43.patch new file mode 100644 index 0000000000..8945d29982 --- /dev/null +++ b/main/u-boot-tools/patches/swig43.patch @@ -0,0 +1,29 @@ +--- a/scripts/dtc/pylibfdt/libfdt.i_shipped ++++ b/scripts/dtc/pylibfdt/libfdt.i_shipped +@@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t; + fdt_string(fdt1, fdt32_to_cpu($1->nameoff))); + buff = PyByteArray_FromStringAndSize( + (const char *)($1 + 1), fdt32_to_cpu($1->len)); +- resultobj = SWIG_Python_AppendOutput(resultobj, buff); ++ resultobj = SWIG_AppendOutput(resultobj, buff); + } + } + +@@ -1076,7 +1076,7 @@ typedef uint32_t fdt32_t; + + %typemap(argout) int *depth { + PyObject *val = Py_BuildValue("i", *arg$argnum); +- resultobj = SWIG_Python_AppendOutput(resultobj, val); ++ resultobj = SWIG_AppendOutput(resultobj, val); + } + + %apply int *depth { int *depth }; +@@ -1092,7 +1092,7 @@ typedef uint32_t fdt32_t; + if (PyTuple_GET_SIZE(resultobj) == 0) + resultobj = val; + else +- resultobj = SWIG_Python_AppendOutput(resultobj, val); ++ resultobj = SWIG_AppendOutput(resultobj, val); + } + } + diff --git a/main/u-boot-tools/template.py b/main/u-boot-tools/template.py index fa2b427f30..2bfaaf5f1f 100644 --- a/main/u-boot-tools/template.py +++ b/main/u-boot-tools/template.py @@ -1,5 +1,5 @@ pkgname = "u-boot-tools" -pkgver = "2024.04" +pkgver = "2024.10" pkgrel = 0 build_style = "makefile" make_build_target = "tools-all" @@ -31,7 +31,7 @@ license = "GPL-2.0-or-later" url = "https://www.denx.de/wiki/U-Boot" source = f"https://ftp.denx.de/pub/u-boot/u-boot-{pkgver}.tar.bz2" -sha256 = "18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a" +sha256 = "b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0" hardening = ["vis", "cfi"] # weird test suite options = ["!check"]