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 { lib 2 , stdenv 3 , fetchFromGitHub 4 , asciidoc 5 , cmake 6 , expat ··· 47 rev = version; 48 hash = "sha256-R06tiWS9z6K5Nbi+vvk7DyozpcFdrHleMeh7Iq/FfHQ="; 49 }; 50 51 nativeBuildInputs = [ 52 asciidoc
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , asciidoc 6 , cmake 7 , expat ··· 48 rev = version; 49 hash = "sha256-R06tiWS9z6K5Nbi+vvk7DyozpcFdrHleMeh7Iq/FfHQ="; 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 + ]; 60 61 nativeBuildInputs = [ 62 asciidoc