Created attachment 147917 [details] the patch The patch fixes breakage of netxms on modern head, and prevents future breakages, making it not depending on kernel ABI. Note: I have only compile tested the patch, didn't perform any operation testing. I'd leave this to maintainer.
Maintainer CC'd
Created attachment 148020 [details] patch for netxms-1.2.16 and switch to libc API instead of nosing in kernel memory via kvm(3) Poudriere logs: http://pdr.s.ubze.ro/bulk/latest-per-pkg/netxms/1.2.16/ ports/193571 should be closed as I have merged both into one single patch. However I was trying to mark the other obsolete but I can't.
A commit references this bug: Author: bapt Date: Mon Oct 6 08:26:55 UTC 2014 New revision: 370146 URL: https://svnweb.freebsd.org/changeset/ports/370146 Log: Update to 1.2.16 [1] switch to libc API instead of nosing in kernel memory via kvm(3) [2] PR: 194096 Submitted by: glebius [1] maintainer [2] Approved by: maintainer Changes: head/net-mgmt/netxms/Makefile head/net-mgmt/netxms/distinfo head/net-mgmt/netxms/files/patch-src-agent-subagents-freebsd-freebsd.cpp head/net-mgmt/netxms/files/patch-src-agent-subagents-freebsd-net.cpp head/net-mgmt/netxms/files/patch-src-agent-subagents-freebsd-net.h head/net-mgmt/netxms/files/pkg-install.in head/net-mgmt/netxms/pkg-plist
Committed thank you, For the next version it will be great to unbundle libtre and libjansson, there is no need to use the internal version.