diff options
Diffstat (limited to 'media-tv/kodi/files/kodi-21-fix-dvd-playing.patch')
-rw-r--r-- | media-tv/kodi/files/kodi-21-fix-dvd-playing.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch b/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch new file mode 100644 index 000000000000..febcdc2197e4 --- /dev/null +++ b/media-tv/kodi/files/kodi-21-fix-dvd-playing.patch @@ -0,0 +1,50 @@ +https://bugs.gentoo.org/933370 +https://github.com/xbmc/xbmc/issues/24955 +https://github.com/xbmc/xbmc/pull/24968 + +From e8493d3ac390bac4ca74fa5435bb258d6764dae5 Mon Sep 17 00:00:00 2001 +From: Jose Luis Marti <joseluis.marti@gmail.com> +Date: Tue, 9 Apr 2024 23:06:10 +0200 +Subject: [PATCH] [DllLoader] Remove fstatvfs64 wrapper + +Co-authored-by: fuzzard <fuzzard@users.noreply.github.com> +--- a/xbmc/cores/DllLoader/exports/wrapper.c ++++ b/xbmc/cores/DllLoader/exports/wrapper.c +@@ -36,7 +36,6 @@ typedef fpos_t fpos64_t; + #endif + + struct mntent; +-struct statvfs64; + + void* dllmalloc(size_t ); + void* dllcalloc( size_t , size_t ); +@@ -92,7 +91,6 @@ int dll_ftrylockfile(FILE *file); + void dll_funlockfile(FILE *file); + int dll_fstat64(int fd, struct stat64 *buf); + int dll_fstat(int fd, struct _stat *buf); +-int dll_fstatvfs64(int fildes, struct statvfs64 *buf); + FILE* dll_popen(const char *command, const char *mode); + void* dll_dlopen(const char *filename, int flag); + int dll_setvbuf(FILE *stream, char *buf, int type, size_t size); +@@ -445,11 +443,6 @@ int __wrap_fstat64(int fd, struct stat64* buf) + return dll_fstat64(fd, buf); + } + +-int __wrap_fstatvfs64(int fd, struct statvfs64* buf) +-{ +- return dll_fstatvfs64(fd, buf); +-} +- + int __wrap_setvbuf(FILE *stream, char *buf, int type, size_t size) + { + return dll_setvbuf(stream, buf, type, size); +--- a/xbmc/cores/DllLoader/exports/wrapper_mach_alias ++++ b/xbmc/cores/DllLoader/exports/wrapper_mach_alias +@@ -20,7 +20,6 @@ ___wrap_fread _fread + ___wrap_freopen _freopen + ___wrap_fseek _fseek + ___wrap_fsetpos _fsetpos +-___wrap_fstatvfs64 _fstatvfs64 + ___wrap_ftell _ftell + ___wrap_ftrylockfile _ftrylockfile + ___wrap_funlockfile _funlockfile |