[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-developers
Subject:    Re: [rrd-developers] Bug#494874: rrdtool: FTBFS on GNU/kFreeBSD
From:       Sebastian Harl <sh () tokkee ! org>
Date:       2009-04-10 18:00:43
Message-ID: 20090410180043.GH3811 () kolibri ! tokkee ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi,

The following has been reported as Debian bug #494874 [1]. I think it makes
sense to include that patch upstream ...

[1] http://bugs.debian.org/494874

On Tue, Aug 12, 2008 at 09:39:10PM +0200, Petr Salinger wrote:
> the current version fails to build on GNU/kFreeBSD,
> it have to be treated in the same way as linux.
> 
> It needs small change in acinclude.m4
> and regenerated aclocal.m4 and configure.
> 
> Please find attached patch with that.
> 
> It would also be nice if you can ask upstream
> to include similar change.

On Wed, Aug 13, 2008 at 01:18:03PM +0200, Petr Salinger wrote:
> > How can I regenerate that patch on my own? Is it sufficient to just use
> > up-to-date autotools? Which version do I need to use?
> 
> I applied patch bellow, and run (on up-to-date sid)
> 
> aclocal-1.9
> autoconf
> 
> Petr
> 
> only in patch2:
> unchanged:
> --- rrdtool-1.3.1.orig/acinclude.m4
> +++ rrdtool-1.3.1/acinclude.m4
> @@ -289,7 +289,7 @@
> case "${host_cpu}-${host_os}" in
> *-aix* | *-freebsd* | *-darwin*) x_rflag="-D_THREAD_SAFE";;
> *solaris* | *-osf* | *-hpux*) x_rflag="-D_REENTRANT";;
> -            *-linux*)
> +            *-linux*|*-k*bsd*-gnu*|*-gnu*)
> if test x"$PTHREAD_CFLAGS" = "x-pthread"; then
> # For Linux/gcc "-pthread" implies "-lpthread". We need, however, to make this \
> explicit # in PTHREAD_LIBS such that a shared library to be built properly depends \
> on libpthread.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin


["signature.asc" (application/pgp-signature)]

_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic