diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-03-06 06:17:37 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-03-06 06:17:37 +0000 |
commit | 57326c0495fccdb4ffad600fc79be35ea34fad0a (patch) | |
tree | 6f6d5101e50ea9e713994888bcb22bdfa5914844 /net-proxy/dante/files | |
parent | Version bump. (diff) | |
download | gentoo-2-57326c0495fccdb4ffad600fc79be35ea34fad0a.tar.gz gentoo-2-57326c0495fccdb4ffad600fc79be35ea34fad0a.tar.bz2 gentoo-2-57326c0495fccdb4ffad600fc79be35ea34fad0a.zip |
Fix a macro to be variadic. Reported by Ben Kohler, patch contributed by Brennan Shacklett. Fixes bug #460408.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'net-proxy/dante/files')
-rw-r--r-- | net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch b/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch new file mode 100644 index 000000000000..52af3d73ec97 --- /dev/null +++ b/net-proxy/dante/files/dante-1.4.0-osdep-format-macro.patch @@ -0,0 +1,15 @@ +diff -urN dante-1.4.0-pre1-orig/include/osdep.h dante-1.4.0-pre1/include/osdep.h +--- dante-1.4.0-pre1-orig/include/osdep.h 2013-03-05 16:05:17.097007863 -0800 ++++ dante-1.4.0-pre1/include/osdep.h 2013-03-05 16:05:39.259007921 -0800 +@@ -225,9 +225,9 @@ + #endif /* HAVE_DECL_NONNULL */ + + #if HAVE_DECL_FORMAT +-#define FORMAT(x) format(x) ++#define FORMAT(...) format(__VA_ARGS__) + #else +-#define FORMAT(x) ++#define FORMAT(...) + #endif /* HAVE_DECL_FORMAT */ + + #if HAVE_LINUX_BUGS |