- Apply patch Patch1: ale-0.9.0.3-format-security.patch to build with -Werror=format-security" flag used in rawhide (bz#1036985) - Fix bogus dates in changelog.
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
--- a/ui/implication.h
|
|
+++ a/ui/implication.h
|
|
@@ -33,16 +33,16 @@ public:
|
|
static void changed(const char *description, const char *changes, const char *option = NULL) {
|
|
fprintf(stderr, "\n\n");
|
|
fprintf(stderr, "Program options have been automatically modified to satisfy the following:\n\n");
|
|
- fprintf(stderr, description);
|
|
+ fprintf(stderr, "%s", description);
|
|
fprintf(stderr, "\n\n");
|
|
|
|
fprintf(stderr, "Changes are as follows:\n\n");
|
|
- fprintf(stderr, changes);
|
|
+ fprintf(stderr, "%s", changes);
|
|
fprintf(stderr, "\n\n");
|
|
|
|
if (option) {
|
|
fprintf(stderr, "This is equivalent to manually setting the following options:\n\n");
|
|
- fprintf(stderr, option);
|
|
+ fprintf(stderr, "%s", option);
|
|
fprintf(stderr, "\n\n");
|
|
}
|
|
}
|
|
--- a/ui/unsupported.h
|
|
+++ a/ui/unsupported.h
|
|
@@ -32,7 +32,7 @@ public:
|
|
static void fornow(const char *description) {
|
|
fprintf(stderr, "\n\n");
|
|
fprintf(stderr, "The following feature is currently unsupported:\n\n");
|
|
- fprintf(stderr, description);
|
|
+ fprintf(stderr, "%s", description);
|
|
fprintf(stderr, "\n\n");
|
|
#if 0
|
|
fprintf(stderr, "For more information, see http://auricle.dyndns.org/ALE/unsupported/currently/\n\n");
|