Article View: news.software.readers
Article #264560Re: SLRN build fail on macOS
From: Gérald Niel
Date: Sat, 13 Feb 2021 12:23
Date: Sat, 13 Feb 2021 12:23
38 lines
3155 bytes
3155 bytes
[Followup-To: news.software.readers] Le Samedi 13 février 2021 à 09:24 UTC, Julien ÉLIE écrivait sur news.software.nntp : > Once in src/snprintf.c, where there is: > /* Define VA_COPY() to do the right thing for copying va_list variables. > * config.h may have already defined VA_COPY as va_copy or __va_copy. > */ > #ifndef VA_COPY > # if (defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) >|| defined (__WIN32__))) || defined (__WATCOMC__) > # define VA_COPY(ap1, ap2) (*(ap1) = *(ap2)) > # elif defined (VA_COPY_AS_ARRAY) > # define VA_COPY(ap1, ap2) memmove ((ap1), (ap2), sizeof (va_list)) > # else /* va_list is a pointer */ > # define VA_COPY(ap1, ap2) ((ap1) = (ap2)) > # endif /* va_list is a pointer */ > #endif /* !VA_COPY */ > And another time in src/misc.c where that piece of code is not present. > Well, to be straight-forward (though not optimal because with a > duplication), just add the same lines as above at the beginning of > src/misc.c. > I believe it will solve the problem. Thanks, it works. I will be able to test the patch for the libcanlock v3. @+ -- On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le gouvernement ; c'est la paix sans la violence. C'est le contraire précisément de tout ce qu'on lui reproche, soit par ignorance, soit par mauvaise foi. -+- Hem Day -+-
Technical Details
Message-ID:
<slrns2fh6p.vv.gerald.niel+spam@home.niel.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com> <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> <AABgIRNoBmwAAAMz.A1.flnews@WStation5.stz-e.de> <slrns24ikp.9uk.gerald.niel+spam@home.niel.me> <AABgIwHhIAEAAAoy.A1.flnews@WStation7.micha.freeshell.org> <slrns2773u.njo.gerald.niel+spam@home.niel.me> <slrns27bjv.td4.gerald.niel+spam@home.niel.me> <s01ll7$sc6$1@news.trigofacile.com> <slrns2f3eb.30mj.gerald.niel+spam@home.niel.me> <s085rs$b9p$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <slrns2fh6p.vv.gerald.niel+spam@home.niel.me> Subject: Re: SLRN build fail on macOS Date: Sat, 13 Feb 2021 12:23:53 +0000 From: Gérald Niel <gerald.niel+spam@gegeweb.invalid> References: <i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com> <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> <AABgIRNoBmwAAAMz.A1.flnews@WStation5.stz-e.de> <slrns24ikp.9uk.gerald.niel+spam@home.niel.me> <AABgIwHhIAEAAAoy.A1.flnews@WStation7.micha.freeshell.org> <slrns2773u.njo.gerald.niel+spam@home.niel.me> <slrns27bjv.td4.gerald.niel+spam@home.niel.me> <s01ll7$sc6$1@news.trigofacile.com> <slrns2f3eb.30mj.gerald.niel+spam@home.niel.me> <s085rs$b9p$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Cancel-Lock: sha256:VfHcJvGuBhCkcQfpgl9wPlzsiZQLTmN5JYQmC6CMfeg= Content-Transfer-Encoding: 8bit Organization: GegeWeb.ORG User-Agent: slrn/pre1.0.4-5 (Darwin) Mime-Version: 1.0 Injection-Date: Sat, 13 Feb 2021 12:23:53 -0000 (UTC) Content-Type: text/plain; charset=iso-8859-1 Reply-To: gerald@niel.me Followup-To: news.software.readers Mail-Copie-To: never Newsgroups: news.software.nntp,news.software.readers