spring, warzone2100: work around build problems
I guess there was a slight API change in the last mesa update.
This commit is contained in:
parent
6734f37ec6
commit
4a2b6a63b6
@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
|
||||
# reported upstream http://springrts.com/mantis/view.php?id=4305
|
||||
#enableParallelBuilding = true; # occasionally missing generated files on Hydra
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fpermissive"; # GL header minor incompatibility
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/spring" \
|
||||
--prefix LD_LIBRARY_PATH : "${stdenv.gcc.gcc}/lib64:${stdenv.gcc.gcc}/lib::${systemd}/lib"
|
||||
|
@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
|
||||
--replace "which %s" "${which}/bin/which %s"
|
||||
'';
|
||||
configureFlags = "--with-backend=qt --with-distributor=NixOS";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fpermissive"; # GL header minor incompatibility
|
||||
|
||||
postInstall = []
|
||||
++ stdenv.lib.optional withVideos "cp ${sequences_src} $out/share/warzone2100/sequences.wz";
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user