diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch | 9 | ||||
-rw-r--r-- | meta/recipes-devtools/swig/swig/determinism.patch | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/swig/swig_4.2.1.bb (renamed from meta/recipes-devtools/swig/swig_4.2.0.bb) | 2 |
3 files changed, 8 insertions, 10 deletions
diff --git a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch b/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch index 9c6ae389be..5e83e92725 100644 --- a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch +++ b/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ab0ab5e685bd9077c44fdca5c1a27b0f477444d7 Mon Sep 17 00:00:00 2001 | 1 | From b88a98348b3841f0b702e314631883d46f9f362d Mon Sep 17 00:00:00 2001 |
2 | From: "NODA, Kai" <nodakai@gmail.com> | 2 | From: "NODA, Kai" <nodakai@gmail.com> |
3 | Date: Sun, 22 Apr 2012 17:01:02 +0900 | 3 | Date: Sun, 22 Apr 2012 17:01:02 +0900 |
4 | Subject: [PATCH] Use /proc/self/exe for "swig -swiglib" on non-Win32 | 4 | Subject: [PATCH] Use /proc/self/exe for "swig -swiglib" on non-Win32 |
@@ -8,13 +8,12 @@ If it wasn't found, then fall back to a fixed string just as before. | |||
8 | 8 | ||
9 | Upstream-Status: Submitted | 9 | Upstream-Status: Submitted |
10 | http://sourceforge.net/mailarchive/message.php?msg_id=29179733 | 10 | http://sourceforge.net/mailarchive/message.php?msg_id=29179733 |
11 | |||
12 | --- | 11 | --- |
13 | Source/Modules/main.cxx | 24 ++++++++++++++++++++++-- | 12 | Source/Modules/main.cxx | 24 ++++++++++++++++++++++-- |
14 | 1 file changed, 22 insertions(+), 2 deletions(-) | 13 | 1 file changed, 22 insertions(+), 2 deletions(-) |
15 | 14 | ||
16 | diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx | 15 | diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx |
17 | index 8a44921..8250dee 100644 | 16 | index 76b4f9d..de0a512 100644 |
18 | --- a/Source/Modules/main.cxx | 17 | --- a/Source/Modules/main.cxx |
19 | +++ b/Source/Modules/main.cxx | 18 | +++ b/Source/Modules/main.cxx |
20 | @@ -25,6 +25,11 @@ | 19 | @@ -25,6 +25,11 @@ |
@@ -29,7 +28,7 @@ index 8a44921..8250dee 100644 | |||
29 | 28 | ||
30 | // Global variables | 29 | // Global variables |
31 | 30 | ||
32 | @@ -886,9 +891,9 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) { | 31 | @@ -895,9 +900,9 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) { |
33 | 32 | ||
34 | // Check for SWIG_LIB environment variable | 33 | // Check for SWIG_LIB environment variable |
35 | if ((c = getenv("SWIG_LIB")) == (char *) 0) { | 34 | if ((c = getenv("SWIG_LIB")) == (char *) 0) { |
@@ -40,7 +39,7 @@ index 8a44921..8250dee 100644 | |||
40 | if (!(GetModuleFileName(0, buf, MAX_PATH) == 0 || (p = strrchr(buf, '\\')) == 0)) { | 39 | if (!(GetModuleFileName(0, buf, MAX_PATH) == 0 || (p = strrchr(buf, '\\')) == 0)) { |
41 | *(p + 1) = '\0'; | 40 | *(p + 1) = '\0'; |
42 | SwigLib = NewStringf("%sLib", buf); // Native windows installation path | 41 | SwigLib = NewStringf("%sLib", buf); // Native windows installation path |
43 | @@ -898,7 +903,22 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) { | 42 | @@ -907,7 +912,22 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) { |
44 | if (Len(SWIG_LIB_WIN_UNIX) > 0) | 43 | if (Len(SWIG_LIB_WIN_UNIX) > 0) |
45 | SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation path using a drive letter (for msys/mingw) | 44 | SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation path using a drive letter (for msys/mingw) |
46 | #else | 45 | #else |
diff --git a/meta/recipes-devtools/swig/swig/determinism.patch b/meta/recipes-devtools/swig/swig/determinism.patch index 417f0c4317..9c49414ad7 100644 --- a/meta/recipes-devtools/swig/swig/determinism.patch +++ b/meta/recipes-devtools/swig/swig/determinism.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 25bf9893ec1f557781eb241508ea1bec959061fe Mon Sep 17 00:00:00 2001 | 1 | From 28648b3873d83e26bd19b64ce2c0a41ced9292d3 Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Mon, 1 Mar 2021 00:11:10 +0000 | 3 | Date: Mon, 1 Mar 2021 00:11:10 +0000 |
4 | Subject: [PATCH] swig: Fix reproducibility issue | 4 | Subject: [PATCH] swig: Fix reproducibility issue |
@@ -8,16 +8,15 @@ breaks reproducibilty. | |||
8 | 8 | ||
9 | Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take] | 9 | Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take] |
10 | RP 2021/3/1 | 10 | RP 2021/3/1 |
11 | |||
12 | --- | 11 | --- |
13 | Source/Modules/main.cxx | 1 - | 12 | Source/Modules/main.cxx | 1 - |
14 | 1 file changed, 1 deletion(-) | 13 | 1 file changed, 1 deletion(-) |
15 | 14 | ||
16 | diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx | 15 | diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx |
17 | index 8250dee..415761d 100644 | 16 | index de0a512..ac9e825 100644 |
18 | --- a/Source/Modules/main.cxx | 17 | --- a/Source/Modules/main.cxx |
19 | +++ b/Source/Modules/main.cxx | 18 | +++ b/Source/Modules/main.cxx |
20 | @@ -629,7 +629,6 @@ static void getoptions(int argc, char *argv[]) { | 19 | @@ -638,7 +638,6 @@ static void getoptions(int argc, char *argv[]) { |
21 | } | 20 | } |
22 | } else if (strcmp(argv[i], "-version") == 0) { | 21 | } else if (strcmp(argv[i], "-version") == 0) { |
23 | fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); | 22 | fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); |
diff --git a/meta/recipes-devtools/swig/swig_4.2.0.bb b/meta/recipes-devtools/swig/swig_4.2.1.bb index 2ab4ed006c..4b438a7298 100644 --- a/meta/recipes-devtools/swig/swig_4.2.0.bb +++ b/meta/recipes-devtools/swig/swig_4.2.1.bb | |||
@@ -4,4 +4,4 @@ SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.pat | |||
4 | file://0001-configure-use-pkg-config-for-pcre-detection.patch \ | 4 | file://0001-configure-use-pkg-config-for-pcre-detection.patch \ |
5 | file://determinism.patch \ | 5 | file://determinism.patch \ |
6 | " | 6 | " |
7 | SRC_URI[sha256sum] = "261ca2d7589e260762817b912c075831572b72ff2717942f75b3e51244829c97" | 7 | SRC_URI[sha256sum] = "fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8" |