Slurm is broken without the diff below... oky?
Index: Makefile =================================================================== RCS file: /cvs/ports/net/slurm/Makefile,v retrieving revision 1.7 diff -u -p -u -p -r1.7 Makefile --- Makefile 11 Mar 2013 11:35:56 -0000 1.7 +++ Makefile 23 Feb 2015 11:29:22 -0000 @@ -2,7 +2,7 @@ COMMENT = network traffic monitor and statistics DISTNAME = slurm-0.3.3 -REVISION = 1 +REVISION = 2 CATEGORIES = net HOMEPAGE = http://www.wormulon.net/slurm/ Index: patches/patch-src_openbsd_c =================================================================== RCS file: patches/patch-src_openbsd_c diff -N patches/patch-src_openbsd_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_openbsd_c 23 Feb 2015 11:29:22 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- src/openbsd.c.orig Sun Feb 23 11:26:02 2003 ++++ src/openbsd.c Mon Feb 23 05:19:51 2015 +@@ -128,7 +128,7 @@ int get_stat(void) + /* search for the right network interface */ + if (sdl->sdl_family != AF_LINK) + continue; +- if (strcmp(sdl->sdl_data, ifdata.if_name) != 0) ++ if (strncmp(sdl->sdl_data, ifdata.if_name, strlen(ifdata.if_name)) != 0) + continue; + strncpy(s, sdl->sdl_data, sdl->sdl_nlen); + s[sdl->sdl_nlen] = '\0';
