Your message dated Fri, 6 Aug 2010 18:09:09 +1000
with message-id <201008061809.09692....@debian.org>
has caused the report #591745,
regarding knemo: FTBFS on GNU/kFreeBSD
to be marked as having been forwarded to the upstream software
author(s) jst...@users.sourceforge.net
(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 ow...@bugs.debian.org
immediately.)
--
591745: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591745
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
John,
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.
http://packages.qa.debian.org/k/knemo.html
Could I ask you to maintain the Cc: in any replies so they are filed correctly
in our Bug Tracking System.
Thanks,
Mark
---------- Forwarded Message ----------
Subject: [Pkg-kde-extras] Bug#591745: knemo: FTBFS on GNU/kFreeBSD
Date: Thursday 05 August 2010, 19:08:28
From: Petr Salinger <petr.salin...@seznam.cz>
To: sub...@bugs.debian.org
Package: knemo
Version: 0.6.3-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
Hi,
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
Petr
-----------------------------------------
--- 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;
#endif
}
--- 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>
+#endif
+
#include "config-knemo.h"
#include "bsdbackend.h"
#include "utils.h"
signature.asc
Description: This is a digitally signed message part.
--- End Message ---