openwrt/package
Tony Ambardar 1cb489c784 kexec-tools: fix multiple compile errors
Add two patches to fix compile errors being repeatedly seen on OpenWrt CI.

The first is an upstream backport to fix this i386-related error:

  x86_64-openwrt-linux-musl-gcc  -mcmodel=large -I./purgatory/include
  -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude
  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/13.3.0/include
  -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S
  purgatory/arch/i386/entry32-16.S: Assembler messages:
  purgatory/arch/i386/entry32-16.S:23: Error: 64bit mode not supported on `i386'.

The second addresses an error using basename() on musl libc:

  kexec/arch/i386/x86-linux-setup.c: In function 'add_edd_entry':
  kexec/arch/i386/x86-linux-setup.c:332:20: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
    332 |         if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) {
        |                    ^~~~~~~~
  kexec/arch/i386/x86-linux-setup.c:332:20: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast [-Wint-conversion]
    332 |         if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) {
        |                    ^~~~~~~~~~~~~~~~~~~~
        |                    |
        |                    int
  ...

Fixes: #14621
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2024-06-08 14:08:38 +02:00
..
base-files Revert "base-files: Ignore exit code of uci.sh inclusion" 2024-06-08 12:57:18 +02:00
boot kexec-tools: fix multiple compile errors 2024-06-08 14:08:38 +02:00
devel ply: add dynamic tracing package using BPF 2024-05-31 11:51:45 +02:00
firmware linux-firmware: Update to version 20240513 2024-05-28 22:04:34 +02:00
kernel mac80211: backport an upstream patch needed by mt76 for AES_GMAC key support 2024-06-07 06:02:13 +02:00
libs mbedtls: fix build on GCC 14 2024-05-31 10:33:06 +02:00
network Revert "hostapd: add support for authenticating with multiple PSKs via ubus helper" 2024-06-06 21:34:20 +02:00
system apk: bump to 2024-05-23 2024-06-06 19:20:59 +02:00
utils mdadm: update to 4.3 2024-06-06 22:02:21 +02:00
Makefile build: generate private key for APK early 2024-05-22 19:28:20 +02:00