Skip to content

community/libretro-mupen64plus: upgrade to 0_git20241029, fix build with gcc 14

mio requested to merge mio/aports:libretro-mupen64plus into master

https://github.com/libretro/mupen64plus-libretro-nx/compare/5a63aad..4249e39

Fix build errors with gcc 14. Found on the 3.21 x86_64 builder (error log).

mupen64plus-core/subprojects/minizip/zip.c: In function 'zipOpenNewFileInZip4_64':
mupen64plus-core/subprojects/minizip/zip.c:1249:28: error: assignment to 'const long unsigned int *' from incompatible pointer type 'const z_crc_t *' {aka 'const unsigned int *'} [-Wincompatible-pointer-types]
 1249 |         zi->ci.pcrc_32_tab = get_crc_table();
      |                            ^
custom/dependencies/libzlib/gzlib.c: In function 'gz_open':
custom/dependencies/libzlib/gzlib.c:14:17: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
   14 | #  define LSEEK lseek
      |                 ^~~~~
custom/dependencies/libzlib/gzlib.c:256:24: note: in expansion of macro 'LSEEK'
  256 |         state->start = LSEEK(state->fd, 0, SEEK_CUR);
      |                        ^~~~~

Merge request reports

Loading