aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-08-15 16:42:37 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-08-15 16:42:37 +0000
commit7ae9fca357aa0099785094b4f3e55bf3b0a751a3 (patch)
tree4029866eee65a740ccace121bf9dc4ccd3d623a1 /sysutils
parent19cfe377f1c1ac485820a13b8c13f8d376958e6e (diff)
downloadports-7ae9fca357aa0099785094b4f3e55bf3b0a751a3.tar.gz
ports-7ae9fca357aa0099785094b4f3e55bf3b0a751a3.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xosview/Makefile5
-rw-r--r--sysutils/xosview/distinfo6
-rw-r--r--sysutils/xosview/files/patch-bsd_kernel.cc17
-rw-r--r--sysutils/xosview/pkg-plist1
4 files changed, 20 insertions, 9 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile
index 4798343fb342..e38223218995 100644
--- a/sysutils/xosview/Makefile
+++ b/sysutils/xosview/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xosview
-PORTVERSION= 1.19
+DISTVERSION= 1.20
CATEGORIES= sysutils
MAINTAINER= otacilio.neto@bsd.com.br
@@ -11,14 +11,15 @@ COMMENT= Graphical performance meter
LICENSE= BSD4CLAUSE GPLv2
LICENSE_COMB= multi
+BROKEN_FreeBSD_12= Due to changes in sys/vmmeter.h (r328134)
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= uses x86-specific hardware resources
+USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= hills
USE_XORG= x11 xpm
-USES= gmake
MAKE_ENV= OPTFLAGS="" PLATFORM=bsd MANDIR=${MANPREFIX}/man
ALL_TARGET= xosview
diff --git a/sysutils/xosview/distinfo b/sysutils/xosview/distinfo
index bdc44940a5e4..41388486b2fa 100644
--- a/sysutils/xosview/distinfo
+++ b/sysutils/xosview/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1498958595
-SHA256 (hills-xosview-1.19_GH0.tar.gz) = 4bf31738c49f950b1f8b9574e9c850b3cb7448c5d600b560bd24a55ae4497a16
-SIZE (hills-xosview-1.19_GH0.tar.gz) = 144229
+TIMESTAMP = 1533352666
+SHA256 (hills-xosview-1.20_GH0.tar.gz) = 1af6e984ca4d67139143307983a843eb8fcec78b960979180719ddc01417562a
+SIZE (hills-xosview-1.20_GH0.tar.gz) = 147425
diff --git a/sysutils/xosview/files/patch-bsd_kernel.cc b/sysutils/xosview/files/patch-bsd_kernel.cc
index 9246907d96d1..b8df3060c280 100644
--- a/sysutils/xosview/files/patch-bsd_kernel.cc
+++ b/sysutils/xosview/files/patch-bsd_kernel.cc
@@ -1,6 +1,6 @@
---- bsd/kernel.cc.orig 2017-07-02 01:38:15 UTC
+--- bsd/kernel.cc.orig 2017-11-04 15:05:59 UTC
+++ bsd/kernel.cc
-@@ -93,6 +93,9 @@ static int mib_uvm[2] = { CTL_VM, VM_UVMEXP2 };
+@@ -93,6 +93,9 @@ static int mib_uvm[2] = { CTL_VM, VM_UVM
static int mib_uvm[2] = { CTL_VM, VM_UVMEXP };
#endif
#else
@@ -10,7 +10,7 @@
#include <sys/vmmeter.h>
#endif
-@@ -328,7 +331,9 @@ BSDGetPageStats(uint64_t *meminfo, uint64_t *pageinfo)
+@@ -328,7 +331,9 @@ BSDGetPageStats(uint64_t *meminfo, uint6
GET_VM_STATS(v_active_count);
GET_VM_STATS(v_inactive_count);
GET_VM_STATS(v_wire_count);
@@ -20,7 +20,7 @@
GET_VM_STATS(v_free_count);
GET_VM_STATS(v_page_size);
GET_VM_STATS(v_vnodepgsin);
-@@ -350,7 +355,9 @@ BSDGetPageStats(uint64_t *meminfo, uint64_t *pageinfo)
+@@ -350,7 +355,9 @@ BSDGetPageStats(uint64_t *meminfo, uint6
meminfo[0] = (uint64_t)vm.v_active_count * vm.v_page_size;
meminfo[1] = (uint64_t)vm.v_inactive_count * vm.v_page_size;
meminfo[2] = (uint64_t)vm.v_wire_count * vm.v_page_size;
@@ -30,3 +30,12 @@
meminfo[4] = (uint64_t)vm.v_free_count * vm.v_page_size;
#else /* XOSVIEW_DFBSD */
meminfo[0] = (uint64_t)vms.v_active_count * vms.v_page_size;
+@@ -654,7 +661,7 @@ DevStat_Init(void) {
+
+ uint64_t
+ DevStat_Get(uint64_t *read_bytes, uint64_t *write_bytes) {
+- register int dn;
++ int dn;
+ long double busy_seconds;
+ uint64_t reads, writes, total_bytes = 0;
+ struct devinfo *tmp_dinfo;
diff --git a/sysutils/xosview/pkg-plist b/sysutils/xosview/pkg-plist
index b59091b26048..efb51658fc69 100644
--- a/sysutils/xosview/pkg-plist
+++ b/sysutils/xosview/pkg-plist
@@ -1,3 +1,4 @@
@(,kmem,2555) bin/xosview
lib/X11/app-defaults/XOsview
man/man1/xosview.1.gz
+share/icons/hicolor/32x32/apps/xosview.png