forked from mirrors/nixpkgs
wmsm.app: compile in gnu89 mode
it expects `inline` to expose a symbol, which hasn't been the case since C99, breaking linking.
This commit is contained in:
parent
169a344ab8
commit
7ea5672e85
|
@ -11,6 +11,8 @@ stdenv.mkDerivation {
|
|||
|
||||
postUnpack = "sourceRoot=\${sourceRoot}/wmsm";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace Makefile --replace "PREFIX = /usr/X11R6/bin" "" --replace "/usr/bin/install" "install"
|
||||
mkdir -pv $out/bin;
|
||||
|
|
Loading…
Reference in a new issue