aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2015-02-04 21:03:29 +0800
committervsevolod <vsevolod@FreeBSD.org>2015-02-04 21:03:29 +0800
commit7ce111f9ccb91d5d6e21c53cd90cf97f7b83cca5 (patch)
treec77b43580784a42e098b5b92b15b608e4fcc3f75 /x11-wm
parent6a98cd9cb25368dd441832e60560cb3bd42b560a (diff)
downloadfreebsd-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')
-rw-r--r--x11-wm/enlightenment/Makefile4
-rw-r--r--x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c11
-rw-r--r--x11-wm/enlightenment/pkg-plist2
3 files changed, 16 insertions, 1 deletions
diff --git a/x11-wm/enlightenment/Makefile b/x11-wm/enlightenment/Makefile
index 5f67c25c3244..1654b78f9e7d 100644
--- a/x11-wm/enlightenment/Makefile
+++ b/x11-wm/enlightenment/Makefile
@@ -3,6 +3,7 @@
PORTNAME= enlightenment
PORTVERSION= 0.19.3
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= x11-wm enlightenment
MASTER_SITES= http://download.enlightenment.org/rel/apps/${PORTNAME}/
@@ -21,7 +22,8 @@ RUN_DEPENDS= ${LOCALBASE}/lib/evas/utils/evas_image_loader.svg:${PORTSDIR}/graph
DIST_SUBDIR= enlightenment
USE_AUTOTOOLS= autoconf aclocal
GNU_CONFIGURE= yes
-USES= alias desktop-file-utils execinfo libtool pathfix iconv gmake pkgconfig tar:xz
+USES= alias desktop-file-utils execinfo libtool pathfix iconv gmake \
+ pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
SUB_FILES= pkg-message
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;
diff --git a/x11-wm/enlightenment/pkg-plist b/x11-wm/enlightenment/pkg-plist
index 6f8081fee8cc..5b181730a4b7 100644
--- a/x11-wm/enlightenment/pkg-plist
+++ b/x11-wm/enlightenment/pkg-plist
@@ -225,7 +225,9 @@ lib/enlightenment/modules/conf_window_remembers/e-module-conf_window_remembers.e
lib/enlightenment/modules/conf_window_remembers/%%ENLIGHTENMENT_ARCH%%/module.so
lib/enlightenment/modules/conf_window_remembers/module.desktop
lib/enlightenment/modules/cpufreq/e-module-cpufreq.edj
+@mode 4555
lib/enlightenment/modules/cpufreq/%%ENLIGHTENMENT_ARCH%%/freqset
+@mode
lib/enlightenment/modules/cpufreq/%%ENLIGHTENMENT_ARCH%%/module.so
lib/enlightenment/modules/cpufreq/module.desktop
lib/enlightenment/modules/everything/e-module-everything-start.edj