summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-09 22:24:58 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-09 22:24:58 +0900
commit942e97f4b4255da0a9e59a2d3164ce9da22ed5a7 (patch)
treed1371880931220f95b09fb0c20110fa6962a8ecb /app-editors/aee/files
parentapp-editors/aee: update to EAPI 6 (diff)
downloadgentoo-942e97f4b4255da0a9e59a2d3164ce9da22ed5a7.tar.gz
gentoo-942e97f4b4255da0a9e59a2d3164ce9da22ed5a7.tar.bz2
gentoo-942e97f4b4255da0a9e59a2d3164ce9da22ed5a7.zip
app-editors/aee: fix build with -Werror=format-security
Gentoo-Bug: 521012 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-editors/aee/files')
-rw-r--r--app-editors/aee/files/aee-Wformat-security.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-editors/aee/files/aee-Wformat-security.patch b/app-editors/aee/files/aee-Wformat-security.patch
new file mode 100644
index 000000000000..7bc4c9c39fa1
--- /dev/null
+++ b/app-editors/aee/files/aee-Wformat-security.patch
@@ -0,0 +1,11 @@
+--- a/aee.c
++++ b/aee.c
+@@ -2493,7 +2493,7 @@
+ }
+ if (shell_fork)
+ {
+- printf(press_ret_to_cont_str);
++ printf("%s", press_ret_to_cont_str);
+ fflush(stdout);
+ while (((in = getchar()) != '\n') && (in != '\r'))
+ ;