SHARE
TWEET

cpupower.patch

alinef Aug 28th, 2012 46 Never
  1. diff -aur cpufreqd-2.4.2.pristine/configure.in cpufreqd-2.4.2.new/configure.in
  2. --- cpufreqd-2.4.2.pristine/configure.in        2012-08-28 02:44:43.964814288 -0300
  3. +++ cpufreqd-2.4.2.new/configure.in     2012-08-28 02:45:19.030020033 -0300
  4. @@ -38,9 +38,9 @@
  5.  AC_CHECK_LIB([dl], [dlopen],
  6.                 [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -ldl" ],
  7.                 [ AC_MSG_ERROR([You need a working dlopen to build cpufreqd]) ])
  8. -AC_CHECK_LIB([cpufreq], [cpufreq_cpu_exists],
  9. -               [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -lcpufreq" ],
  10. -               [ AC_MSG_ERROR([You need libcpufreq from cpufrequtils to build cpufreqd]) ])
  11. +AC_CHECK_LIB([cpupower], [cpufreq_cpu_exists],
  12. +               [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -lcpupower" ],
  13. +               [ AC_MSG_ERROR([You need libcpupower from cpupower to build cpufreqd]) ])
  14.  AC_SUBST(CPUFREQD_LDFLAGS)
  15.  
  16.  DISABLED_PLUGINS=""
RAW Paste Data
Top