xmw 14/04/14 00:27:54
Added: phc-intel-pack-rev14-trailing-space-3.14.patch
phc-intel-pack-rev14-trailing-space-3.13.patch
Log:
Version bump for kernel 3.13 and 3.14
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key
62EEF090)
Revision Changes Path
1.1
sys-power/phc-intel/files/phc-intel-pack-rev14-trailing-space-3.14.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/files/phc-intel-pack-rev14-trailing-space-3.14.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/files/phc-intel-pack-rev14-trailing-space-3.14.patch?rev=1.1&content-type=text/plain
Index: phc-intel-pack-rev14-trailing-space-3.14.patch
===================================================================
--- phc-intel-pack-rev14/inc/3.14/linux-phc-0.4.0.patch
+++ phc-intel-pack-rev14/inc/3.14/linux-phc-0.4.0.patch
@@ -226,7 +226,7 @@
static void __init acpi_cpufreq_boost_init(void)
{
if (boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA)) {
-@@ -929,6 +1036,588 @@
+@@ -929,6 +1036,592 @@
}
}
@@ -356,6 +356,7 @@
+ //add seperating space
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
++ if (count) count--;
+ count += sprintf(&buf[count], "\n"); //add line break
+ return count;
+
@@ -383,6 +384,7 @@
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
+
++ if (count) count--;
+ count += sprintf(&buf[count], "\n"); //add NewLine
+ return count;
+}
@@ -632,6 +634,7 @@
+ //add seperating space
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
++ if (count) count--;
+ count += sprintf(&buf[count], "\n");
+
+ return count;
@@ -661,6 +664,7 @@
+ count += sprintf(&buf[count], "%u", vid);
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
++ if (count) count--;
+ count += sprintf(&buf[count], "\n");
+
+ return count;
1.1
sys-power/phc-intel/files/phc-intel-pack-rev14-trailing-space-3.13.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/files/phc-intel-pack-rev14-trailing-space-3.13.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/files/phc-intel-pack-rev14-trailing-space-3.13.patch?rev=1.1&content-type=text/plain
Index: phc-intel-pack-rev14-trailing-space-3.13.patch
===================================================================
--- phc-intel-pack-rev14/inc/3.13/linux-phc-0.4.0.patch.orig 2014-04-14
02:18:58.464488475 +0200
+++ phc-intel-pack-rev14/inc/3.13/linux-phc-0.4.0.patch 2014-04-14
02:21:12.018581946 +0200
@@ -225,7 +225,7 @@
static void __init acpi_cpufreq_boost_init(void)
{
if (boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA)) {
-@@ -956,6 +1064,587 @@
+@@ -956,6 +1064,591 @@
}
}
@@ -355,6 +355,7 @@
+ //add seperating space
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
++ if (count) count--;
+ count += sprintf(&buf[count], "\n"); //add line break
+ return count;
+
@@ -382,6 +383,7 @@
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
+
++ if (count) count--;
+ count += sprintf(&buf[count], "\n"); //add NewLine
+ return count;
+}
@@ -631,6 +633,7 @@
+ //add seperating space
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
++ if (count) count--;
+ count += sprintf(&buf[count], "\n");
+
+ return count;
@@ -660,6 +663,7 @@
+ count += sprintf(&buf[count], "%u", vid);
+ if(freq_table[i+1].frequency != CPUFREQ_TABLE_END) count +=
sprintf(&buf[count], " ");
+ }
++ if (count) count--;
+ count += sprintf(&buf[count], "\n");
+
+ return count;