]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
nat46: fix reproducible-build failure and use latest git 21284/head
authorJohn Audia <therealgraysky@proton.me>
Thu, 25 Dec 2025 13:31:13 +0000 (08:31 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 4 Jan 2026 16:13:11 +0000 (17:13 +0100)
Bump to 2025-11-04 snapshot.

Added 100-gcc15-fix.patch which drops __DATE__/__TIME__ usage and provides
a stable fallback ("unknown"). This fixes build failures with GCC 15 and
-Werror=date-time in kernel builds.

% git log --oneline 04923c5..adb2f72
adb2f72e6fb8 get rid of spurious ubsan complaint for nat46_instance_t pairs field
d5f88686a4a8 Add a test harness which boots the kernel under kvm with a custom init which runs the tests
b983bab221f0 nat46-core: Fix FIXMEs about ICMPv6 parameter pointers
1aca482d6917 Add support for ignoring traffic class or TOS translation at the same time

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/21284
[Removed "Replace printk with pr_* macros" patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/nat46/Makefile
package/kernel/nat46/patches/100-gcc15-fix.patch [new file with mode: 0644]

index f79399750870a5807a525f8c5430bf1df9ac242a..4dc95ebffc1cbfb1868561faafa6090622face6e 100644 (file)
@@ -3,11 +3,11 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=nat46
 
-PKG_MIRROR_HASH:=35d7987eed7f05e5f7d1d2e111a8c9f5d019ccf11eb839dfe0bd2e2c46b6199a
+PKG_MIRROR_HASH:=5d5c14bbb700490a9357c2c8baffd52615f3b572f82eb2fcbfc530bd23f2cdc3
 PKG_SOURCE_URL:=https://github.com/ayourtch/nat46.git
-PKG_SOURCE_DATE:=2025-04-23
+PKG_SOURCE_DATE:=2025-11-04
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=04923c51039e8ca270c6f1dde3f04f3b36958089
+PKG_SOURCE_VERSION:=adb2f72e6fb81ee11b54513d384b68e3c3d93464
 
 PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
 PKG_LICENSE:=GPL-2.0
diff --git a/package/kernel/nat46/patches/100-gcc15-fix.patch b/package/kernel/nat46/patches/100-gcc15-fix.patch
new file mode 100644 (file)
index 0000000..cf3a655
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/nat46/modules/nat46-module.c
++++ b/nat46/modules/nat46-module.c
+@@ -51,7 +51,7 @@
+ #define NAT46_CONTROL_PROC_NAME "control"
+ #ifndef NAT46_VERSION
+-#define NAT46_VERSION __DATE__ " " __TIME__
++#define NAT46_VERSION "unknown"
+ #endif
+ MODULE_LICENSE("GPL");