Subject: Re: [bug#31166] [PATCH] gnu: Add mbpfan.

From: Marius Bakke <[email-masked]>
Date: Tue, 17 Apr 2018 00:36:31 +0200

Rene <[email-masked]> writes:

> Hello team,
> this is a proposed patch to add mbpfan.
>
> Thank you
> Rene
> From 48444809ee2d0f2993fb0c2a772f52a68f13b30a Mon Sep 17 00:00:00 2001
> From: Rene <[email-masked]>
> Date: Sat, 14 Apr 2018 22:34:48 -0500
> Subject: [PATCH] gnu: Add mbpfan.
>
> * gnu/packages/linux.scm (mbpfan): New variable.

Thanks!

Applied with the following changes:

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c0f33e72c..bc1e23fc1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4618,13 +4618,14 @@ interface to this kernel feature.")
          (add-after 'unpack 'patch-paths
            (lambda _
              (substitute* "Makefile"
-               (("/usr") ""))))
+               (("/usr") ""))
+             #t))
          (delete 'configure)))) ; There's no configure phase.
     (home-page "https://github.com/dgraziotin/mbpfan")
-    (synopsis "Simple daemon to control fan speed")
+    (synopsis "Control fan speed on Macbooks")
     (description
-     "Mbpfan is a fan control daemon for Apple Macbooks, the daemon uses input
-from @code{coretemp} module and sets the fan speed using the @code{applesmc}
+     "mbpfan is a fan control daemon for Apple Macbooks.  It uses input from
+the @code{coretemp} module and sets the fan speed using the @code{applesmc}
 module.  It can be executed as a daemon or in the foreground with root
 privileges.")
-    (license license:gpl3)))
+    (license license:gpl3+)))