Delete debian/patches/desmume-0.9.13-formatstring.patch

This commit is contained in:
Kimpe Andy 2024-02-02 01:40:15 +01:00 committed by GitHub
parent 137ea7f197
commit 7302ec3bf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
diff -durN desmume-release_0_9_13.orig/desmume/src/commandline.cpp desmume-release_0_9_13/desmume/src/commandline.cpp
--- desmume-release_0_9_13.orig/desmume/src/commandline.cpp 2022-05-23 06:37:41.000000000 +0200
+++ desmume-release_0_9_13/desmume/src/commandline.cpp 2022-06-18 18:40:49.218922840 +0200
@@ -31,7 +31,7 @@
#include <compat/getopt.h>
//#include "frontend/modules/mGetOpt.h" //to test with this, make sure global `optind` is initialized to 1
-#define printerror(...) fprintf(stderr, __VA_ARGS__)
+#define printerror(...) fprintf(stderr, "%s", __VA_ARGS__)
int _scanline_filter_a = 0, _scanline_filter_b = 2, _scanline_filter_c = 2, _scanline_filter_d = 4;
int _commandline_linux_nojoy = 0;
@@ -397,7 +397,7 @@
if(opt_help)
{
- printf(help_string);
+ printf("%s", help_string);
exit(1);
}