mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
fix FreeBSD patch
bump PORTREVISION
This commit is contained in:
parent
146986a380
commit
6101dd84ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183869
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= xfce4-taskmanager
|
PORTNAME= xfce4-taskmanager
|
||||||
PORTVERSION= 0.4.0.r2
|
PORTVERSION= 0.4.0.r2
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= x11 xfce
|
CATEGORIES= x11 xfce
|
||||||
MASTER_SITES= http://xfce4-taskmanager.nebulon.de/
|
MASTER_SITES= http://xfce4-taskmanager.nebulon.de/
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- src/xfce-taskmanager-freebsd.c.orig Thu Jan 1 01:00:00 1970
|
--- src/xfce-taskmanager-freebsd.c.orig Thu Jan 1 01:00:00 1970
|
||||||
+++ src/xfce-taskmanager-freebsd.c Thu Feb 1 12:17:27 2007
|
+++ src/xfce-taskmanager-freebsd.c Thu Feb 1 12:17:27 2007
|
||||||
@@ -0,0 +1,170 @@
|
@@ -0,0 +1,171 @@
|
||||||
+/*
|
+/*
|
||||||
+ Copyright (c) 2006 Oliver Lehmann <oliver@FreeBSD.org>
|
+ Copyright (c) 2006 Oliver Lehmann <oliver@FreeBSD.org>
|
||||||
+ All rights reserved.
|
+ All rights reserved.
|
||||||
|
@ -45,6 +45,7 @@
|
||||||
+ char buf[16];
|
+ char buf[16];
|
||||||
+
|
+
|
||||||
+ task.pid = -1;
|
+ task.pid = -1;
|
||||||
|
+ task.checked = FALSE;
|
||||||
+
|
+
|
||||||
+ size = sizeof(ccpu);
|
+ size = sizeof(ccpu);
|
||||||
+ if (sysctlbyname("kern.ccpu", &ccpu, &size, NULL, 0) == -1)
|
+ if (sysctlbyname("kern.ccpu", &ccpu, &size, NULL, 0) == -1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue