spaceFM: fix `gcc-14` build (#373304)

authored by philiptaron.tngl.sh and committed by GitHub 543e67e4 411c871d

+9
+9
pkgs/by-name/sp/spaceFM/package.nix
··· 1 { 2 pkgs, 3 fetchFromGitHub, 4 lib, 5 stdenv, 6 gtk3, ··· 35 36 # restrict GDK backends to only X11 37 ./x11-only.patch 38 ]; 39 40 # Workaround build failure on -fno-common toolchains:
··· 1 { 2 pkgs, 3 fetchFromGitHub, 4 + fetchpatch, 5 lib, 6 stdenv, 7 gtk3, ··· 36 37 # restrict GDK backends to only X11 38 ./x11-only.patch 39 + 40 + # gcc-14 build fix from: 41 + # https://github.com/IgnorantGuru/spacefm/pull/816 42 + (fetchpatch { 43 + name = "gcc-14.patch"; 44 + url = "https://github.com/IgnorantGuru/spacefm/commit/98efb1f43e6339b3ceddb9f65ee85e26790fefdf.patch"; 45 + hash = "sha256-dau1AMnSBsp8iDrjoo0WTnFQ13vNZW2kM4qz0B/beDI="; 46 + }) 47 ]; 48 49 # Workaround build failure on -fno-common toolchains: