diff options
Diffstat (limited to 'sys-apps/audio-entropyd/files/audio-entropyd-2.0.3-incompatible-pointers.patch')
-rw-r--r-- | sys-apps/audio-entropyd/files/audio-entropyd-2.0.3-incompatible-pointers.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/audio-entropyd/files/audio-entropyd-2.0.3-incompatible-pointers.patch b/sys-apps/audio-entropyd/files/audio-entropyd-2.0.3-incompatible-pointers.patch new file mode 100644 index 000000000000..c2e038c6c43a --- /dev/null +++ b/sys-apps/audio-entropyd/files/audio-entropyd-2.0.3-incompatible-pointers.patch @@ -0,0 +1,14 @@ +Fix incompatible pointer types by passing right buffer to +get_random_data() +https://bugs.gentoo.org/920156 +--- a/audio-entropyd.c ++++ b/audio-entropyd.c +@@ -211,7 +211,7 @@ + + void main_loop(const char *cdevice, int sample_rate) + { +- unsigned char *output_buffer = NULL; ++ char *output_buffer = NULL; + int n_output_bytes = -1; + int random_fd = -1, max_bits; + FILE *poolsize_fh; |