Checking patch stdio-common/vfscanf-internal.c... error: while searching for: return EOF; \ } \ } while (0) #define LOCK_STREAM(S) \ __libc_cleanup_region_start (1, (void (*) (void *)) &_IO_funlockfile, (S)); \ _IO_flockfile (S) #define UNLOCK_STREAM(S) \ _IO_funlockfile (S); \ __libc_cleanup_region_end (0) struct ptrs_to_free error: patch failed: stdio-common/vfscanf-internal.c:177 Hunk #2 succeeded at 197 (offset -4 lines). Applying patch stdio-common/vfscanf-internal.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly.