Commit 63b1f02b authored by Mike Miller's avatar Mike Miller

Add 08_gcc_format_security.patch to build with dpkg-buildflags.

parent 4276dea4
......@@ -7,6 +7,7 @@ cdargs (1.35-9) UNRELEASED; urgency=low
[ Mike Miller ]
* Adopt this package. (Closes: #674833) Thanks to Francois Marier.
* Add 08_gcc_format_security.patch to build with dpkg-buildflags.
-- Mike Miller <mtmiller@ieee.org> Thu, 10 Nov 2011 22:35:36 +1300
......
Description: Fix for FTBFS with -Werror=format-security from dpkg-buildflags
Forwarded: no
Author: Mike Miller <mtmiller@ieee.org>
Last-Update: 2012-06-06
--- a/src/cdargs.cc
+++ b/src/cdargs.cc
@@ -1301,7 +1301,7 @@ void helpscreen(void) {
void fatal_exit(char* msg) {
endwin();
- fprintf(stderr, msg);
+ fprintf(stderr, "%s", msg);
exit(1);
}
......@@ -5,3 +5,4 @@
05_manpage_hyphens.patch
06_manpage_paths.patch
07_manpage_fsf_address.patch
08_gcc_format_security.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment