gzdoom: 4.10.0 -> 4.11.0

Among other things fixes build failure against gcc-13:

    $ nix build --impure --expr 'with import ./. {}; gzdoom.override { stdenv = gcc13Stdenv; }' -L
    gzdoom> /build/source/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h: In function 'void VmaUint32ToStr(char*, size_t, uint32_t)':
    gzdoom> /build/source/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h:2410:9: error: 'snprintf' was not declared in this scope
    gzdoom>  2410 |         snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num));
    gzdoom>       |         ^~~~~~~~
    gzdoom> /build/source/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h:2262:1: note: 'snprintf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?

Changes: https://github.com/ZDoom/gzdoom/releases/tag/g4.11.0
This commit is contained in:
Sergei Trofimovich 2023-10-06 11:15:58 +01:00
parent b3e14b9045
commit c65ad2c49f

View File

@ -14,6 +14,7 @@
, libjpeg
, libsndfile
, libvpx
, libwebp
, mpg123
, ninja
, openal
@ -25,14 +26,14 @@
stdenv.mkDerivation rec {
pname = "gzdoom";
version = "4.10.0";
version = "4.11.0";
src = fetchFromGitHub {
owner = "ZDoom";
repo = "gzdoom";
rev = "g${version}";
fetchSubmodules = true;
hash = "sha256-F3p2X/hjPV9fuaA7T2bQTP6SlKcfc8GniJgv8BcopGw=";
hash = "sha256-F3FXV76jpwkOE6QoNi1+TjLOt9x7q3pcZq3hQmRfL5E=";
};
outputs = [ "out" "doc" ];
@ -55,6 +56,7 @@ stdenv.mkDerivation rec {
libjpeg
libsndfile
libvpx
libwebp
mpg123
openal
vulkan-loader