Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting5.git;a=commitdiff;h=63859d6bf090f2204cd29fe9f1d9e970fedd8025

commit 63859d6bf090f2204cd29fe9f1d9e970fedd8025
Author: James Buren <[email protected]>
Date:   Sun Jul 29 06:45:17 2012 -0500

phc-k8-0.4.4-13-x86_64
* rebuild with kernel 3.5-1

diff --git a/source/apps-extra/phc-k8/FrugalBuild 
b/source/apps-extra/phc-k8/FrugalBuild
index 623c987..99d85ca 100644
--- a/source/apps-extra/phc-k8/FrugalBuild
+++ b/source/apps-extra/phc-k8/FrugalBuild
@@ -3,17 +3,18 @@

pkgname=phc-k8
pkgver=0.4.4
-pkgrel=12
+pkgrel=13
pkgdesc="Kernel module that supports AMD cpu scaling and cpu undervolting."
url="http://www.linux-phc.org";
depends=()
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="$pkgver"
-source=(http://www.linux-phc.org/forum/download/file.php?id=124 
kernel-3.0.patch)
+source=(http://www.linux-phc.org/forum/download/file.php?id=124 
kernel-3.0.patch fixes.patch)
backup=("etc/modprobe.d/$pkgname.conf")
sha1sums=('c4a553b65e01ed5df8a1811f32174b20126d784e' \
-          '84ff2587d39f0e6f1815630c83c4902962dd408b')
+          '84ff2587d39f0e6f1815630c83c4902962dd408b' \
+          'c06a79de57c3a9276ef8759076ca16cb15052b2d')
Finclude kernel-module
unset MAKEFLAGS

diff --git a/source/apps-extra/phc-k8/fixes.patch 
b/source/apps-extra/phc-k8/fixes.patch
new file mode 100644
index 0000000..4a40784
--- /dev/null
+++ b/source/apps-extra/phc-k8/fixes.patch
@@ -0,0 +1,16 @@
+diff -ur a/phc-k8.c b/phc-k8.c
+--- a/phc-k8.c 2011-06-26 15:42:16.000000000 -0500
++++ b/phc-k8.c 2012-07-29 06:43:46.286246524 -0500
+@@ -57,10 +57,10 @@
+ #include "mperf.h"
+
+ /* Module parameters */
+-static int direct_transitions = 0;
++static bool direct_transitions = 0;
+ module_param(direct_transitions, bool, 0444);
+ MODULE_PARM_DESC(direct_transitions, "Use direct P-States transitions");
+-static int min_800MHz = 0;
++static bool min_800MHz = 0;
+ module_param(min_800MHz, bool, 0444);
+ MODULE_PARM_DESC(min_800MHz, "Allow 800MHz as lowest frequency with direct 
transitions enabled");
+ static int be_maxfid = -1;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to