diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-24 17:39:03 +0300 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-05-31 17:19:38 +0100 |
commit | 937267cc25f0c65aad8aa5c7d9ebcf9fdd90a5cf (patch) | |
tree | 594f421ab0185a71c08525274e8e8843ad096501 /games-rpg/kqlives/files/kqlives-0.99_dumb2.patch | |
parent | media-libs/alure: Fix building with newer media-libs/dumb versions (diff) | |
download | gentoo-937267cc25f0c65aad8aa5c7d9ebcf9fdd90a5cf.tar.gz gentoo-937267cc25f0c65aad8aa5c7d9ebcf9fdd90a5cf.tar.bz2 gentoo-937267cc25f0c65aad8aa5c7d9ebcf9fdd90a5cf.zip |
games-rpg/kqlives: fixes to package
* Added >=media-libs/dumb-2.0.3 support
* Fixed installation step (#661422)
* Fixed file collision with dev-lang/qu-prolog (#597790): now package
installs ${PN} files instead kq
* Fixed GCC 10 compilation error (#709314)
Closes: https://bugs.gentoo.org/597790
Closes: https://bugs.gentoo.org/661422
Closes: https://bugs.gentoo.org/709314
Closes: https://github.com/gentoo/gentoo/pull/14760
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-rpg/kqlives/files/kqlives-0.99_dumb2.patch')
-rw-r--r-- | games-rpg/kqlives/files/kqlives-0.99_dumb2.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games-rpg/kqlives/files/kqlives-0.99_dumb2.patch b/games-rpg/kqlives/files/kqlives-0.99_dumb2.patch new file mode 100644 index 000000000000..943145b44763 --- /dev/null +++ b/games-rpg/kqlives/files/kqlives-0.99_dumb2.patch @@ -0,0 +1,13 @@ +diff --git a/src/music.c b/src/music.c +index 94c2786..1912d4d 100644 +--- a/src/music.c ++++ b/src/music.c +@@ -125,7 +125,7 @@ void play_music (const char *music_name, long position) + stop_music (); + strcpy (filename, kqres (MUSIC_DIR, music_name)); + if (strstr (filename, ".mod")) +- mod_song[current_music_player] = dumb_load_mod (filename); ++ mod_song[current_music_player] = dumb_load_mod (filename, 0); + + else if (strstr (filename, ".xm")) + mod_song[current_music_player] = dumb_load_xm (filename); |