Re: ANNOUNCE: The 6.5.0.beta9 snapshot of fetchmail is available
Christian Ebert <[email protected]> Thu, 12 Jan 2023 16:07:25 +0000
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Organization | Phloxic Productions https://phloxic.productions |
| Message-ID | <[email protected]> |
Hi Matthias,
* Matthias Andree on Friday, January 06, 2023 at 22:09:32 +0100:
> The 6.5.0.beta9 release of fetchmail is now available at the usual locations,
On MacOS 12.6.2 I had to revert getopt.h to beta8 state:
--- getopt.h.orig 2023-01-12 15:53:05.000000000 +0000
+++ getopt.h 2023-01-12 15:53:31.000000000 +0000
@@ -101,7 +101,7 @@
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */
-extern int getopt (void);
+extern int getopt ();
#endif /* __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
const struct option *longopts, int *longind);
To avoid the following error:
In file included from fetchmail.c:37:
./getopt.h:104:12: error: conflicting types for 'getopt'
extern int getopt (void);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:509:6: note: previous declaration is here
int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt);
^
1 error generated.
make[2]: *** [fetchmail.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
HTH
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