FreeBSD Bugzilla – Attachment 224782 Details for
Bug 255718
sysutils/xosview: Update to 1.23
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to version 1.23
xosview.diff (text/plain), 2.69 KB, created by
Otacílio de Araújo Ramos Neto
on 2021-05-09 00:30:42 UTC
(
hide
)
Description:
Patch to version 1.23
Filename:
MIME Type:
Creator:
Otacílio de Araújo Ramos Neto
Created:
2021-05-09 00:30:42 UTC
Size:
2.69 KB
patch
obsolete
>diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile >index 415053390806..a5a038cc267f 100644 >--- a/sysutils/xosview/Makefile >+++ b/sysutils/xosview/Makefile >@@ -1,11 +1,12 @@ > # Created by: Brian Handy <handy@physics.montana.edu> >+# $FreeBSD$ > > PORTNAME= xosview >-DISTVERSION= 1.21 >+DISTVERSION= 1.23 > CATEGORIES= sysutils > >-MAINTAINER= otacilio.neto@bsd.com.br >-COMMENT= Graphical performance meter >+MAINTAINER= otaciliodearaujo@gmail.com >+COMMENT= Graphical performance meter $FreeBSD$ > > LICENSE= BSD4CLAUSE GPLv2 > LICENSE_COMB= multi >@@ -13,6 +14,8 @@ LICENSE_COMB= multi > ONLY_FOR_ARCHS= amd64 i386 > ONLY_FOR_ARCHS_REASON= uses x86-specific hardware resources > >+RUN_DEPENDS= font-misc-misc>=1.1.2:x11-fonts/font-misc-misc >+ > USES= gmake xorg > USE_GITHUB= yes > GH_ACCOUNT= hills >diff --git a/sysutils/xosview/distinfo b/sysutils/xosview/distinfo >index 3784ed104d43..c2b096ea1c51 100644 >--- a/sysutils/xosview/distinfo >+++ b/sysutils/xosview/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1546270995 >-SHA256 (hills-xosview-1.21_GH0.tar.gz) = 7b7e2964526baf40c9bd59a6f414c42487187f6eaf1882c6d12ced4c80e7bbd5 >-SIZE (hills-xosview-1.21_GH0.tar.gz) = 147486 >+TIMESTAMP = 1620516140 >+SHA256 (hills-xosview-1.23_GH0.tar.gz) = 2de555dc07e8d0a44417979116ce1661a3e1cde9f1a849881b999fbd4ec5bdb6 >+SIZE (hills-xosview-1.23_GH0.tar.gz) = 147356 >diff --git a/sysutils/xosview/files/patch-bsd_kernel.cc b/sysutils/xosview/files/patch-bsd_kernel.cc >deleted file mode 100644 >index 4b7902a10357..000000000000 >--- a/sysutils/xosview/files/patch-bsd_kernel.cc >+++ /dev/null >@@ -1,32 +0,0 @@ >---- bsd/kernel.cc.orig 2018-09-12 13:52:23 UTC >-+++ bsd/kernel.cc >-@@ -93,6 +93,9 @@ static int mib_uvm[2] = { CTL_VM, VM_UVMEXP2 }; >- static int mib_uvm[2] = { CTL_VM, VM_UVMEXP }; >- #endif >- #else >-+#if defined(XOSVIEW_FREEBSD) >-+#define _WANT_VMMETER >-+#endif >- #include <sys/vmmeter.h> >- #endif >- >-@@ -339,7 +342,9 @@ BSDGetPageStats(uint64_t *meminfo, uint64_t *pageinfo) >- GET_VM_STATS(v_active_count); >- GET_VM_STATS(v_inactive_count); >- GET_VM_STATS(v_wire_count); >-+#if __FreeBSD_version < 1200017 >- GET_VM_STATS(v_cache_count); >-+#endif >- GET_VM_STATS(v_free_count); >- GET_VM_STATS(v_page_size); >- GET_VM_STATS(v_vnodepgsin); >-@@ -361,7 +366,9 @@ BSDGetPageStats(uint64_t *meminfo, uint64_t *pageinfo) >- 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; >-+#if __FreeBSD_version < 1200017 >- meminfo[3] = (uint64_t)vm.v_cache_count * vm.v_page_size; >-+#endif >- 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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255718
: 224782