3
0
Fork 0
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:
edef 2017-09-29 00:05:44 +02:00
parent 169a344ab8
commit 7ea5672e85

View file

@ -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;