diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-09 09:25:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-09 09:25:48 +0000 |
commit | fc2c8b325a27d1dd0e181a50517601b4fde8aa7f (patch) | |
tree | ef1849fa20636bdbda9fa704f3bfba6ee73bd418 /games-kids/lletters/files/lletters-0.1.95-clang16.patch | |
parent | 7db983f17e59dfa621d994bcbdbddc71a6e70a57 (diff) |
gentoo auto-resync : 09:11:2022 - 09:25:48
Diffstat (limited to 'games-kids/lletters/files/lletters-0.1.95-clang16.patch')
-rw-r--r-- | games-kids/lletters/files/lletters-0.1.95-clang16.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games-kids/lletters/files/lletters-0.1.95-clang16.patch b/games-kids/lletters/files/lletters-0.1.95-clang16.patch new file mode 100644 index 000000000000..8fb6591dd136 --- /dev/null +++ b/games-kids/lletters/files/lletters-0.1.95-clang16.patch @@ -0,0 +1,56 @@ +https://bugs.gentoo.org/874693 +--- a/libqdwav/wav_lib.h ++++ b/libqdwav/wav_lib.h +@@ -44,2 +44,3 @@ + int init_wav (char file_name[], wav_sig *info); ++int init_wav_read (char file_name[], wav_sig *info); + void get_wav_nextblock (int handle, char *buffer); +--- a/libqdwav/wav_read.c ++++ b/libqdwav/wav_read.c +@@ -6,2 +6,3 @@ + #include <sys/stat.h> ++#include <unistd.h> + #include "wav_lib.h" +--- a/libqdwav/wav_write.c ++++ b/libqdwav/wav_write.c +@@ -5,2 +5,3 @@ + #include <sys/soundcard.h> ++#include <unistd.h> + #include "wav_lib.h" +--- a/list.c ++++ b/list.c +@@ -1,2 +1,3 @@ + #include <string.h> /* for strs */ ++#include <dirent.h> + #include "lletters.h" +@@ -4,6 +5,5 @@ + /* prototype std lib functions */ +-extern int alphasort (); + + /* local prototypes */ +-int file_select (struct direct *entry); ++int file_select (const struct dirent *entry); + +@@ -13,3 +13,3 @@ + int count, i; +- struct direct **files; ++ struct dirent **files; + +@@ -46,3 +46,3 @@ + int +-file_select (struct direct *entry) ++file_select (const struct dirent *entry) + { /* ignore . and .. entries */ +--- a/timer.c ++++ b/timer.c +@@ -1,2 +1,3 @@ + #include <stdio.h> ++#include <sys/ioctl.h> + #include "wav_lib.h" +--- a/wav_play.c ++++ b/wav_play.c +@@ -3,2 +3,4 @@ + #include <stdlib.h> ++#include <sys/ioctl.h> ++#include <unistd.h> + #ifdef GSM |