summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-05-07 20:04:53 +0200
committerCraig Andrews <candrews@gentoo.org>2024-05-07 14:35:25 -0400
commit952d6f852c860f4cc37b98ca10a509e78bc78d60 (patch)
tree618fa4053ed22b90d0c6a2e31139a32a6b9bcb73 /net-analyzer
parentnet-analyzer/netdata: remove unused patch (diff)
downloadgentoo-952d6f852c860f4cc37b98ca10a509e78bc78d60.tar.gz
gentoo-952d6f852c860f4cc37b98ca10a509e78bc78d60.tar.bz2
gentoo-952d6f852c860f4cc37b98ca10a509e78bc78d60.zip
net-analyzer/netdata: fix bug #928164
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/928164 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/netdata/files/netdata-1.45.3-dbengine.patch13
-rw-r--r--net-analyzer/netdata/netdata-1.45.3.ebuild2
2 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/netdata/files/netdata-1.45.3-dbengine.patch b/net-analyzer/netdata/files/netdata-1.45.3-dbengine.patch
new file mode 100644
index 000000000000..66392c9b7203
--- /dev/null
+++ b/net-analyzer/netdata/files/netdata-1.45.3-dbengine.patch
@@ -0,0 +1,13 @@
+--- a/src/daemon/main.c
++++ b/src/daemon/main.c
+@@ -1520,8 +1520,9 @@
+
+ // set defaults for dbegnine unittest
+ config_set(CONFIG_SECTION_DB, "dbengine page type", "gorilla");
++#ifdef ENABLE_DBENGINE
+ default_rrdeng_disk_quota_mb = default_multidb_disk_quota_mb = 256;
+-
++#endif
+ if (sqlite_library_init())
+ return 1;
+
diff --git a/net-analyzer/netdata/netdata-1.45.3.ebuild b/net-analyzer/netdata/netdata-1.45.3.ebuild
index 0d57f53917bc..e7d91907df53 100644
--- a/net-analyzer/netdata/netdata-1.45.3.ebuild
+++ b/net-analyzer/netdata/netdata-1.45.3.ebuild
@@ -83,6 +83,8 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/${P}-dbengine.patch" )
+
FILECAPS=(
'cap_dac_read_search,cap_sys_ptrace+ep'
'usr/libexec/netdata/plugins.d/apps.plugin'