Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/dante/files: dante-1.4.0-osdep-format-macro.patch
Date: Wed, 06 Mar 2013 06:17:41
Message-Id: 20130306061737.AB0FA2171E@flycatcher.gentoo.org
1 tomwij 13/03/06 06:17:37
2
3 Added: dante-1.4.0-osdep-format-macro.patch
4 Log:
5 Fix a macro to be variadic. Reported by Ben Kohler, patch contributed by Brennan Shacklett. Fixes bug #460408.
6
7 (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
8
9 Revision Changes Path
10 1.1 net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch?rev=1.1&content-type=text/plain
14
15 Index: dante-1.4.0-osdep-format-macro.patch
16 ===================================================================
17 diff -urN dante-1.4.0-pre1-orig/include/osdep.h dante-1.4.0-pre1/include/osdep.h
18 --- dante-1.4.0-pre1-orig/include/osdep.h 2013-03-05 16:05:17.097007863 -0800
19 +++ dante-1.4.0-pre1/include/osdep.h 2013-03-05 16:05:39.259007921 -0800
20 @@ -225,9 +225,9 @@
21 #endif /* HAVE_DECL_NONNULL */
22
23 #if HAVE_DECL_FORMAT
24 -#define FORMAT(x) format(x)
25 +#define FORMAT(...) format(__VA_ARGS__)
26 #else
27 -#define FORMAT(x)
28 +#define FORMAT(...)
29 #endif /* HAVE_DECL_FORMAT */
30
31 #if HAVE_LINUX_BUGS