summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/linux-ver.mk4
-rw-r--r--package/apcupsd/Makefile2
-rw-r--r--package/cfgfs/src/c_lzo1x1.c6
-rw-r--r--package/cfgfs/src/c_null.c6
-rw-r--r--package/cfgfs/src/c_zlib.c6
-rw-r--r--package/cfgfs/src/compress.h6
-rw-r--r--package/cfgfs/src/ft_pack.c1
-rw-r--r--package/json-c/patches/patch-arraylist_c17
-rw-r--r--package/json-c/patches/patch-json_object_c17
-rw-r--r--package/linux-atm/patches/patch-src_ilmid_io_c15
-rw-r--r--package/linux-atm/patches/patch-src_mpoad_io_c18
-rw-r--r--package/linux-atm/patches/patch-src_sigd_atmsigd_c11
-rw-r--r--package/ndisc6/patches/patch-src_traceroute_h6
-rw-r--r--target/linux/Config.in.kernelversion2
-rw-r--r--target/linux/patches/6.6.69/armnommu-fix-thread-registers.patch (renamed from target/linux/patches/6.6.56/armnommu-fix-thread-registers.patch)0
-rw-r--r--target/linux/patches/6.6.69/armnommu-versatile.patch (renamed from target/linux/patches/6.6.56/armnommu-versatile.patch)0
-rw-r--r--target/linux/patches/6.6.69/hppa-cross-compile.patch (renamed from target/linux/patches/6.6.56/hppa-cross-compile.patch)0
-rw-r--r--target/linux/patches/6.6.69/macsonic.patch (renamed from target/linux/patches/6.6.56/macsonic.patch)0
18 files changed, 54 insertions, 63 deletions
diff --git a/mk/linux-ver.mk b/mk/linux-ver.mk
index 47278ac78..8183aac37 100644
--- a/mk/linux-ver.mk
+++ b/mk/linux-ver.mk
@@ -22,10 +22,10 @@ KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
KERNEL_HASH:= 057263d0afc17d5253794afd3d239ba4da4aa734b22fa36c1665f41b95449b73
endif
ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_6_6),y)
-KERNEL_FILE_VER:= 6.6.56
+KERNEL_FILE_VER:= 6.6.69
KERNEL_RELEASE:= 1
KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:= f74812f78e88992c416434cb107639e13a551dbaff36bb90d6346ab16ab71a95
+KERNEL_HASH:= 9c6305567b75d99514cde6eb9de39973f3d5c857a75bd9dcdfca57041f8d4f34
endif
ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_6_1),y)
KERNEL_FILE_VER:= 6.1.107
diff --git a/package/apcupsd/Makefile b/package/apcupsd/Makefile
index c6d72cd94..52b6def9a 100644
--- a/package/apcupsd/Makefile
+++ b/package/apcupsd/Makefile
@@ -24,7 +24,7 @@ $(eval $(call PKG_template,APCUPSD,apcupsd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_D
CONFIGURE_ARGS+= --prefix="${WRKINST}" --sbindir="/usr/sbin" --enable-usb
CONFIGURE_ENV+= ac_cv_path_WALL=/usr/bin/wall
-XAKE_FLAGS:= VERBOSE=1 STRIP=""
+XAKE_FLAGS:= VERBOSE=1 STRIP="" LD="$(TARGET_CXX)"
# XXX: custom init script?
apcupsd-install:
diff --git a/package/cfgfs/src/c_lzo1x1.c b/package/cfgfs/src/c_lzo1x1.c
index 570f8673c..94cf8322b 100644
--- a/package/cfgfs/src/c_lzo1x1.c
+++ b/package/cfgfs/src/c_lzo1x1.c
@@ -51,10 +51,10 @@ __RCSID("$MirOS: contrib/hosted/fwcf/c_lzo1x1.c,v 1.5 2007/03/13 18:31:07 tg Exp
static void c_lzo1x1_load(void) __attribute__((constructor));
static int c_init(void);
static int c_compress(char **, char *, size_t)
- __attribute__((bounded (string, 2, 3)));
+ __attribute__((access (read_only, 2, 3)));
static int c_decompress(char *, size_t, char *, size_t)
- __attribute__((bounded (string, 1, 2)))
- __attribute__((bounded (string, 3, 4)));
+ __attribute__((access (read_write, 1, 2)))
+ __attribute__((access (read_only, 3, 4)));
static fwcf_compressor c_lzo1x1 = {
c_init, /* init */
diff --git a/package/cfgfs/src/c_null.c b/package/cfgfs/src/c_null.c
index 4806ae261..718550415 100644
--- a/package/cfgfs/src/c_null.c
+++ b/package/cfgfs/src/c_null.c
@@ -34,10 +34,10 @@ __RCSID("$MirOS: contrib/hosted/fwcf/c_null.c,v 1.5 2006/09/23 23:46:35 tg Exp $
static void c_null_load(void) __attribute__((constructor));
static int c_init(void);
static int c_compress(char **, char *, size_t)
- __attribute__((bounded (string, 2, 3)));
+ __attribute__((access (read_only, 2, 3)));
static int c_decompress(char *, size_t, char *, size_t)
- __attribute__((bounded (string, 1, 2)))
- __attribute__((bounded (string, 3, 4)));
+ __attribute__((access (read_write, 1, 2)))
+ __attribute__((access (read_only, 3, 4)));
static fwcf_compressor c_null = {
c_init, /* init */
diff --git a/package/cfgfs/src/c_zlib.c b/package/cfgfs/src/c_zlib.c
index 2285f2eeb..65245d507 100644
--- a/package/cfgfs/src/c_zlib.c
+++ b/package/cfgfs/src/c_zlib.c
@@ -34,10 +34,10 @@ __RCSID("$MirOS: contrib/hosted/fwcf/c_zlib.c,v 1.4 2006/09/23 23:46:35 tg Exp $
static void c_zlib_load(void) __attribute__((constructor));
static int c_init(void);
static int c_compress(char **, char *, size_t)
- __attribute__((bounded (string, 2, 3)));
+ __attribute__((access (read_only, 2, 3)));
static int c_decompress(char *, size_t, char *, size_t)
- __attribute__((bounded (string, 1, 2)))
- __attribute__((bounded (string, 3, 4)));
+ __attribute__((access (read_write, 1, 2)))
+ __attribute__((access (read_only, 3, 4)));
static fwcf_compressor c_zlib = {
c_init, /* init */
diff --git a/package/cfgfs/src/compress.h b/package/cfgfs/src/compress.h
index 413075d83..2237595c5 100644
--- a/package/cfgfs/src/compress.h
+++ b/package/cfgfs/src/compress.h
@@ -18,12 +18,12 @@ typedef int (*fwcf_compress_init_func)(void);
/* in: *dst (malloc'd), src, size of source (max. INT_MAX) */
/* returns size of destination on success, -1 on failure */
typedef int (*fwcf_compress_work_func)(char **, char *, size_t)
- __attribute__((bounded (string, 2, 3)));
+ __attribute__((access (read_only, 2, 3)));
/* in: dst, max size of dst, src, size of source (max. INT_MAX) */
/* returns size of destination on success, -1 on failure */
typedef int (*fwcf_compress_rev_func)(char *, size_t, char *, size_t)
- __attribute__((bounded (string, 1, 2)))
- __attribute__((bounded (string, 3, 4)));
+ __attribute__((access (read_write, 1, 2)))
+ __attribute__((access (read_only, 3, 4)));
typedef struct FWCF_COMPRESSOR {
fwcf_compress_init_func init;
diff --git a/package/cfgfs/src/ft_pack.c b/package/cfgfs/src/ft_pack.c
index 5d04f8b5c..53fd98713 100644
--- a/package/cfgfs/src/ft_pack.c
+++ b/package/cfgfs/src/ft_pack.c
@@ -21,6 +21,7 @@
* the possibility of such damage or existence of a defect.
*/
+#define _GNU_SOURCE
#include <sys/param.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/package/json-c/patches/patch-arraylist_c b/package/json-c/patches/patch-arraylist_c
new file mode 100644
index 000000000..6143e8fd8
--- /dev/null
+++ b/package/json-c/patches/patch-arraylist_c
@@ -0,0 +1,17 @@
+ Fix for gcc-14
+
+ Upstream did not just fix this, but delay (the implicit) memset() in
+ commit 4a546e7b2f471 ("In arraylist, use malloc instead of calloc,
+ avoid clearing with memeset until we really need to, and micro-optimize
+ array_list_add().") which is not suitable for a backport.
+--- json-c-0.13.orig/arraylist.c 2017-11-30 05:41:30.000000000 +0100
++++ json-c-0.13/arraylist.c 2025-01-08 02:21:28.914179381 +0100
+@@ -46,7 +46,7 @@ array_list_new(array_list_free_fn *free_
+ arr->size = ARRAY_LIST_DEFAULT_SIZE;
+ arr->length = 0;
+ arr->free_fn = free_fn;
+- if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) {
++ if(!(arr->array = (void**)calloc(arr->size, sizeof(void*)))) {
+ free(arr);
+ return NULL;
+ }
diff --git a/package/json-c/patches/patch-json_object_c b/package/json-c/patches/patch-json_object_c
new file mode 100644
index 000000000..09b93743e
--- /dev/null
+++ b/package/json-c/patches/patch-json_object_c
@@ -0,0 +1,17 @@
+ Fix for gcc-14
+
+ Upstream did not just fix this, but delay (the implicit) memset() in
+ commit 4a546e7b2f471 ("In arraylist, use malloc instead of calloc,
+ avoid clearing with memeset until we really need to, and micro-optimize
+ array_list_add().") which is not suitable for a backport.
+--- json-c-0.13.orig/json_object.c 2017-12-05 05:44:03.000000000 +0100
++++ json-c-0.13/json_object.c 2025-01-08 02:21:42.515180709 +0100
+@@ -218,7 +218,7 @@ static struct json_object* json_object_n
+ {
+ struct json_object *jso;
+
+- jso = (struct json_object*)calloc(sizeof(struct json_object), 1);
++ jso = (struct json_object*)calloc(1, sizeof(struct json_object));
+ if (!jso)
+ return NULL;
+ jso->o_type = o_type;
diff --git a/package/linux-atm/patches/patch-src_ilmid_io_c b/package/linux-atm/patches/patch-src_ilmid_io_c
deleted file mode 100644
index 9b88b0b49..000000000
--- a/package/linux-atm/patches/patch-src_ilmid_io_c
+++ /dev/null
@@ -1,15 +0,0 @@
---- linux-atm-2.5.1.orig/src/ilmid/io.c 2007-07-11 18:07:57.000000000 +0200
-+++ linux-atm-2.5.1/src/ilmid/io.c 2013-08-15 21:40:35.168523713 +0200
-@@ -48,6 +48,12 @@
- be manually configured (after ilmid has
- registered the "official" address) - HACK */
-
-+#ifndef SUN_LEN
-+# include <string.h> /* For prototype of `strlen'. */
-+ /* Evaluate to actual length of the `sockaddr_un' structure. */
-+# define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) + strlen ((ptr)->sun_path))
-+#endif
-+
- extern SysGroup *remsys;
- extern State ilmi_state;
- static short atm_itf = -1; /* bad value */
diff --git a/package/linux-atm/patches/patch-src_mpoad_io_c b/package/linux-atm/patches/patch-src_mpoad_io_c
deleted file mode 100644
index 14dd75d00..000000000
--- a/package/linux-atm/patches/patch-src_mpoad_io_c
+++ /dev/null
@@ -1,18 +0,0 @@
---- linux-atm-2.5.1.orig/src/mpoad/io.c 2007-12-11 18:46:12.000000000 +0100
-+++ linux-atm-2.5.1/src/mpoad/io.c 2013-08-17 14:41:53.542968628 +0200
-@@ -10,14 +10,7 @@
- #include <errno.h>
- #include <sys/ioctl.h>
- #include <sys/param.h> /* for OPEN_MAX */
--#if __GLIBC__ >= 2
--#include <sys/poll.h>
--#else /* ugly hack to make it compile on RH 4.2 - WA */
--#include <syscall.h>
--#include <linux/poll.h>
--#define SYS_poll 168
--_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout);
--#endif
-+#include <poll.h>
- #include <atm.h>
- #include <linux/types.h>
- #include <linux/atmioc.h>
diff --git a/package/linux-atm/patches/patch-src_sigd_atmsigd_c b/package/linux-atm/patches/patch-src_sigd_atmsigd_c
deleted file mode 100644
index 7eb31abf9..000000000
--- a/package/linux-atm/patches/patch-src_sigd_atmsigd_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-atm-2.5.1.orig/src/sigd/atmsigd.c 2004-09-25 13:25:48.000000000 +0200
-+++ linux-atm-2.5.1/src/sigd/atmsigd.c 2013-08-15 21:22:05.226477574 +0200
-@@ -517,7 +517,7 @@ int main(int argc,char **argv)
- exit(0);
- }
- }
-- (void) on_exit(trace_on_exit,NULL);
-+ (void) atexit(trace_on_exit);
- poll_loop();
- close_all();
- for (sig = entities; sig; sig = sig->next) stop_saal(&sig->saal);
diff --git a/package/ndisc6/patches/patch-src_traceroute_h b/package/ndisc6/patches/patch-src_traceroute_h
index d47efc0c3..1571df884 100644
--- a/package/ndisc6/patches/patch-src_traceroute_h
+++ b/package/ndisc6/patches/patch-src_traceroute_h
@@ -8,9 +8,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
-typedef ssize_t (*trace_parser_t) (const void *restrict data, size_t len,
- int *restrict ttl,
- unsigned *restrict n, uint16_t port);
-+typedef ssize_t (*trace_parser_t) (const data, size_t len,
-+ int ttl,
-+ unsigned n, uint16_t port);
++typedef ssize_t (*trace_parser_t) (const void *data, size_t len,
++ int *ttl,
++ unsigned *n, uint16_t port);
typedef struct tracetype
{
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index 0754084ec..816f575d8 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -51,7 +51,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_6_11
depends on !ADK_TARGET_ARCH_NDS32
config ADK_TARGET_LINUX_KERNEL_VERSION_6_6
- bool "6.6.56"
+ bool "6.6.69"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_C6X
diff --git a/target/linux/patches/6.6.56/armnommu-fix-thread-registers.patch b/target/linux/patches/6.6.69/armnommu-fix-thread-registers.patch
index 8ab2196dc..8ab2196dc 100644
--- a/target/linux/patches/6.6.56/armnommu-fix-thread-registers.patch
+++ b/target/linux/patches/6.6.69/armnommu-fix-thread-registers.patch
diff --git a/target/linux/patches/6.6.56/armnommu-versatile.patch b/target/linux/patches/6.6.69/armnommu-versatile.patch
index f8f10f50b..f8f10f50b 100644
--- a/target/linux/patches/6.6.56/armnommu-versatile.patch
+++ b/target/linux/patches/6.6.69/armnommu-versatile.patch
diff --git a/target/linux/patches/6.6.56/hppa-cross-compile.patch b/target/linux/patches/6.6.69/hppa-cross-compile.patch
index 51c24fff2..51c24fff2 100644
--- a/target/linux/patches/6.6.56/hppa-cross-compile.patch
+++ b/target/linux/patches/6.6.69/hppa-cross-compile.patch
diff --git a/target/linux/patches/6.6.56/macsonic.patch b/target/linux/patches/6.6.69/macsonic.patch
index 51e76113b..51e76113b 100644
--- a/target/linux/patches/6.6.56/macsonic.patch
+++ b/target/linux/patches/6.6.69/macsonic.patch