@@ -1,26 +1,26 @@
-From 7df78bedb666e49131c48f1854c6be1597bd133c Mon Sep 17 00:00:00 2001
+From 218e2a20ff978cb28fefdf7b35af8a27768df4db Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
-Date: Mon, 1 Mar 2021 00:11:10 +0000
+Date: Mon, 10 Aug 2026 11:13:20 +0000
Subject: [PATCH] swig: Fix reproducibility issue
Remove the compiler commandline/platform from the compiled binary as this
breaks reproducibilty.
-Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take]
+Upstream-Status: Inappropriate [OE reproducibility fix upstream unlikely to take]
RP 2021/3/1
---
Source/Modules/main.cxx | 1 -
1 file changed, 1 deletion(-)
diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
-index f68b609..0c2aba3 100644
+index 83ab22a..79a513a 100644
--- a/Source/Modules/main.cxx
+++ b/Source/Modules/main.cxx
-@@ -633,7 +633,6 @@ static void getoptions(int argc, char *argv[]) {
- }
+@@ -642,7 +642,6 @@ static void getoptions(int argc, char *argv[]) {
+ }
} else if (strcmp(argv[i], "-version") == 0 || strcmp(argv[1], "--version") == 0) {
- fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version());
-- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM);
- fprintf(stdout, "\nConfigured options: %cpcre\n",
+ fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version());
+- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM);
+ fprintf(stdout,
+ "\nConfigured options: %cpcre\n",
#ifdef HAVE_PCRE
- '+'
similarity index 92%
rename from meta/recipes-devtools/swig/swig_4.4.1.bb
rename to meta/recipes-devtools/swig/swig_4.5.0.bb
@@ -13,9 +13,9 @@ SECTION = "devel"
DEPENDS = "libpcre2 bison-native"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
- file://determinism.patch \
+ file://determinism.patch \
"
-SRC_URI[sha256sum] = "40162a706c56f7592d08fd52ef5511cb7ac191f3593cf07306a0a554c6281fcf"
+SRC_URI[sha256sum] = "22ae0e887f8cca8031a325c67d005207653200b40e71edb3f88780e28e47d0ff"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/"
UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)"
ChangeLog: https://www.swig.org/Release/CHANGES.current Release Notes: https://www.swig.org/Release/RELEASENOTES CompareLog: https://github.com/swig/swig/compare/v4.4.1...v4.5.0 - Refresh determinism.patch Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- .../swig/swig/determinism.patch | 20 +++++++++---------- .../swig/{swig_4.4.1.bb => swig_4.5.0.bb} | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) rename meta/recipes-devtools/swig/{swig_4.4.1.bb => swig_4.5.0.bb} (92%)