Revert "libfishsound: fix build with gcc14"

This reverts commit fdd1a8c1e02a2e9784ff73979c9e881e784578d9.

reverting in to apply a more comprehensive fix

-24
-20
pkgs/by-name/li/libfishsound/fix-callbacks.patch
··· 1 - --- a/src/libfishsound/flac.c 2 - +++ b/src/libfishsound/flac.c 3 - @@ -106,7 +106,7 @@ fs_flac_command (FishSound * fsound, int command, void * data, int datasize) 4 - #if FS_DECODE 5 - static FLAC__StreamDecoderReadStatus 6 - fs_flac_read_callback(const FLAC__StreamDecoder *decoder, 7 - - FLAC__byte buffer[], unsigned int *bytes, 8 - + FLAC__byte buffer[], size_t *bytes, 9 - void *client_data) 10 - { 11 - FishSound* fsound = (FishSound*)client_data; 12 - @@ -346,7 +346,7 @@ dec_err: 13 - #if FS_ENCODE 14 - static FLAC__StreamEncoderWriteStatus 15 - fs_flac_enc_write_callback(const FLAC__StreamEncoder *encoder, 16 - - const FLAC__byte buffer[], unsigned bytes, 17 - + const FLAC__byte buffer[], size_t bytes, 18 - unsigned samples, unsigned current_frame, 19 - void *client_data) 20 - {
···
-4
pkgs/by-name/li/libfishsound/package.nix
··· 17 sha256 = "1iz7mn6hw2wg8ljaw74f4g2zdj68ib88x4vjxxg3gjgc5z75f2rf"; 18 }; 19 20 - patches = [ 21 - ./fix-callbacks.patch 22 - ]; 23 - 24 propagatedBuildInputs = [ 25 libvorbis 26 speex
··· 17 sha256 = "1iz7mn6hw2wg8ljaw74f4g2zdj68ib88x4vjxxg3gjgc5z75f2rf"; 18 }; 19 20 propagatedBuildInputs = [ 21 libvorbis 22 speex