diff --git a/pkgs/games/eboard/default.nix b/pkgs/games/eboard/default.nix deleted file mode 100644 index 0250208fd48a..000000000000 --- a/pkgs/games/eboard/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchurl, perl, pkg-config, gtk2 }: - -stdenv.mkDerivation rec { - pname = "eboard"; - version = "1.1.1"; - - src = fetchurl { - url = "mirror://sourceforge/eboard/eboard-${version}.tar.bz2"; - sha256 = "0vm25j1s2zg1lipwjv9qrcm877ikfmk1yh34i8f5l3bwd63115xd"; - }; - - patches = [ ./eboard.patch ]; - - buildInputs = [ gtk2 ]; - nativeBuildInputs = [ perl pkg-config ]; - - hardeningDisable = [ "format" ]; - - env.NIX_CFLAGS_COMPILE = "-fpermissive"; - - meta = { - homepage = "http://www.bergo.eng.br/eboard/"; - description = "Chess interface for Unix-like systems"; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/games/eboard/eboard.patch b/pkgs/games/eboard/eboard.patch deleted file mode 100644 index f80c1b2f78d7..000000000000 --- a/pkgs/games/eboard/eboard.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/cimg.cc 2014-05-25 02:41:58.000000000 -0500 -+++ b/cimg.cc 2014-05-25 02:42:31.000000000 -0500 -@@ -94,11 +94,11 @@ - ct == PNG_COLOR_TYPE_GRAY_ALPHA) - png_set_gray_to_rgb(pngp); - -- alloc(pngp->width,pngp->height); -+ alloc(png_get_image_width(pngp, infp),png_get_image_height(pngp, infp)); - if (!ok) { fclose(f); return; } - ok = 0; - -- for(i=0;iheight;i++) { -+ for(i=0;i