summary refs log tree commit diff
path: root/pkgs/games/tome4
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-09-13 21:10:11 -0400
committerAaron Andersen <aaron@fosslib.net>2019-09-13 21:10:11 -0400
commit792f80d918db2409cef03f278a37638b4a251786 (patch)
tree599f320189007e69746e46531320a63febd332be /pkgs/games/tome4
parent700cc56a0e7e1daf7410420ac66978ae3225fbb2 (diff)
downloadnixpkgs-792f80d918db2409cef03f278a37638b4a251786.tar
nixpkgs-792f80d918db2409cef03f278a37638b4a251786.tar.gz
nixpkgs-792f80d918db2409cef03f278a37638b4a251786.tar.bz2
nixpkgs-792f80d918db2409cef03f278a37638b4a251786.tar.lz
nixpkgs-792f80d918db2409cef03f278a37638b4a251786.tar.xz
nixpkgs-792f80d918db2409cef03f278a37638b4a251786.tar.zst
nixpkgs-792f80d918db2409cef03f278a37638b4a251786.zip
tome4: fix broken build
Diffstat (limited to 'pkgs/games/tome4')
-rw-r--r--pkgs/games/tome4/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/games/tome4/default.nix b/pkgs/games/tome4/default.nix
index c04920d7aa2..c4d5dcb41e7 100644
--- a/pkgs/games/tome4/default.nix
+++ b/pkgs/games/tome4/default.nix
@@ -25,6 +25,11 @@ in stdenv.mkDerivation rec {
     sha256 = "0mc5dgh2x9nbili7gy6srjhb23ckalf08wqq2amyjr5rq392jvd7";
   };
 
+  prePatch = ''
+    # http://forums.te4.org/viewtopic.php?f=42&t=49478&view=next#p234354
+    sed -i 's|#include <GL/glext.h>||' src/tgl.h
+  '';
+
   nativeBuildInputs = [ makeWrapper unzip premake4 ];
 
   # tome4 vendors quite a few libraries so someone might want to look