[openwrt/openwrt] nat46: fix reproducible-build failure and use latest git
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 4 08:15:50 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/6c9c641777a47fe565e43b19b7134ded66e11de4
commit 6c9c641777a47fe565e43b19b7134ded66e11de4
Author: John Audia <therealgraysky at proton.me>
AuthorDate: Thu Dec 25 08:31:13 2025 -0500
nat46: fix reproducible-build failure and use latest git
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 at proton.me>
Link: https://github.com/openwrt/openwrt/pull/21284
[Removed "Replace printk with pr_* macros" patch]
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/nat46/Makefile | 6 +++---
package/kernel/nat46/patches/100-gcc15-fix.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/package/kernel/nat46/Makefile b/package/kernel/nat46/Makefile
index f793997508..4dc95ebffc 100644
--- a/package/kernel/nat46/Makefile
+++ b/package/kernel/nat46/Makefile
@@ -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 at 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
index 0000000000..cf3a65569f
--- /dev/null
+++ b/package/kernel/nat46/patches/100-gcc15-fix.patch
@@ -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");
More information about the lede-commits
mailing list