Debian Bug Tracking System <[email protected]> (07/12/2009):
> It has been closed by Cyril Brulebois <[email protected]>.

Please find attached the final patch for my NMU. The previous one
wasn't ACKed, I got no response for my FTBFS-fixing patch, so I
uploaded directly after some months.

Mraw,
KiBi.
diff -u nload-0.6.0/src/proc.cpp nload-0.6.0/src/proc.cpp
--- nload-0.6.0/src/proc.cpp
+++ nload-0.6.0/src/proc.cpp
@@ -33,7 +33,7 @@
 #include <net/if.h>
 #include <unistd.h>
 
-#ifdef HAVE_LINUX
+#if defined(HAVE_LINUX) || defined(__GLIBC__)
 	#include <sys/time.h>
 	#include <string>
 	using std::string;
diff -u nload-0.6.0/debian/changelog nload-0.6.0/debian/changelog
--- nload-0.6.0/debian/changelog
+++ nload-0.6.0/debian/changelog
@@ -1,3 +1,11 @@
+nload (0.6.0-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS on GNU/kFreeBSD: Also test whether defined(__GLIBC__), not
+    only whether defined(HAVE_LINUX) in src/proc.cpp (Closes: #542532).
+
+ -- Cyril Brulebois <[email protected]>  Mon, 07 Dec 2009 11:14:54 +0100
+
 nload (0.6.0-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: Digital signature

Reply via email to