Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #310114 from annaleeleaves/colobot

colobot: apply upstream patch with gcc13 fixes

authored by Weijia Wang and committed by GitHub 731666d8 dfd8445b

+13
+13
pkgs/games/colobot/default.nix
··· 18 sha256 = "sha256-Nu7NyicNIk5yza9sXfd4KbGdB65guVuGREd6rwRU3lU="; 19 }; 20 21 nativeBuildInputs = [ cmake xmlstarlet doxygen python3 ]; 22 buildInputs = [ boost SDL2 SDL2_image SDL2_ttf libpng glew gettext libsndfile libvorbis libogg physfs openal ]; 23
··· 18 sha256 = "sha256-Nu7NyicNIk5yza9sXfd4KbGdB65guVuGREd6rwRU3lU="; 19 }; 20 21 + patches = [ 22 + # https://github.com/colobot/colobot/pull/1559 23 + # gcc13 fixes. remove on next update 24 + (fetchpatch { 25 + name = "gcc13-fixes.patch"; 26 + url = "https://github.com/colobot/colobot/commit/d47e26586325ec11425cef5c95fc206dc103dbe2.patch"; 27 + hash = "sha256-2DmLkyoyiZSW0yeZDSSWFjCEJos25jPHZQi1yuJGFko="; 28 + excludes = [ 29 + "src/object/task/taskgoto.h" 30 + ]; 31 + }) 32 + ]; 33 + 34 nativeBuildInputs = [ cmake xmlstarlet doxygen python3 ]; 35 buildInputs = [ boost SDL2 SDL2_image SDL2_ttf libpng glew gettext libsndfile libvorbis libogg physfs openal ]; 36