mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch determinism.patch refreshed for 4.2.1 Changelog: ============ -Correctly ignore duplicate template instantiation (when the duplicate contains typedef'd template parameters). -Fix segfault shrinking STL containers. -Fix -Wundef warning about testing the value of __cplusplus when compiling SWIG-generated C code. Warning introduced by a change in SWIG 4.2.0. -Fix memory leak when getting or setting a PHP attribute which wraps a C++ member variable. -Fix for wrapping STL containers that are static member variables or global variables (most scripting languages). (From OE-Core rev: 2f4fb72a3318edcc463f9e9491c7ecc14347c655) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
970 B
Diff
27 lines
970 B
Diff
From 28648b3873d83e26bd19b64ce2c0a41ced9292d3 Mon Sep 17 00:00:00 2001
|
|
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Date: Mon, 1 Mar 2021 00:11:10 +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]
|
|
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 de0a512..ac9e825 100644
|
|
--- a/Source/Modules/main.cxx
|
|
+++ b/Source/Modules/main.cxx
|
|
@@ -638,7 +638,6 @@ static void getoptions(int argc, char *argv[]) {
|
|
}
|
|
} else if (strcmp(argv[i], "-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",
|
|
#ifdef HAVE_PCRE
|
|
'+'
|