blob: a8906195480efaadcbff44d21ea034dd95a0f2ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
https://git.savannah.gnu.org/cgit/texinfo.git/patch/?id=952b333db85f88fb51c7e051b15063d95cf7dfc8
https://lists.gnu.org/archive/html/bug-texinfo/2022-12/msg00034.html
https://bugs.gentoo.org/863713
From 952b333db85f88fb51c7e051b15063d95cf7dfc8 Mon Sep 17 00:00:00 2001
From: Gavin Smith <gavinsmith0123@gmail.com>
Date: Sat, 10 Dec 2022 01:10:38 +0000
Subject: =?UTF-8?q?*=20install-info/install-info.c=20(error):=20Declare=20?=
=?UTF-8?q?as=20static=20to=20avoid=20clash=20with=20error=20function=20fr?=
=?UTF-8?q?om=20glibc,=20called=20from=20gnulib.=20Report=20from=20Sam=20J?=
=?UTF-8?q?ames=20<sam@gentoo.org>=20and=20suggested=20solution=20from=20A?=
=?UTF-8?q?rsen=20Arsenovi=C4=87=20<arsen@aarsen.me>.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--- a/install-info/install-info.c
+++ b/install-info/install-info.c
@@ -214,7 +214,9 @@ vdiag (const char *fmt, const char *diagtype, va_list ap)
putc ('\n', stderr);
}
-void
+/* declare as static to avoid clash with glibc error function, called from
+ gnulib. */
+static void
error (const char *fmt, ...)
{
va_list ap;
--
cgit v1.1
|