mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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.
This commit is contained in:
parent
4cc9b84118
commit
010096974f
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, asciidoc
|
||||
, cmake
|
||||
, expat
|
||||
|
@ -48,6 +49,15 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-R06tiWS9z6K5Nbi+vvk7DyozpcFdrHleMeh7Iq/FfHQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/ice-wm/icewm/pull/57
|
||||
# Fix trailing -I that leads to "to generate dependencies you must specify either '-M' or '-MM'"
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ice-wm/icewm/pull/57/commits/ebd2c45341cc31755758a423392a0f78a64d2d37.patch";
|
||||
sha256 = "16m9znd3ijcfl7la3l27ac3clx8l9qng3fprkpxqcifd89ny1ml5";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
asciidoc
|
||||
cmake
|
||||
|
|
Loading…
Reference in a new issue