svn commit: r477239 - in head/sysutils/xosview: . files
Fernando Apesteguía
fernape at FreeBSD.org
Wed Aug 15 16:42:39 UTC 2018
Author: fernape
Date: Wed Aug 15 16:42:37 2018
New Revision: 477239
URL: https://svnweb.freebsd.org/changeset/ports/477239
Log:
sysutils/xosview: update to 1.20
Mark as BROKEN in 12
PR: 230351
Submitted by: ndowens at yahoo.com
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D16710
Modified:
head/sysutils/xosview/Makefile
head/sysutils/xosview/distinfo
head/sysutils/xosview/files/patch-bsd_kernel.cc
head/sysutils/xosview/pkg-plist
Modified: head/sysutils/xosview/Makefile
==============================================================================
--- head/sysutils/xosview/Makefile Wed Aug 15 16:27:42 2018 (r477238)
+++ head/sysutils/xosview/Makefile Wed Aug 15 16:42:37 2018 (r477239)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xosview
-PORTVERSION= 1.19
+DISTVERSION= 1.20
CATEGORIES= sysutils
MAINTAINER= otacilio.neto at 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
Modified: head/sysutils/xosview/distinfo
==============================================================================
--- head/sysutils/xosview/distinfo Wed Aug 15 16:27:42 2018 (r477238)
+++ head/sysutils/xosview/distinfo Wed Aug 15 16:42:37 2018 (r477239)
@@ -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
Modified: head/sysutils/xosview/files/patch-bsd_kernel.cc
==============================================================================
--- head/sysutils/xosview/files/patch-bsd_kernel.cc Wed Aug 15 16:27:42 2018 (r477238)
+++ head/sysutils/xosview/files/patch-bsd_kernel.cc Wed Aug 15 16:42:37 2018 (r477239)
@@ -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;
Modified: head/sysutils/xosview/pkg-plist
==============================================================================
--- head/sysutils/xosview/pkg-plist Wed Aug 15 16:27:42 2018 (r477238)
+++ head/sysutils/xosview/pkg-plist Wed Aug 15 16:42:37 2018 (r477239)
@@ -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
More information about the svn-ports-all
mailing list