diff --git a/pkgs/games/xmoto/default.nix b/pkgs/games/xmoto/default.nix index 229d58029dea..ed37227bb039 100644 --- a/pkgs/games/xmoto/default.nix +++ b/pkgs/games/xmoto/default.nix @@ -15,9 +15,7 @@ rec { configureFlags = []; /* doConfigure should be removed if not needed */ - phaseNames = [ "doPatch" "doConfigure" "doMakeInstall"]; - - patches = [ ./r3402.patch ]; + phaseNames = [ "doConfigure" "doMakeInstall"]; meta = { description = "X-Moto - obstacled race game"; diff --git a/pkgs/games/xmoto/r3402.patch b/pkgs/games/xmoto/r3402.patch deleted file mode 100644 index 787e5625b5fe..000000000000 --- a/pkgs/games/xmoto/r3402.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: a/src/image/tim_png.cpp -=================================================================== ---- a/src/image/tim_png.cpp (revision 3401) -+++ b/src/image/tim_png.cpp (revision 3402) -@@ -25,7 +25,8 @@ - #include - #include - #include "tim.h" --#include "png.h" -+#include -+#include - - /*============================================================================== - Types -Index: ChangeLog -=================================================================== ---- a/ChangeLog (revision 3401) -+++ b/ChangeLog (revision 3402) -@@ -1,3 +1,7 @@ -+X-Moto 0.5.10 2012- -+-------------------------------- -+ * libpng patch by Kelly Anderson -+ - X-Moto 0.5.9 2011-11-13 - -------------------------------- - * fix a compilation error with libxml