File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/sed/
22TERMUX_PKG_DESCRIPTION=" GNU stream editor for filtering/transforming text"
33TERMUX_PKG_LICENSE=" GPL-3.0"
44TERMUX_PKG_MAINTAINER=" @termux"
5- TERMUX_PKG_VERSION=4.9
6- TERMUX_PKG_REVISION=2
7- TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION} .tar.xz
8- TERMUX_PKG_SHA256=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181
5+ TERMUX_PKG_VERSION=4.10
6+ TERMUX_PKG_SRCURL=" https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION} .tar.xz"
7+ TERMUX_PKG_SHA256=b8e72182b2ec96a3574e2998c47b7aaa64cc20ce000d8e9ac313cc07cecf28c7
98TERMUX_PKG_ESSENTIAL=true
109TERMUX_PKG_BUILD_IN_SRC=true
1110TERMUX_PKG_GROUPS=" base-devel"
@@ -22,5 +21,5 @@ termux_step_pre_configure() {
2221}
2322
2423termux_step_post_configure () {
25- touch -d " next hour" $TERMUX_PKG_SRCDIR /doc/sed.1
24+ touch -d " next hour" " $TERMUX_PKG_SRCDIR /doc/sed.1"
2625}
Original file line number Diff line number Diff line change 1+ diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
2+ index c90f64d..b49ab74 100644
13--- a/lib/stdio-impl.h
24+++ b/lib/stdio-impl.h
3- @@ -68,8 +68,10 @@
4- # elif defined __ANDROID__ /* Android */
5- # ifdef __LP64__
6- # define _gl_flags_file_t int
7- + # define _gl_struct_file_off_t int64_t
8- # else
9- # define _gl_flags_file_t short
10- + # define _gl_struct_file_off_t __kernel_off_t
11- # endif
12- /* Up to this commit from 2015-10-12
13- <https://android.googlesource.com/platform/bionic.git/+/f0141dfab10a4b332769d52fa76631a64741297a>
14- @@ -96,7 +98,7 @@
5+ @@ -100,7 +100,7 @@
156 unsigned char _nbuf[1]; \
16- struct { unsigned char *_base; size_t _size; } _lb; \
7+ struct { unsigned char *_base; int _size; } _lb; \
178 int _blksize; \
189- fpos_t _offset; \
1910+ _gl_struct_file_off_t _offset; \
2011 /* More fields, not relevant here. */ \
2112 } *) fp)
22- # else
13+ /* See <https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/include/stdio.h>. */
14+ @@ -157,8 +157,10 @@
15+ # elif defined __ANDROID__ /* Android */
16+ # if defined __LP64__
17+ # define _gl_flags_file_t int
18+ + # define _gl_struct_file_off_t int64_t
19+ # else
20+ # define _gl_flags_file_t short
21+ + # define _gl_struct_file_off_t __kernel_off_t
22+ # endif
23+ # if defined __LP64__
24+ # define _gl_file_offset_t int64_t
You can’t perform that action at this time.
0 commit comments