# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/supertux/hotfix-music-manager.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- supertux-0.1.3-orig/src/music_manager.cpp 2026-03-01 17:16:33.427151580 +0100 +++ supertux-0.1.3/src/music_manager.cpp 2026-03-01 17:23:05.489990965 +0100 @@ -66,7 +66,7 @@ // insert into music list std::pair::iterator, bool> result = musics.insert( - std::make_pair (file, MusicResource())); + std::make_pair (std::string(file), MusicResource())); MusicResource& resource = result.first->second; resource.manager = this; resource.music = song;