icewm: fix trailing -I compilation errors

Fixes

cc1plus: error: to generate dependencies you must specify either '-M' or
'-MM'

errors which occur while compiling due to trailing -I for libintl,
which appears to be found now but without requiring any include/link
flags.

+10
+10
pkgs/applications/window-managers/icewm/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , asciidoc 5 6 , cmake 6 7 , expat ··· 47 48 rev = version; 48 49 hash = "sha256-R06tiWS9z6K5Nbi+vvk7DyozpcFdrHleMeh7Iq/FfHQ="; 49 50 }; 51 + 52 + patches = [ 53 + # https://github.com/ice-wm/icewm/pull/57 54 + # Fix trailing -I that leads to "to generate dependencies you must specify either '-M' or '-MM'" 55 + (fetchpatch { 56 + url = "https://github.com/ice-wm/icewm/pull/57/commits/ebd2c45341cc31755758a423392a0f78a64d2d37.patch"; 57 + sha256 = "16m9znd3ijcfl7la3l27ac3clx8l9qng3fprkpxqcifd89ny1ml5"; 58 + }) 59 + ]; 50 60 51 61 nativeBuildInputs = [ 52 62 asciidoc