void-packages/srcpkgs/libmaa/patches/libmaa-1.4.2.patch

23 lines
554 B
Diff

From 08007ecd13798f752ef8c18f3cff25c0c0a6afc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Sat, 1 Dec 2018 00:54:26 +0100
Subject: [PATCH] Fix Werror=format-truncation
diff --git maa/log.c maa/log.c
index 8c68546..c31708b 100644
--- maa/log.c
+++ maa/log.c
@@ -297,7 +297,7 @@ static void _log_base_va(
{
va_list ap_copy;
time_t t;
- static char buf [4096] = "";
+ static char buf [8192] = "";
static char buf_main [4096] = "";
static char buf_preamble [256] = "";
--
2.19.1