mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 11:39:52 +00:00
86602b5f3a
Bump micropython to 1.23.0. This is done to fix support for MbedTLS 3.0 Lots changed between 1.21 and 1.23 for the library side. Mainly the barkeley-db library was moved to micropython own fork and the cdef patch required lots of changes. (we have to manually include a copy of cdef.h as it was dropped by them) Also a new patch is required to mute some compilarion error that are false-positive. (variable not initialized but that are ALWAYS initialized) Also refresh the extmod patch with new files included. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
23 lines
662 B
Diff
23 lines
662 B
Diff
--- a/lib/berkeley-db-1.xx/btree/bt_split.c
|
|
+++ b/lib/berkeley-db-1.xx/btree/bt_split.c
|
|
@@ -91,7 +91,7 @@ __bt_split(t, sp, key, data, flags, ilen
|
|
PAGE *h, *l, *r, *lchild, *rchild;
|
|
indx_t nxtindex;
|
|
u_int16_t skip;
|
|
- u_int32_t n, nbytes, nksize = 0;
|
|
+ u_int32_t n, nbytes = 0, nksize = 0;
|
|
int parentsplit;
|
|
char *dest;
|
|
pgno_t pg_tmp;
|
|
@@ -626,8 +626,8 @@ bt_psplit(t, h, l, r, pskip, ilen)
|
|
PAGE *rval;
|
|
void *src = NULL;
|
|
indx_t full, half, nxt, off, skip, top, used;
|
|
- u_int32_t nbytes;
|
|
- int bigkeycnt, isbigkey;
|
|
+ u_int32_t nbytes = 0;
|
|
+ int bigkeycnt, isbigkey = 0;
|
|
|
|
/*
|
|
* Split the data to the left and right pages. Leave the skip index
|