diff options
author | wiedi <wiedi@pkgsrc.org> | 2017-07-03 11:52:37 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2017-07-03 11:52:37 +0000 |
commit | fc9206bfe7667d5028e53750bdd53f9579db5ee6 (patch) | |
tree | 68982e54d845ad08b59214f574de158d1dd3399f /net | |
parent | 9bc689c623e233e044336960aef4df7083c8f417 (diff) | |
download | pkgsrc-fc9206bfe7667d5028e53750bdd53f9579db5ee6.tar.gz |
fix build on SunOS
Diffstat (limited to 'net')
-rw-r--r-- | net/bmon/Makefile | 3 | ||||
-rw-r--r-- | net/bmon/distinfo | 3 | ||||
-rw-r--r-- | net/bmon/patches/patch-src_in__netlink.c | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 45c07bc7333..a5c23f4d92c 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2017/01/04 01:49:41 roy Exp $ +# $NetBSD: Makefile,v 1.19 2017/07/03 11:53:11 wiedi Exp $ # DISTNAME= bmon-3.8 @@ -15,6 +15,7 @@ GNU_CONFIGURE= yes USE_TOOLS+= pkg-config CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CPPFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS .include "../../devel/confuse/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" diff --git a/net/bmon/distinfo b/net/bmon/distinfo index f1302edea67..ea4ff91576b 100644 --- a/net/bmon/distinfo +++ b/net/bmon/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.6 2015/12/25 20:08:38 joerg Exp $ +$NetBSD: distinfo,v 1.7 2017/07/03 11:53:11 wiedi Exp $ SHA1 (bmon-3.8.tar.gz) = f10ddfebf4b6c2fcdeea9ccd3027dd5291cd6838 RMD160 (bmon-3.8.tar.gz) = eba503ff9d5bedc3901ab546193effcef8fbb298 SHA512 (bmon-3.8.tar.gz) = 629a8678bf76e2dab125a08b334925f953e3ddd5ee0b2b865f157013a5462a5fa8e1bc76920487a03f5afdf12143c4a2cc1c6ab51d514119ca9754cc67117d84 Size (bmon-3.8.tar.gz) = 195437 bytes SHA1 (patch-examples_Makefile.in) = f7dab570d8b141226f70774aed3a5f119793229f +SHA1 (patch-src_in__netlink.c) = 2bdc721c284984a2839a33d1eef403afe8e4e35f SHA1 (patch-src_in__sysctl.c) = 71c0a11b7e19e0de0eaac281f94e18835aeb532e diff --git a/net/bmon/patches/patch-src_in__netlink.c b/net/bmon/patches/patch-src_in__netlink.c new file mode 100644 index 00000000000..363f90d25b7 --- /dev/null +++ b/net/bmon/patches/patch-src_in__netlink.c @@ -0,0 +1,14 @@ +$NetBSD: patch-src_in__netlink.c,v 1.1 2017/07/03 11:53:11 wiedi Exp $ + +no netlink support on SunOS +--- src/in_netlink.c.orig 2015-07-25 09:03:55.000000000 +0000 ++++ src/in_netlink.c +@@ -31,7 +31,7 @@ + #include <bmon/input.h> + #include <bmon/utils.h> + +-#ifndef SYS_BSD ++#if !defined(SYS_BSD) && !defined(__sun) + + static int c_notc = 0; + static struct element_group *grp; |