aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/enlightenment
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2015-02-04 13:03:29 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2015-02-04 13:03:29 +0000
commitbdd3be5688ef3ec2c2276a738b8c4c7cc9187652 (patch)
treec77b43580784a42e098b5b92b15b608e4fcc3f75 /x11-wm/enlightenment
parent25d85ac759acb3b1e4f3c458df4e8d57690ad4ee (diff)
downloadports-bdd3be5688ef3ec2c2276a738b8c4c7cc9187652.tar.gz
ports-bdd3be5688ef3ec2c2276a738b8c4c7cc9187652.zip
Notes
Diffstat (limited to 'x11-wm/enlightenment')
-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