diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-12-29 07:30:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-12-29 07:30:09 +0000 |
commit | ab4319e4e5ab48c74696ab32a967414600cf94f0 (patch) | |
tree | 380c61818992e3a801e6e390e6c1bf9067d286b1 /debian/patches/compile-on-kfreebsd-hurd.patch.unused | |
parent | Removing unused shlibs:Depends on netdata-data which is arch-all anyway. (diff) | |
download | netdata-ab4319e4e5ab48c74696ab32a967414600cf94f0.tar.xz netdata-ab4319e4e5ab48c74696ab32a967414600cf94f0.zip |
Adding new patch to try building on kfreebsd.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/compile-on-kfreebsd-hurd.patch.unused')
-rw-r--r-- | debian/patches/compile-on-kfreebsd-hurd.patch.unused | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/compile-on-kfreebsd-hurd.patch.unused b/debian/patches/compile-on-kfreebsd-hurd.patch.unused deleted file mode 100644 index f2ba3f2a7..000000000 --- a/debian/patches/compile-on-kfreebsd-hurd.patch.unused +++ /dev/null @@ -1,25 +0,0 @@ -From: Lennart Weller <lhw@ring0.de> -Date: Tue, 15 May 2018 14:57:35 +0200 -Subject: compile on kfreebsd/hurd - ---- - src/common.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/common.c b/src/common.c -index 94fd5e4..daa315b 100644 ---- a/src/common.c -+++ b/src/common.c -@@ -3,10 +3,10 @@ - #ifdef __APPLE__ - #define INHERIT_NONE 0 - #endif /* __APPLE__ */ --#if defined(__FreeBSD__) || defined(__APPLE__) -+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__) || defined(__GNU__) - # define O_NOATIME 0 - # define MADV_DONTFORK INHERIT_NONE --#endif /* __FreeBSD__ || __APPLE__*/ -+#endif /* __FreeBSD__ || __APPLE__ || __FreeBSD_kernel__ || __GNU__ */ - - char *netdata_configured_hostname = NULL; - char *netdata_configured_config_dir = NULL; |