Re: [PATCH] declare free() in lib/free.c

2021-09-10 Thread Lucy Phipps
and that patch was a follow up to https://lists.gnu.org/r/bug-gnulib/2021-09/msg00024.html On Fri, 10 Sep 2021, 12:17 Lucy Phipps, wrote: > Simon, this patch wasn't applied to the gnulib repo, however > https://lists.gnu.org/r/bug-gnulib/2021-09/msg00032.html was. Sorry for >

Re: [PATCH] declare free() in lib/free.c

2021-09-10 Thread Lucy Phipps
Simon, this patch wasn't applied to the gnulib repo, however https://lists.gnu.org/r/bug-gnulib/2021-09/msg00032.html was. Sorry for the confusion. On Fri, 10 Sep 2021, 11:24 Simon Josefsson, wrote: > Bruno Haible writes: > > > What exactly is the problem that you were seeing? (Commands to repr

Fwd: #include on Android clang causes an error

2021-09-09 Thread Lucy Phipps
-- Forwarded message - From: Lucy Phipps Date: Thu, Sep 9, 2021 at 11:25 AM Subject: Re: #include on Android clang causes an error To: Paul Eggert it works perfectly now! and yeah i was planning on applying this to several gnu packages :) On Thu, Sep 9, 2021 at 8:12 AM Paul

Re: #include on Android clang causes an error

2021-09-08 Thread Lucy Phipps
i thought you might want the full log so here it is Running container 'termux-package-builder' from image 'termux/package-builder'... Creating new container... 5372f92bcc6a0cd8b72ad5a6642f0f686157453267663d595f632e008f1fd804 gpg: key 6700B77E6D8D0AE7: 4 signatures not checked due to missing keys g

Re: #include on Android clang causes an error

2021-09-08 Thread Lucy Phipps
the strerror_r() warnings are still there, but this fixed the free() warning On Wed, Sep 8, 2021 at 5:56 PM Paul Eggert wrote: > > Thank you for reporting the additional problems with 'free' and with > 'strerror_r'. I have theories as to why these problems occur, and have > installed Gnulib patch

[PATCH] declare free() in lib/free.c

2021-09-08 Thread Lucy Phipps
avoids an implicit declaration warning --- lib/free.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/free.c b/lib/free.c index 780f03dd1..804640c2e 100644 --- a/lib/free.c +++ b/lib/free.c @@ -27,9 +27,11 @@ # include +# undef free +void free (void *); + void rpl_f

Re: #include on Android clang causes an error

2021-09-08 Thread Lucy Phipps
21 at 7:49 AM Paul Eggert wrote: > > On 9/7/21 6:11 AM, Lucy Phipps wrote: > > > /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/malloc.h:168:37: > > error: unknown type name 'FILE' > > int malloc_info(int __must_be_zero, FILE*

#include on Android clang causes an error

2021-09-07 Thread Lucy Phipps
For example, building gzip 1.11 from the tar.xz source: In file included from /home/builder/.termux-build/gzip/src/lib/freading.c:20: In file included from /home/builder/.termux-build/gzip/src/lib/freading.h:18: In file included from ./stdio.h:43: In file included from /home/builder/.termux-build/_

Re: #include on Android clang causes an error

2021-09-07 Thread Lucy Phipps
since the official git repo's online viewer doesn't allow blame, the commit causing it was 48ece5c3f2185f52ab8cd73ceac9bd9f0e01eac6 On Tue, Sep 7, 2021 at 2:11 PM Lucy Phipps wrote: > > For example, building gzip 1.11 from the tar.xz source: > In file included from /home/bu

Re: #include on Android clang causes an error

2021-09-07 Thread Lucy Phipps
https://github.com/termux/termux-packages/pull/7480 btw. sorry about typos in the first email On Tue, Sep 7, 2021 at 2:16 PM Lucy Phipps wrote: > > since the official git repo's online viewer doesn't allow blame, the > commit causing it was 48ece5c3f2185f52ab8cd73ceac9bd9f