From 05ed457898b5d6b86c0bd633d26ec5b4f0b21559 Mon Sep 17 00:00:00 2001 From: Kimpe Andy Date: Thu, 1 Feb 2024 10:59:29 +0100 Subject: [PATCH] Create 6508c2b115f954afece4243e36e9e35e1d459ea8.patch --- ...c2b115f954afece4243e36e9e35e1d459ea8.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 debian/patches/6508c2b115f954afece4243e36e9e35e1d459ea8.patch diff --git a/debian/patches/6508c2b115f954afece4243e36e9e35e1d459ea8.patch b/debian/patches/6508c2b115f954afece4243e36e9e35e1d459ea8.patch new file mode 100644 index 000000000..51d98e2b3 --- /dev/null +++ b/debian/patches/6508c2b115f954afece4243e36e9e35e1d459ea8.patch @@ -0,0 +1,31 @@ +From 6508c2b115f954afece4243e36e9e35e1d459ea8 Mon Sep 17 00:00:00 2001 +From: zeromus +Date: Thu, 1 Feb 2024 04:26:27 -0500 +Subject: [PATCH] placate -Werror=format-security (probably) (re: #768) + +--- + desmume/src/commandline.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/desmume/src/commandline.cpp b/desmume/src/commandline.cpp +index cb6c23ac4..4c7bcc4a0 100644 +--- a/desmume/src/commandline.cpp ++++ b/desmume/src/commandline.cpp +@@ -397,7 +397,7 @@ bool CommandLine::parse(int argc,char **argv) + + if(opt_help) + { +- printf(help_string); ++ printf("%s",help_string); + exit(1); + } + +@@ -571,7 +571,7 @@ bool CommandLine::validate() + + void CommandLine::errorHelp(const char* binName) + { +- printerror(help_string); ++ printerror("%s",help_string); + } + + void CommandLine::process_movieCommands()