summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a653a02)
raw | patch | inline | side by side (parent: a653a02)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 18 May 2012 17:09:06 +0000 (19:09 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 18 May 2012 17:09:06 +0000 (19:09 +0200) |
… by forcing the processes plugin on kfreebsd and manually defining
HAVE_STRUCT_KINFO_PROC_FREEBSD.
HAVE_STRUCT_KINFO_PROC_FREEBSD.
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 3745905b8fbfccca1a3b622aa2f54d50f6e3ef3d..befdcc6dfac1fbadcc085223d81580b82099c702 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
architecture directory, thus, making sure armhf and armel are supported
as well; thanks to peter green for reporting this and providing the
pointer (Closes: #656274).
+ - Work around #673431 (kvm.h requires sys/types.h) by forcing the processes
+ plugin on kfreebsd and manually defining HAVE_STRUCT_KINFO_PROC_FREEBSD.
* debian/README.Debian:
- Added section 'Cleanup of old data' explaining how to get rid of
out-dated data files (e.g. RRD files).
diff --git a/debian/rules b/debian/rules
index b75ccc7ef311b3f00726f4a77b7eda1f08b9157d..be53f76286579017bc1cbc855de2cce0705dcaf7 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
# These plugins have not been ported to FreeBSD yet.
ifneq (,$(filter kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
+ # Work-around an incomplete check for kvm functionality
+ CPPFLAGS += -DHAVE_STRUCT_KINFO_PROC_FREEBSD
+ confflags += --enable-processes=force
+
confflags += \
--disable-battery \
--disable-conntrack \