aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ksysguardd
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-04-23 00:35:57 +0000
committerAlberto Villa <avilla@FreeBSD.org>2011-04-23 00:35:57 +0000
commitb0852c055902cb3545257b2de1875774e664c9ce (patch)
tree0be68c39674d28ea8a13c94e206ff61fc187b421 /sysutils/ksysguardd
parentdfaa5bf29b3c5c98e46ed842d61ac735449b498b (diff)
downloadports-b0852c055902cb3545257b2de1875774e664c9ce.tar.gz
ports-b0852c055902cb3545257b2de1875774e664c9ce.zip
Notes
Diffstat (limited to 'sysutils/ksysguardd')
-rw-r--r--sysutils/ksysguardd/Makefile5
-rw-r--r--sysutils/ksysguardd/files/patch-FreeBSD__stat.c20
2 files changed, 21 insertions, 4 deletions
diff --git a/sysutils/ksysguardd/Makefile b/sysutils/ksysguardd/Makefile
index 891134a3ce5b..4d50e1bb263f 100644
--- a/sysutils/ksysguardd/Makefile
+++ b/sysutils/ksysguardd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ksysguardd
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src/
@@ -37,8 +38,4 @@ pre-build:
${REINPLACE_CMD} -e 's/<config-workspace.h>/"config-${PORTNAME}.h"/' \
${WRKSRC}/${PORTNAME}.c
-post-install:
- ${CHGRP} kmem ${PREFIX}/bin/${PORTNAME} && \
- ${CHMOD} g+s ${PREFIX}/bin/${PORTNAME}
-
.include <bsd.port.mk>
diff --git a/sysutils/ksysguardd/files/patch-FreeBSD__stat.c b/sysutils/ksysguardd/files/patch-FreeBSD__stat.c
new file mode 100644
index 000000000000..b79b81fbcad8
--- /dev/null
+++ b/sysutils/ksysguardd/files/patch-FreeBSD__stat.c
@@ -0,0 +1,20 @@
+--- ./FreeBSD/stat.c.orig 2011-04-01 12:52:43.000000000 +0200
++++ ./FreeBSD/stat.c 2011-04-23 02:14:24.221891829 +0200
+@@ -252,7 +252,7 @@
+ int irq;
+
+ sscanf(cmd + 18, "%d", &irq);
+- if (irq > 255 - msi_offset)
++ if (irq > 255)
+ irq -= msi_offset - 1;
+ fprintf(CurrentClient, "%ld\n", intr[intr_map[irq - 1]]);
+ }
+@@ -261,7 +261,7 @@
+ int irq;
+
+ sscanf(cmd + 18, "%d", &irq);
+- if (irq > 255 - msi_offset)
++ if (irq > 255)
+ irq -= msi_offset - 1;
+ fprintf(CurrentClient, "%s\t0\t0\t1/s\n", intrname[intr_map[irq - 1]]);
+ }