diff options
author | h8red | 2015-09-14 22:43:40 +0300 |
---|---|---|
committer | h8red | 2015-09-14 22:43:40 +0300 |
commit | d630474da42dd527731eb8e7cbfc642feb60766c (patch) | |
tree | fc04e72acc243427e18506865acdee868e9842f0 /cpupower.patch | |
download | aur-d630474da42dd527731eb8e7cbfc642feb60766c.tar.gz |
Initial import
Diffstat (limited to 'cpupower.patch')
-rw-r--r-- | cpupower.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cpupower.patch b/cpupower.patch new file mode 100644 index 000000000000..a104ed5f9e0c --- /dev/null +++ b/cpupower.patch @@ -0,0 +1,24 @@ +--- configure.in 2010-04-18 17:57:30.000000000 +0400 ++++ configure.in 2013-01-04 14:37:44.687427237 +0400 +@@ -4,7 +4,7 @@ + + AM_INIT_AUTOMAKE(1.8 dist-bzip2 foreign) + AC_CONFIG_SRCDIR([config.h.in]) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + # libtool + AC_LIBTOOL_DLOPEN +@@ -38,9 +38,9 @@ + AC_CHECK_LIB([dl], [dlopen], + [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -ldl" ], + [ AC_MSG_ERROR([You need a working dlopen to build cpufreqd]) ]) +-AC_CHECK_LIB([cpufreq], [cpufreq_cpu_exists], +- [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -lcpufreq" ], +- [ AC_MSG_ERROR([You need libcpufreq from cpufrequtils to build cpufreqd]) ]) ++AC_CHECK_LIB([cpupower], [cpufreq_cpu_exists], ++ [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -lcpupower" ], ++ [ AC_MSG_ERROR([You need libcpupower from cpupower to build cpufreqd]) ]) + AC_SUBST(CPUFREQD_LDFLAGS) + + DISABLED_PLUGINS="" |