Re: ANNOUNCE: The 6.5.0.beta9 snapshot of fetchmail is available

Christian Ebert <[email protected]> Sat, 14 Jan 2023 09:06:59 +0000
Newsgroups gmane.mail.fetchmail.user
Organization Phloxic Productions https://phloxic.productions
Message-ID <Y8Jws5/[email protected]>
* Matthias Andree on Friday, January 13, 2023 at 23:49:02 +0100:
> Am 12.01.23 um 17:07 schrieb Christian Ebert:
>> -extern int getopt (void);
>> +extern int getopt ();
> 
> [...]
> 
> So, since fetchmail 6.5 will expect some degree of standards
> conformance, and unistd.h has been required to provide a getopt()
> declaration since before the dawn of ages, I will just strip this and
> the #ifdef stuff. This should be fixed in git 6b8fb508. Can you please
> try if that version works for you, or else, download from Gitlab, and
> see if you can still compile it on MacOS? Link:
> https://gitlab.com/fetchmail/fetchmail/-/raw/legacy_6x/getopt.h?inline=false

6b8fb508 builds fine on MacOS 12.6.2, fwiw also as universal. 
Also seems to do its job nicely.

Thanks for the quick fix.

cheers,

Christian
-- 
LAST SHIP HOME                   --->> https://lastshiphome.de/en
Official Selection                           DOK.fest Munich 2018
German Ocean Film Award                        CineMare Kiel 2019
Best Documentary Feature   Wales International Film Festival 2020