diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2015-02-04 21:03:29 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2015-02-04 21:03:29 +0800 |
commit | 7ce111f9ccb91d5d6e21c53cd90cf97f7b83cca5 (patch) | |
tree | c77b43580784a42e098b5b92b15b608e4fcc3f75 /x11-wm/enlightenment/files | |
parent | 6a98cd9cb25368dd441832e60560cb3bd42b560a (diff) | |
download | freebsd-ports-gnome-7ce111f9ccb91d5d6e21c53cd90cf97f7b83cca5.tar.gz freebsd-ports-gnome-7ce111f9ccb91d5d6e21c53cd90cf97f7b83cca5.tar.zst freebsd-ports-gnome-7ce111f9ccb91d5d6e21c53cd90cf97f7b83cca5.zip |
- Add SUID bit to the cpufreq module [1]
- Fix sysctl invocation [2]
- Bump portrevision
PR: 195481
Submitted by: hardy.schumacher at gmx.de [1], Dmitry Luhtionov [2]
Approved by: maintainer timeout (gblach)
Diffstat (limited to 'x11-wm/enlightenment/files')
-rw-r--r-- | x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c b/x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c new file mode 100644 index 000000000000..ec61d4847709 --- /dev/null +++ b/x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c @@ -0,0 +1,11 @@ +--- src/modules/cpufreq/freqset.c 2015-01-24 11:58:59.000000000 +0200 ++++ src/modules/cpufreq/freqset.c 2015-01-24 11:58:51.000000000 +0200 +@@ -59,7 +59,7 @@ + { + int new_frequency = atoi(argv[2]); + size_t len = sizeof(new_frequency); +- if (sysctlbyname("dev.cpu.0.freq", NULL, 0, &new_frequency, &len) == -1) ++ if (sysctlbyname("dev.cpu.0.freq", NULL, 0, &new_frequency, len) == -1) + { + fprintf(stderr, "Unable to open frequency interface for writing.\n"); + return 1; |