diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-03-08 06:53:10 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-03-08 06:53:10 +0000 |
commit | 72704a08a799038d894737574fd66e2f41dbc10c (patch) | |
tree | f1c3c06c51a926d8016d52386b81d7697cead31d /sysutils/mcelog/files/patch-tsc.c | |
parent | Hook py-tldextract to the build (diff) |
sysutils/mcelog: 1.0pre3 -> 133
- Added version prefix
- Switched to github over master sites
- Removed patch_strip
- Changed hard LDFLAGS to include
- Fixed version in source
- Updated distfile
- Regenerated patchfiles for portlint
- Modified several patchfiles, adapted to new version
- submitter becomes maintainer
PR: 207145
Submitted by: Ultima1252@gmail.com
Approved by: Jeremy Chadwick <jdc@koitsu.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=410604
Diffstat (limited to 'sysutils/mcelog/files/patch-tsc.c')
-rw-r--r-- | sysutils/mcelog/files/patch-tsc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/mcelog/files/patch-tsc.c b/sysutils/mcelog/files/patch-tsc.c index c035eb9850db..dd3144ac8b5d 100644 --- a/sysutils/mcelog/files/patch-tsc.c +++ b/sysutils/mcelog/files/patch-tsc.c @@ -1,5 +1,5 @@ ---- ./tsc.c.orig 2009-12-15 07:18:40.000000000 -0500 -+++ ./tsc.c 2011-10-14 22:36:47.000000000 -0400 +--- tsc.c.orig 2016-02-10 18:38:43 UTC ++++ tsc.c @@ -15,6 +15,12 @@ on your Linux system; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -13,7 +13,7 @@ #include <string.h> #include <stdio.h> #include <stdlib.h> -@@ -46,6 +52,7 @@ +@@ -46,6 +52,7 @@ static int fmt_tsc(char **buf, u64 tsc, return 0; } @@ -21,7 +21,7 @@ static double cpufreq_mhz(int cpu, double infomhz) { double mhz; -@@ -68,12 +75,29 @@ +@@ -68,12 +75,29 @@ static double cpufreq_mhz(int cpu, doubl fclose(f); return mhz; } @@ -51,7 +51,7 @@ static int deep_sleep_states(int cpu) { int ret; -@@ -132,6 +156,41 @@ +@@ -132,6 +156,41 @@ static int tsc_reliable(int cputype, int return 0; return 1; } |