From e8a79999c0f6379be8a088807040f7e4c3221517 Mon Sep 17 00:00:00 2001 From: Ricardo Ardissone Date: Thu, 20 Dec 2018 15:01:46 -0200 Subject: [PATCH] liquidwar6: fix double definition of GL_GLEXT_VERSION --- pkgs/games/liquidwar/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/games/liquidwar/default.nix b/pkgs/games/liquidwar/default.nix index 9a6ff4e0ae84..6f0475209be8 100644 --- a/pkgs/games/liquidwar/default.nix +++ b/pkgs/games/liquidwar/default.nix @@ -27,7 +27,11 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; - NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; + NIX_CFLAGS_COMPILE = + "-Wno-error=deprecated-declarations" + + # Avoid GL_GLEXT_VERSION double definition + " -DNO_SDL_GLEXT" + ; # To avoid problems finding SDL_types.h. configureFlags = [ "CFLAGS=-I${SDL.dev}/include/SDL" ];