Index: head/net-mgmt/netdata/Makefile =================================================================== --- head/net-mgmt/netdata/Makefile (revision 446203) +++ head/net-mgmt/netdata/Makefile (revision 446204) @@ -1,63 +1,63 @@ # Created by: Mahdi Mokhtari # $FreeBSD$ PORTNAME= netdata PORTVERSION= 1.7.0 DISTVERSIONPREFIX=v CATEGORIES= net-mgmt MAINTAINER= mmokhi@FreeBSD.org COMMENT= Scalable distributed realtime performance and health monitoring LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/uuid/uuid.h:misc/e2fsprogs-libuuid LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid USE_GITHUB= yes GH_ACCOUNT= firehol NETDATA_CACHE= /var/cache/${PORTNAME} NETDATA_LOG= /var/log/${PORTNAME} NETDATA_PERST= /var/db/${PORTNAME} USES= autoreconf pathfix pkgconfig:both python shebangfix USE_LDCONFIG= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -D_WANT_VMMETER -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SUB_LIST= NETDATA_CACHE=${NETDATA_CACHE} \ NETDATA_LOG=${NETDATA_LOG} \ NETDATA_PERST=${NETDATA_PERST} PLIST_SUB= NETDATA_CACHE=${NETDATA_CACHE} \ NETDATA_LOG=${NETDATA_LOG} \ NETDATA_PERST=${NETDATA_PERST} USE_RC_SUBR= ${PORTNAME} SUB_FILES= ${PORTNAME}.conf.sample USERS= netdata GROUPS= netdata post-patch: @${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|%%NETDATA_LOG%%|${NETDATA_LOG}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|%%NETDATA_PERST%%|${NETDATA_PERST}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \ ${PATCH_WRKSRC}/configure.ac post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/netdata.conf.sample ${STAGEDIR}${ETCDIR}/netdata.conf.sample ${MKDIR} ${STAGEDIR}${NETDATA_CACHE} ${MKDIR} ${STAGEDIR}${NETDATA_LOG} ${MKDIR} ${STAGEDIR}${NETDATA_PERST} .include Index: head/net-mgmt/netdata/files/patch-src_apps__plugin.c =================================================================== --- head/net-mgmt/netdata/files/patch-src_apps__plugin.c (nonexistent) +++ head/net-mgmt/netdata/files/patch-src_apps__plugin.c (revision 446204) @@ -0,0 +1,17 @@ +--- src/apps_plugin.c.orig 2017-07-18 22:52:41 UTC ++++ src/apps_plugin.c +@@ -1572,7 +1572,13 @@ static inline int read_pid_file_descript + break; + default: + /* print protocol number and socket address */ +- sprintf(fdsname, "socket: other: %d %s %s", fds->kf_sock_protocol, fds->kf_sa_local.__ss_pad1, fds->kf_sa_local.__ss_pad2); ++ sprintf(fdsname, "socket: other: %d %s %s", fds->kf_sock_protocol, ++ #if defined(__FreeBSD__) && (__FreeBSD_version >= 1200031) ++ fds->kf_un.kf_sock.kf_sa_local.__ss_pad1, fds->kf_un.kf_sock.kf_sa_local.__ss_pad2 ++ #else ++ fds->kf_sa_local.__ss_pad1, fds->kf_sa_local.__ss_pad2 ++ #endif ++ ); + } + break; + case KF_TYPE_PIPE: Property changes on: head/net-mgmt/netdata/files/patch-src_apps__plugin.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property