Bug#300967: FTBFS on kfreebsd-gnu (again)
Robert Millan
Robert Millan <rmh@debian.org>, 300967@bugs.debian.org
Wed, 23 Mar 2005 01:00:53 +0100
This is a multi-part MIME message sent by reportbug.
--===============1626568700==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: exim4
Version: 4.50-4+kbsd
Severity: wishlist
Tags: patch
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.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: GNU/kFreeBSD 5.3-5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages exim4 depends on:
ii exim4-base 4.50-4+kbsd support files for all exim MTA (v4
ii exim4-daemon-light 4.50-4+kbsd lightweight exim MTA (v4) daemon
-- no debconf information
--===============1626568700==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="exim4.diff"
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:
--===============1626568700==--