From 10c15d586175a0f636f2a75556a9b17040634b13 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Sun, 5 Jan 2014 18:51:57 +0100 Subject: [PATCH] zsnes: manual header magic is no longer needed with the gcc-4.8 patch --- pkgs/misc/emulators/zsnes/default.nix | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/pkgs/misc/emulators/zsnes/default.nix b/pkgs/misc/emulators/zsnes/default.nix index 6ee57e0cddf..c3bced29200 100644 --- a/pkgs/misc/emulators/zsnes/default.nix +++ b/pkgs/misc/emulators/zsnes/default.nix @@ -19,25 +19,8 @@ stdenv.mkDerivation { preConfigure = '' cd src - sed -i "/^STRIP/d" configure - - # Fix for undefined strncasecmp() - echo '#include ' > tmp.cpp - cat tmp.cpp tools/strutil.h > tools/strutil.h.new - mv tools/strutil.h.new tools/strutil.h - - # Fix for undefined system() - echo '#include ' > tmp.cpp - cat tmp.cpp tools/depbuild.cpp > tools/depbuild.cpp.new - mv tools/depbuild.cpp.new tools/depbuild.cpp - - # Fix for lots of undefined strcmp, strncmp etc. - echo '#include ' > tmp.cpp - cat tmp.cpp parsegen.cpp > parsegen.cpp.new - mv parsegen.cpp.new parsegen.cpp ''; - configureFlags = "--enable-release";