🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88621

Re: SLRN build fail on macOS

#88621
From: Julien ÉLIE
Date: Wed, 10 Feb 2021 22:10
56 lines
3606 bytes
Bonsoir Gérald,

> Thanks to Jean-Pierre Kuypers on fr.*, the problem is known but the
> author of the patch says that he doesn't find where to submit it:
> https://trac.macports.org/ticket/61662

After 4 years without any changes in slrn source code, there have been 3 
commits upstream last month from "jedsoft":
   https://github.com/arafel/slrn/commits/master

So indeed the best move would be to contact that person (John E. Davis - 
http://www.jedsoft.org/) as well as the slrn-user mailing-list (only 6 
messages in 2020 according to Gmane archives...).


Note that the patch is related to "configure".  The real file to be 
patched upstream is autoconf/configure.ac, which contains the initial 
definition:

AC_DEFUN(CF_VA_COPY,
[
  dnl# va_copy checks taken from glib 1.2.8
  dnl#
  dnl# we currently check for all three va_copy possibilities, so we get
  dnl# all results in config.log for bug reports.
AC_MSG_CHECKING(for an implementation of va_copy())
AC_CACHE_VAL(slrn_cv_va_copy,[
         AC_RUN_IFELSE([AC_LANG_SOURCE([[
         #include <stdarg.h>
         void f (int i, ...) {

[...]



I believe they should use instead the following portable code from 
rra-c-util:

/*
  * C99 requires va_copy.  Older versions of GCC provide __va_copy.  Per the
  * Autoconf manual, memcpy is a generally portable fallback.
  */
#ifndef va_copy
#    ifdef __va_copy
#        define va_copy(d, s) __va_copy((d), (s))
#    else
#        define va_copy(d, s) memcpy(&(d), &(s), sizeof(va_list))
#    endif
#endif


-- 
Julien ÉLIE

« Quelle folie, Ô Astérix, que de t'être venu fourrer dans la gueule de
   la louve romaine. » (Astérix)
Technical Details
Message-ID: <s01ll7$sc6$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
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>

Show Full Headers
Complete Article Headers
Message-ID: <s01ll7$sc6$1@news.trigofacile.com>
Subject: Re: SLRN build fail on macOS
Date: Wed, 10 Feb 2021 23:10:41 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.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>
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
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 10 Feb 2021 22:10:47 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a7750079eee513fc88e4a7.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:79ee:e513:fc88:e4a7"; logging-data="29062"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1
In-Reply-To: <slrns27bjv.td4.gerald.niel+spam@home.niel.me>
Content-Language: fr