SHA256
1
0
forked from pool/cpupower
cpupower/turbostat_set_asm_header_fixed.patch
Thomas Renninger 60e17861c8 - Make sources also build against 13.1 and older by providing
asm-index.h which is included in linux-glibc-devel in newer
  distributions
*Add turbostat_set_asm_header_fixed.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=47
2015-01-28 18:21:11 +00:00

14 lines
390 B
Diff

Index: turbostat-3.19/turbostat.c
===================================================================
--- turbostat-3.19.orig/turbostat.c 2015-01-28 04:12:38.000000000 +0100
+++ turbostat-3.19/turbostat.c 2015-01-28 18:07:29.404133704 +0100
@@ -20,7 +20,7 @@
*/
#define _GNU_SOURCE
-#include MSRHEADER
+#include "msr-index.h"
#include <stdarg.h>
#include <stdio.h>
#include <err.h>