[Lunar-commits] <moonbase> hddtemp: add a patch to fix the compile.

Florin Braescu florin at lunar-linux.org
Thu Aug 5 04:46:48 CEST 2010


commit 2e1fd0563bf2879926c02e6ae0de3e31cd7c6fa0
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Thu Aug 5 05:46:48 2010 +0300

    hddtemp: add a patch to fix the compile.
---
 utils/hddtemp/BUILD   |    7 +++++--
 utils/hddtemp/DETAILS |    7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/utils/hddtemp/BUILD b/utils/hddtemp/BUILD
index de04ba0..374a648 100644
--- a/utils/hddtemp/BUILD
+++ b/utils/hddtemp/BUILD
@@ -1,5 +1,8 @@
 (
-  mkdir -p /usr/share/misc &&
-  default_build &&
+
+  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
+  mkdir -p /usr/share/misc  &&
+  default_build  &&
   install -m644 $SOURCE_CACHE/$SOURCE2 /usr/share/misc/hddtemp.db
+
 ) >$C_FIFO 2>&1
diff --git a/utils/hddtemp/DETAILS b/utils/hddtemp/DETAILS
index b6ead49..a5167a1 100644
--- a/utils/hddtemp/DETAILS
+++ b/utils/hddtemp/DETAILS
@@ -2,9 +2,12 @@
          VERSION=0.3-beta15
           SOURCE=$MODULE-$VERSION.tar.bz2
          SOURCE2=hddtemp.db
-      SOURCE_URL=http://download.savannah.nongnu.org/releases/$MODULE/
-     SOURCE2_URL=http://www.guzu.net/linux/
+         SOURCE3=$MODULE-$VERSION-reg-eip.patch.bz2
+      SOURCE_URL=http://download.savannah.nongnu.org/releases/$MODULE
+     SOURCE2_URL=http://www.guzu.net/linux
+     SOURCE3_URL=$PATCH_URL
       SOURCE_VFY=sha1:65393b0a4d9862c030c81702d95c1acd00da275b
+     SOURCE3_VFY=sha1:9ddf15d1864417a591a08e489b60ad84b24540d5
         WEB_SITE=http://www.guzu.net/linux/hddtemp.php
          ENTERED=20070605
          UPDATED=20070605


More information about the Lunar-commits mailing list