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@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>
This commit is contained in:
John Audia 2025-12-25 08:31:13 -05:00 committed by Hauke Mehrtens
parent 7214acd759
commit 6c9c641777
2 changed files with 14 additions and 3 deletions

View 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

View File

@ -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");