diff options
| author | Sam James <sam@gentoo.org> | 2024-12-07 12:43:54 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-12-07 12:46:50 +0000 |
| commit | 4a887696652aa1679fc688141dd8b5f167bb2356 (patch) | |
| tree | b3f0b9aa8c0982a0a8c6f8f614c2494a8188b79d /app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch | |
| parent | 85778cdb48135e87d9d10cb596193886021bb628 (diff) | |
| download | gentoo-4a887696652aa1679fc688141dd8b5f167bb2356.tar.gz gentoo-4a887696652aa1679fc688141dd8b5f167bb2356.tar.bz2 gentoo-4a887696652aa1679fc688141dd8b5f167bb2356.zip | |
Revert "app-shells/bash: remove unused patches"
This reverts commit 92328f4b82f4d1c6c48a6507ee5a81e13cbb660f.
A user reported in #gentoo:
```
[ ok ]
* Applying bash-5.2_p21-wpointer-to-int.patch ...
/var/tmp/portage/app-shells/bash-5.2_p37/temp/environment: line 702: /var/tmp/portage/app-shells/bash-5.2_p37/files/bash-5.2_p21-wpointer-to-int.patch: No such file or directory
/var/tmp/portage/app-shells/bash-5.2_p37/temp/environment: line 705: /var/tmp/portage/app-shells/bash-5.2_p37/files/bash-5.2_p21-wpointer-to-int.patch: No such file or directory
[ !! ]
* ERROR: app-shells/bash-5.2_p37::gentoo failed (prepare phase):
* patch -p1 -p0 failed with /var/tmp/portage/app-shells/bash-5.2_p37/files/bash-5.2_p21-wpointer-to-int.patch
*
```
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch')
| -rw-r--r-- | app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch b/app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch new file mode 100644 index 000000000000..3d4abbc47f43 --- /dev/null +++ b/app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch @@ -0,0 +1,13 @@ +https://lists.gnu.org/archive/html/bug-bash/2023-03/msg00116.html +https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=57d4dc15ff35895a1c1248f948f59739ffb99fde +--- lib/sh/random.c ++++ lib/sh/random.c +@@ -90,7 +90,7 @@ genseed () + u_bits32_t iv; + + gettimeofday (&tv, NULL); +- iv = (u_bits32_t)seedrand; /* let the compiler truncate */ ++ iv = (uintptr_t)seedrand; /* let the compiler truncate */ + iv = tv.tv_sec ^ tv.tv_usec ^ getpid () ^ getppid () ^ current_user.uid ^ iv; + return (iv); + } |
