From 7f9e88507178af9a47665626eed6895d49334fd6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 May 2008 11:42:46 +0000 Subject: [PATCH] * Fix building Pan with a recent Glib. Patch courtesy of Gentoo. svn path=/nixpkgs/branches/stdenv-updates/; revision=11871 --- pkgs/applications/networking/newsreaders/pan/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix index 83d5e1bf008..a427e3550f8 100644 --- a/pkgs/applications/networking/newsreaders/pan/default.nix +++ b/pkgs/applications/networking/newsreaders/pan/default.nix @@ -14,6 +14,14 @@ stdenv.mkDerivation { sha1 = "dc0bf586145b9d617039f49101874fbc76a9dc18"; }; + patches = [ + # Patch to build Pan on recent glibs. + (fetchurl { + url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/net-nntp/pan/files/pan-0.132-glib-compat.patch?rev=1.1"; + sha256 = "0bmgnc3l1pz763xns8057qbsjirc0njr8dn34fhy4ig9yk4kp9k7"; + }) + ]; + buildInputs = [ pkgconfig gtk perl pcre gmime gettext (if spellChecking then gtkspell else null)