pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/bmon
Module Name: pkgsrc
Committed By: wiedi
Date: Mon Jul 3 11:53:11 UTC 2017
Modified Files:
pkgsrc/net/bmon: Makefile distinfo
Added Files:
pkgsrc/net/bmon/patches: patch-src_in__netlink.c
Log Message:
fix build on SunOS
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/bmon/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/bmon/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/bmon/patches/patch-src_in__netlink.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/bmon/Makefile
diff -u pkgsrc/net/bmon/Makefile:1.18 pkgsrc/net/bmon/Makefile:1.19
--- pkgsrc/net/bmon/Makefile:1.18 Wed Jan 4 01:49:41 2017
+++ pkgsrc/net/bmon/Makefile Mon Jul 3 11:53:11 2017
@@ -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"
Index: pkgsrc/net/bmon/distinfo
diff -u pkgsrc/net/bmon/distinfo:1.6 pkgsrc/net/bmon/distinfo:1.7
--- pkgsrc/net/bmon/distinfo:1.6 Fri Dec 25 20:08:38 2015
+++ pkgsrc/net/bmon/distinfo Mon Jul 3 11:53:11 2017
@@ -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
Added files:
Index: pkgsrc/net/bmon/patches/patch-src_in__netlink.c
diff -u /dev/null pkgsrc/net/bmon/patches/patch-src_in__netlink.c:1.1
--- /dev/null Mon Jul 3 11:53:11 2017
+++ pkgsrc/net/bmon/patches/patch-src_in__netlink.c Mon Jul 3 11:53:11 2017
@@ -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;
Home |
Main Index |
Thread Index |
Old Index