about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-07-07 14:22:52 +0400
committerGitHub <noreply@github.com>2016-07-07 14:22:52 +0400
commit369f255e956b703ab5fb596df0917f8f280b30f6 (patch)
tree83011a23da892700c76de066365296780a6dff74 /pkgs/games
parentc44098feace2366f38188faeb9f4cc5f068628ab (diff)
parent97dd3b3e6294e38a8a5b52c647e1d4d5b68ae9c1 (diff)
downloadnixlib-369f255e956b703ab5fb596df0917f8f280b30f6.tar
nixlib-369f255e956b703ab5fb596df0917f8f280b30f6.tar.gz
nixlib-369f255e956b703ab5fb596df0917f8f280b30f6.tar.bz2
nixlib-369f255e956b703ab5fb596df0917f8f280b30f6.tar.lz
nixlib-369f255e956b703ab5fb596df0917f8f280b30f6.tar.xz
nixlib-369f255e956b703ab5fb596df0917f8f280b30f6.tar.zst
nixlib-369f255e956b703ab5fb596df0917f8f280b30f6.zip
Merge pull request #16739 from vrthra/15994
zandronum: fix build
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/zandronum/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/zandronum/default.nix b/pkgs/games/zandronum/default.nix
index 27ba69ad82b0..73ce80c5f39a 100644
--- a/pkgs/games/zandronum/default.nix
+++ b/pkgs/games/zandronum/default.nix
@@ -24,6 +24,8 @@ in stdenv.mkDerivation {
 
   preConfigure = ''
     ln -s ${sqlite-amalgamation}/* sqlite/
+    sed -ie 's| restrict| _restrict|g' dumb/include/dumb.h \
+                                       dumb/src/it/*.c
   '';
 
   cmakeFlags =