Package: kdenetwork
Version: 4:4.3.0-2
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs changes of build-depends to exclude linux specific
packages libasound2-dev, libiw-dev, libv4l-dev and
one line fix for kdenetwork-4.3.0/kppp/pppstats.cpp.
Please find attached patch with them.
It would also be nice if you can ask upstream
to include change for pppstats.cpp.
Thanks in advance
Petr
diff -u kdenetwork-4.3.0/debian/control kdenetwork-4.3.0/debian/control
--- kdenetwork-4.3.0/debian/control
+++ kdenetwork-4.3.0/debian/control
@@ -6,13 +6,16 @@
Build-Depends: cdbs (>= 0.4.51), debhelper (>= 7), quilt, pkg-kde-tools (>= 0.4.2),
kdelibs5-dev (>= 4:4.3.0), kdepimlibs5-dev (>= 4:4.3.0),
zlib1g-dev, libjpeg62-dev, libxml2-dev, libxslt1-dev, libssl-dev,
- libxdamage-dev, libxss-dev, libslp-dev, libiw-dev, libidn11-dev, libxtst-dev,
+ libxdamage-dev, libxss-dev, libslp-dev, libidn11-dev, libxtst-dev,
libvncserver-dev (>= 0.9.3), libqca2-dev (>= 2.0.0),
libsqlite3-dev, libqimageblitz-dev (>= 1:0.0.4),
libgmp3-dev, libotr2-dev, libboost-dev,
libavahi-compat-libdnssd-dev, libmeanwhile-dev, libmsn-dev (>= 4.0~beta2),
- libortp-dev, libspeex-dev, libasound2-dev (>= 1.0.14a) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
- libstreamanalyzer-dev, libgadu-dev, libknotificationitem-1-dev, libv4l-dev
+ libortp-dev, libspeex-dev,
+ libstreamanalyzer-dev, libgadu-dev, libknotificationitem-1-dev,
+ libasound2-dev (>= 1.0.14a) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+ libiw-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+ libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
Standards-Version: 3.8.2
Homepage: http://www.kde.org/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-kde/trunk/packages/kdenetwork
only in patch2:
unchanged:
--- kdenetwork-4.3.0.orig/kppp/pppstats.cpp
+++ kdenetwork-4.3.0/kppp/pppstats.cpp
@@ -92,7 +92,7 @@
#endif /* STREAMS */
-#if defined __OpenBSD__
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_ppp.h>