libburn: backport upstream C23 fix (#377145)

authored by Ramses and committed by GitHub 313db6ce 3bc43c2e

+10
+10
pkgs/by-name/li/libburn/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitea, 5 + fetchpatch, 5 6 autoreconfHook, 6 7 pkg-config, 7 8 }: ··· 17 18 rev = "release-${finalAttrs.version}"; 18 19 hash = "sha256-Xo45X4374FXvlrJ4Q0PahYvuWXO0k3N0ke0mbURYt54="; 19 20 }; 21 + 22 + patches = [ 23 + # Fix the build against C23 compilers (like gcc-15): 24 + (fetchpatch { 25 + name = "c23.patch"; 26 + url = "https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3.patch"; 27 + hash = "sha256-aouU/6AchLhzMzvkVvUnFHWfebYTrkEJ6P3fF5pvE9M="; 28 + }) 29 + ]; 20 30 21 31 nativeBuildInputs = [ 22 32 autoreconfHook