From 1dab09643204aefa8a0b912ecaf3355b35812109 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Tue, 16 Sep 2014 13:52:34 +0200 Subject: [PATCH] lirc: Update from 0.9.1 to 0.9.1a --- pkgs/development/libraries/lirc/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/lirc/default.nix b/pkgs/development/libraries/lirc/default.nix index 88565d5d51b5..278eb8e9e523 100644 --- a/pkgs/development/libraries/lirc/default.nix +++ b/pkgs/development/libraries/lirc/default.nix @@ -1,13 +1,20 @@ { stdenv, fetchurl, alsaLib, bash, help2man }: stdenv.mkDerivation rec { - name = "lirc-0.9.1"; + name = "lirc-0.9.1a"; src = fetchurl { url = "mirror://sourceforge/lirc/${name}.tar.bz2"; - sha256 = "0vakq9x10hyj9k7iv35sm5f4dhxvk0miwxvv6kn0bhwkr2mnapj6"; + sha256 = "191vhgsds221rzpzjibj005pfr182hq65hniqfd0qqsl5h1zwq8r"; }; + patches = [ + (fetchurl { + url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/lirc-0.9.1a-fix-segfaults.patch?h=packages/lirc"; + sha256 = "00ainq7y8yh2r447968jid06cqfb1xirv24xxrkl0gvakrrv9gnh"; + }) + ]; + preBuild = "patchShebangs ."; buildInputs = [ alsaLib help2man ];