summaryrefslogtreecommitdiff
path: root/app-shells/bash/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-11 04:39:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-11 04:39:52 +0000
commit09829072bc77a99750fd01ac8b7e46c232b0f60e (patch)
tree6d78838312d0ab1623acc0bf60729efa77bfa4a4 /app-shells/bash/files
parent04b35f566703f8bb84d52e8d2ff2f0f54c21900b (diff)
gentoo auto-resync : 11:11:2023 - 04:39:52
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r--app-shells/bash/files/bash-5.2_p21-wpointer-to-int.patch13
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);
+ }