From 37a95e0084941375bdee3d16cf380ab976526c59 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 14 Mar 2011 10:54:10 +0000 Subject: [PATCH] * Fix the gens-gs build (http://hydra.nixos.org/build/955354). svn path=/nixpkgs/branches/x-updates/; revision=26297 --- pkgs/misc/emulators/gens-gs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/misc/emulators/gens-gs/default.nix b/pkgs/misc/emulators/gens-gs/default.nix index 53c55de9a37..a6f457b5210 100644 --- a/pkgs/misc/emulators/gens-gs/default.nix +++ b/pkgs/misc/emulators/gens-gs/default.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation { buildInputs = [ pkgconfig gtkLibs.gtk SDL nasm zlib libpng mesa ]; + # Work around build failures on recent GTK+. + # See http://ubuntuforums.org/showthread.php?p=10535837 + NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE"; + meta = { homepage = http://segaretro.org/Gens/GS; description = "A Genesis/Mega Drive emulator";