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
Description: Digital signature
_______________________________________________ rrd-developers mailing list rrd-developers@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers