File: format-security.patch

package info (click to toggle)
gnustep-dl2 0.12.0-16
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,076 kB
  • sloc: objc: 61,761; makefile: 33
file content (14 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix FTBFS with -Werror=format-security.
Author: Ilya Barygin <randomaction@ubuntu.com>

--- gnustep-dl2-0.12.0.orig/EOControl/EODebug.m
+++ gnustep-dl2-0.12.0/EOControl/EODebug.m
@@ -71,7 +71,7 @@ EOFLogC_(const char *file, int line, con
     }
 
   fprintf(stderr, "File %s: %d. ", file, line);
-  fprintf(stderr, string);
+  fprintf(stderr, "%s", string);
 
   len = strlen(string);