Skip to content

Instantly share code, notes, and snippets.

View yuriy-tereschuk's full-sized avatar

yuriy.tereshchuk yuriy-tereschuk

View GitHub Profile
@avoidik
avoidik / 006-glibc-conflict.patch
Last active April 3, 2024 19:49
Compile LEDE v17.01.4 for Mikrotik MetaROUTER (MIPS only)
--- a/misc/create_inode.c 2016-09-02 04:17:32.000000000 +0000
+++ b/misc/create_inode.c 2020-01-04 20:56:26.150590109 +0000
@@ -392,7 +392,7 @@
}
#endif /* !defined HAVE_PREAD64 && !defined HAVE_PREAD */
-static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
+static errcode_t copy_file_chunk(ext2_filsys fs, int fd, ext2_file_t e2_file,
off_t start, off_t end, char *buf,
char *zerobuf)