Bug 215152 - sysutils/xosview: UPDATE patch-bsd-kernel.cc to compile under FreeBSD 12 revision >=r1200017
Summary: sysutils/xosview: UPDATE patch-bsd-kernel.cc to compile under FreeBSD 12 revi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Raphael Kubo da Costa
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-12-08 12:46 UTC by Otacílio de Araújo Ramos Neto
Modified: 2016-12-24 12:34 UTC (History)
2 users (show)

See Also:


Attachments
Patch to update (1.97 KB, patch)
2016-12-08 12:46 UTC, Otacílio de Araújo Ramos Neto
otacilio.neto: maintainer-approval+
otacilio.neto: maintainer-approval+
otacilio.neto: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Otacílio de Araújo Ramos Neto 2016-12-08 12:46:27 UTC
Created attachment 177797 [details]
Patch to update

The structure field v_cache_count was removed from vmmeter in revision 1200017 (https://svnweb.freebsd.org/base?view=revision&revision=309017). This patch enables xosview compile under FreeBSD 12
Comment 1 VK 2016-12-11 16:47:47 UTC
Comment on attachment 177797 [details]
Patch to update

Thanks for the patch. Please don't forget to set maintainer-approval(+) flag on patches (under attachment Details) for ports you're maintainer of.
Comment 2 Otacílio de Araújo Ramos Neto 2016-12-21 12:47:35 UTC
I'm the maintainer of this port. Please, someone commits the patch.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-12-24 12:33:12 UTC
A commit references this bug:

Author: rakuco
Date: Sat Dec 24 12:32:20 UTC 2016
New revision: 429333
URL: https://svnweb.freebsd.org/changeset/ports/429333

Log:
  Fix build with __FreeBSD_version >= 1200017

  Adapt to base r309017, which removed v_cache_cout from vmmeter.

  PR:		215152
  Submitted by:	otacilio.neto@bsd.com.br (maintainer)

Changes:
  head/sysutils/xosview/files/patch-bsd-kernel.cc
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-12-24 12:34:42 UTC
Committed, thank you. I've chosen not to bump PORTREVISION: for older FreeBSD versions, the port was building fine and the patch does not change the generated code; for versions >= 1200017, the port just was not building so the PORTREVISION would be redundant.