Your message dated Fri, 10 Apr 2009 20:00:43 +0200
with message-id <[email protected]>
has caused the   report #494874,
regarding rrdtool: FTBFS on GNU/kFreeBSD
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
494874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494874
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to