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





-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to