diff options
Diffstat (limited to 'meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch')
-rw-r--r-- | meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch b/meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch new file mode 100644 index 0000000000..b334d51a39 --- /dev/null +++ b/meta-networking/recipes-support/libtevent/libtevent/0003-wscript-skip-checking-PYTHONHASHSEED.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 406bb14337c71403c100ad8692e1fe99308030b7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Wed, 28 Dec 2022 16:31:05 +0800 | ||
4 | Subject: [PATCH] wscript: skip checking PYTHONHASHSEED | ||
5 | |||
6 | Skip checking PYTHONHASHSEED as it is set to 0 in oe-core by default. | ||
7 | |||
8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
9 | --- | ||
10 | buildtools/wafsamba/wscript | 4 ---- | ||
11 | 1 file changed, 4 deletions(-) | ||
12 | |||
13 | diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript | ||
14 | index 8729b08..a4d6f3e 100644 | ||
15 | --- a/buildtools/wafsamba/wscript | ||
16 | +++ b/buildtools/wafsamba/wscript | ||
17 | @@ -8,10 +8,6 @@ import wafsamba | ||
18 | from samba_utils import symlink | ||
19 | from optparse import SUPPRESS_HELP | ||
20 | |||
21 | -phs = os.environ.get("PYTHONHASHSEED", None) | ||
22 | -if phs != "1": | ||
23 | - raise Errors.WafError('''PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!''') | ||
24 | - | ||
25 | # this forces configure to be re-run if any of the configure | ||
26 | # sections of the build scripts change. We have to check | ||
27 | # for this in sys.argv as options have not yet been parsed when | ||
28 | -- | ||
29 | 2.25.1 | ||
30 | |||