mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
rspamd: fix arm systems.
This commit is contained in:
parent
1f427d06bd
commit
396487702e
2 changed files with 28 additions and 4 deletions
27
srcpkgs/rspamd/patches/fix-issue-with-va_list-passing.patch
Normal file
27
srcpkgs/rspamd/patches/fix-issue-with-va_list-passing.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
From f10b11ddf685392b18218f6003e2eb3b6295dfd3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
||||||
|
Date: Wed, 23 Sep 2015 13:43:59 +0100
|
||||||
|
Subject: [PATCH] Fix issue with va_list passing.
|
||||||
|
|
||||||
|
Issue: #379
|
||||||
|
Reported by: @Gottox
|
||||||
|
---
|
||||||
|
src/libutil/logger.c | 5 +++--
|
||||||
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/libutil/logger.c b/src/libutil/logger.c
|
||||||
|
index 65cb67c..105b593 100644
|
||||||
|
--- src/libutil/logger.c
|
||||||
|
+++ src/libutil/logger.c
|
||||||
|
@@ -923,8 +923,9 @@ rspamd_glib_log_function (const gchar *log_domain,
|
||||||
|
void
|
||||||
|
rspamd_glib_printerr_function (const gchar *message)
|
||||||
|
{
|
||||||
|
- rspamd_common_logv (NULL, G_LOG_LEVEL_CRITICAL, "glib", NULL, G_STRFUNC,
|
||||||
|
- message, NULL);
|
||||||
|
+ rspamd_common_log_function (NULL, G_LOG_LEVEL_CRITICAL, "glib",
|
||||||
|
+ NULL, G_STRFUNC,
|
||||||
|
+ "%s", message);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rspamd'
|
# Template file for 'rspamd'
|
||||||
pkgname=rspamd
|
pkgname=rspamd
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
-DRSPAMD_USER=rspamd \
|
-DRSPAMD_USER=rspamd \
|
||||||
|
@ -52,9 +52,6 @@ conf_files="
|
||||||
/etc/rspamd/worker-controller.inc
|
/etc/rspamd/worker-controller.inc
|
||||||
/etc/rspamd/statistic.conf"
|
/etc/rspamd/statistic.conf"
|
||||||
|
|
||||||
# XXX
|
|
||||||
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/17788/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" $makedepends"
|
hostmakedepends+=" $makedepends"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue