Your message dated Fri, 6 Aug 2010 18:09:09 +1000
with message-id <>
has caused the   report #591745,
regarding knemo: FTBFS on GNU/kFreeBSD
to be marked as having been forwarded to the upstream software

(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

Debian Bug Tracking System
Contact with problems
--- Begin Message ---

Please find attached a suggested patch to allow knemo to build on GNU/kFreeBSD.

I can also recommend that you subscribe to the Debian Package Tracking System 
for knemo, that way you will receive these reports as quickly as we do.

Could I ask you to maintain the Cc: in any replies so they are filed correctly 
in our Bug Tracking System.


----------  Forwarded Message  ----------

Subject: [Pkg-kde-extras] Bug#591745: knemo: FTBFS on GNU/kFreeBSD
Date: Thursday 05 August 2010, 19:08:28
From: Petr Salinger <>

Package: knemo
Version: 0.6.3-1
Severity: important
Tags: patch
Usertags: kfreebsd


the current version fails to build on GNU/kFreeBSD.

It needs small tweaks. Please find attached patch with tweaks.
Beware, small fix in kfreebsd-kernel-headers is also needed,
it is pending for 0.54.

It would also be nice if you can ask upstream
to include attached patch.

Thanks in advance


--- knemo-0.6.3.orig/src/knemod/syncstats/stats_vnstat.cpp
+++ knemo-0.6.3/src/knemod/syncstats/stats_vnstat.cpp
@@ -84,7 +84,7 @@
     size_t len = sizeof( bootTime );
     int mib[2] = { CTL_KERN, KERN_BOOTTIME };
-    if ( sysctl( mib, 2, &btm, &len, NULL, 0 ) >= 0 )
+    if ( sysctl( mib, 2, &bootTime, &len, NULL, 0 ) >= 0 )
         mSysBtime = bootTime.tv_sec;
--- knemo-0.6.3.orig/src/knemod/backends/bsdbackend.cpp
+++ knemo-0.6.3/src/knemod/backends/bsdbackend.cpp
@@ -53,6 +53,11 @@
 #include <kio/global.h>
 #include <stdio.h>
+#ifdef __GLIBC__
+#include <unistd.h>
+#include <netinet/ether.h>
 #include "config-knemo.h"
 #include "bsdbackend.h"
 #include "utils.h"

Attachment: signature.asc
Description: This is a digitally signed message part.

--- End Message ---
pkg-kde-extras mailing list

Reply via email to