ucode: update to Git HEAD (2025-08-26)
authorFelix Fietkau <[email protected]>
Sun, 14 Sep 2025 15:04:44 +0000 (17:04 +0200)
committerFelix Fietkau <[email protected]>
Mon, 15 Sep 2025 07:59:35 +0000 (09:59 +0200)
2ae08749a87e ucode: add padding to uc_resource_ext_t
7931bd901222 socket: add socket.pair()
4cd07cd66ab3 socket: add socket.open()
6350e6383ff3 struct: implement X and Z formats for hex and base64 coding
e632e6da1fbc vm: fix potential eyond end of array accesses
a7ead3169ebf resolv: properly handle multiple TXT strings
9d782ea4af63 math: Add an optional range to rand()

Fixes: https://github.com/jow-/ucode/issues/315
Fixes: https://github.com/jow-/ucode/issues/321
Signed-off-by: Felix Fietkau <[email protected]>
package/utils/ucode/Makefile
package/utils/ucode/patches/100-ucode-add-padding-to-uc_resource_ext_t.patch [deleted file]

index 8ae1b91c1f213a2dfbde970ac5e98590ba1d34b9..f045eeb8ee4d1c22a99f4add52a568a5da84613e 100644 (file)
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=https://github.com/jow-/ucode.git
-PKG_SOURCE_DATE:=2025-07-18
-PKG_SOURCE_VERSION:=3f64c8089bf3ea4847c96b91df09fbfcaec19e1d
-PKG_MIRROR_HASH:=55fbff7c527e1fadbda2e038636f39419649841ee63a5f3cdb50b9714b13420c
+PKG_SOURCE_DATE:=2025-08-26
+PKG_SOURCE_VERSION:=5f712ffd3f31f13ed4812cfb37c21dbef7a75e2b
+PKG_MIRROR_HASH:=6093ceb320854f4d38180f163fd702bceb8785ed6574aa145021eda82a9cf7b4
 PKG_MAINTAINER:=Jo-Philipp Wich <[email protected]>
 PKG_LICENSE:=ISC
 
diff --git a/package/utils/ucode/patches/100-ucode-add-padding-to-uc_resource_ext_t.patch b/package/utils/ucode/patches/100-ucode-add-padding-to-uc_resource_ext_t.patch
deleted file mode 100644 (file)
index f8a8cf2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Felix Fietkau <[email protected]>
-Date: Mon, 21 Jul 2025 21:07:17 +0200
-Subject: [PATCH] ucode: add padding to uc_resource_ext_t
-
-This ensures that user data structures tied to the ext resource are aligned
-to 64 bit, as usually guaranteed by the memory allocator.
-
-Signed-off-by: Felix Fietkau <[email protected]>
----
-
---- a/include/ucode/types.h
-+++ b/include/ucode/types.h
-@@ -213,6 +213,8 @@ typedef struct {
-       uint32_t persistent:1;
-       uint32_t uvcount:8;
-       uint32_t datasize:20;
-+
-+      uint32_t _pad;
- } uc_resource_ext_t;
- uc_declare_vector(uc_resource_types_t, uc_resource_type_t *);