Bug#300967: [Debian wishlist item #300967] fails to build on kfreebsd-gnu (again)

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 300967@bugs.debian.org
Wed, 23 Mar 2005 07:22:57 +0100


Hi,

exim still does not build on kfreebsd-gnu. A one-line patch to a linux
build file is needed.

----- Forwarded message from Robert Millan <rmh@debian.org> -----

> From: Robert Millan <rmh@debian.org>
> Subject: FTBFS on kfreebsd-gnu (again)
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Date: Wed, 23 Mar 2005 01:00:53 +0100

> Oops.  Here we go again.  This time is a one-liner though, could you pass this
> to upstream?  (My mails to their list bounce due to some sort of evil
> blacklisting)
> 
> I'm sorry I was supposed to test it properly last time, but I just checked that
> my patch was fully applied.  Will do better next time!
> 
> Patch attached.
> 
> diff -ur exim4-4.50.old/OS/os.c-Linux exim4-4.50/OS/os.c-Linux
> --- exim4-4.50.old/OS/os.c-Linux	2005-02-17 15:49:11.000000000 +0100
> +++ exim4-4.50/OS/os.c-Linux	2005-03-22 23:47:51.000000000 +0100
> @@ -20,7 +20,7 @@
>  provide the function. However, when compiling os.c for utilities, we may not
>  want this at all, so check that it isn't set first. */
>  
> -#ifndef OS_LOAD_AVERAGE
> +#if !defined(OS_LOAD_AVERAGE) && defined(__linux__)
>  #define OS_LOAD_AVERAGE
>  
>  /* Linux has 2 ways of returning load average:


----- End forwarded message -----

Please consider applying in the exim CVS.

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