openwrt/package
Stefan Kalscheuer 822bceb1d1
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
mwlwifi: add pending patch to fix compilation with kernel 6.12
Building against recent kernel versions (noticed with 6.12) and -Werror
can fail because a macro MAX(a,b) is already defined in minmax.h or
kernel.h before 5.10.

In file included from ../mwlwifi-2025.02.06~db97edf2/hif/fwcmd.h:23,
                 from ../mwlwifi-2025.02.06~db97edf2/core.c:25:
../mwlwifi-2025.02.06~db97edf2/hif/hostcmd.h:1124:9: error: "MAX" redefined [-Werror]
 1124 | #define MAX(a, b) (((a) > (b)) ? (a) : (b))
      |         ^~~
In file included from usr/include/mac80211-backport/linux/minmax.h:4,
                 from ./include/linux/kernel.h:28,
                 from usr/include/mac80211-backport/linux/kernel.h:3,
                 from ./include/linux/skbuff.h:13,
                 from usr/include/mac80211-backport/linux/skbuff.h:3,
                 from ./include/linux/if_ether.h:19,
                 from usr/include/mac80211-backport/linux/if_ether.h:3,
                 from ./include/linux/etherdevice.h:20,
                 from usr/include/mac80211-backport/linux/etherdevice.h:3,
                 from ../mwlwifi-2025.02.06~db97edf2/core.c:18:
./include/linux/minmax.h:330:9: note: this is the location of the previous definition
  330 | #define MAX(a,b) __cmp(max,a,b)
      |         ^~~

Add a pending upstream patch which replaces the MAX(a,b) macro to avoid
conflicts and allow compilation with 6.12

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Link: https://github.com/openwrt/openwrt/pull/18980
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-03 20:40:54 +02:00
..
base-files sysupgrade: create 10_disable_services w/ fixed modified time 2025-05-31 11:18:50 -06:00
boot uboot-mediatek: bump to v2025.04 2025-05-31 21:16:41 +02:00
devel kselftests-bpf: add support for kernel 6.12 2025-05-29 22:46:46 +02:00
firmware ipq-wifi: Add entry for TP-Link Archer C6 v2 2025-05-30 21:35:11 +02:00
kernel mwlwifi: add pending patch to fix compilation with kernel 6.12 2025-06-03 20:40:54 +02:00
libs toolchain: gcc: drop GCC11 2025-05-26 19:20:56 +02:00
network odhcp6c: Conditionally request S46 OROs 2025-06-03 17:30:57 +01:00
system procd: update to Git HEAD (2025-05-31) 2025-05-31 16:21:49 +02:00
utils cli: return the correct data type for enum attributes 2025-05-31 16:23:47 +02:00
Makefile build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00