diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm index 31fca5b504..30574fca18 100644 --- a/gnu/packages/gnustep.scm +++ b/gnu/packages/gnustep.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Ludovic Courtès -;;; Copyright © 2016 Kei Yamashita +;;; Copyright © 2016 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -101,7 +101,15 @@ (define-public wmbattery version ".orig.tar.gz")) (sha256 (base32 - "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44")))) + "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44")) + (modules '((guix build utils))) + (snippet + ;; Fix memory leak: + ;; . + '(substitute* "upower.c" + (("up = up_client_new\\(\\);") + (string-append "if (!up)\n" + " up = up_client_new();")))))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no "check" target