See messages forwarded below. Sent to the wrong bug report in error.

Begin forwarded message:

From: Alasdair McWilliam <[EMAIL PROTECTED]>
Date: 16 May 2005 14:45:15 BDT
To: Marc Haber <[EMAIL PROTECTED]>
Subject: Fwd: Bug#307231: RageIRCd build failure on s390


Package: rageircd
Version: 2.0.0-2

Re. the below message, the configure.ac line number may be incorrect as autoconf has changed a bit between 2.0.0 and the current BLUEMOON revision. It shouldn't be too far out though.

Alasdair

Begin forwarded message:

From: Alasdair McWilliam <[EMAIL PROTECTED]>
Date: 16 May 2005 14:43:06 BDT
To: Marc Haber <[EMAIL PROTECTED]>
Subject: Re: Bug#307231: RageIRCd build failure on s390


Package: rageircd
Version: 2.0.0-2

Hi Marc,

Apologies for not getting back to you sooner - I've been working hard.

I've got around to the proper bug fix so bare with me.

Firstly, replace all the current VA_COPY declaration statements in include/common.h with:

#ifdef HAVE___VA_COPY
#define VA_COPY __va_copy
#elif defined(HAVE_VA_COPY)
#define VA_COPY va_copy
#else
#define VA_COPY(x, y) x = y
#endif

Secondly, in configure.ac line 281:

AC_CHECK_FUNCS([times index rindex setlinebuf])

Change to:

AC_CHECK_FUNCS([times index rindex setlinebuf va_copy __va_copy])

Thirdly, re-generate the rage2 autoconf. For this just execute ./config -a. You will see:

persephone$ ./config -a
Rebuilding configure... done!
Rebuilding include/setup.h.in... done!

From here, do a make distclean to erase any junk and re-configure as normal. Configure should detect the type of va_copy implementation on the host architecture and set itself up accordingly. :)

Once again apologies for the delay. I know this e-mail isn't very professional of me but I haven't got time to back-port the changes to a clean 2.0.0 and patch. This code will be going into the BLUEMOON branch today. (Build 100 I think.)

Regards
Alasdair


On 15 May 2005, at 15:20, Marc Haber wrote:


Thiemo Seufer suggests replacing the entire VA_COPY detection code with:

#if defined(__GNUC__) || (defined(__powerpc__) && defined(__FreeBSD__))
#define VA_COPY __va_copy
#elif defined(__powerpc__) && defined(__NetBSD__)
#define VA_COPY va_copy
#else
#define VA_COPY(x, y) x = y
#endif

With that page, a binary is created on s390 (cannot verify whether it
is actually runnable), and a working binary is created on i386.

Please indicate whether that fix would be appropriate for you as I
don't want to have a package in Debian that deviates too far from your
work.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835






Reply via email to