[Pkg-kde-extras] Bug#545958: k3b: FTBFS on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Thu Sep 10 10:00:49 UTC 2009


Package: k3b
Version: 1.0.5-3
Severity: important
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs some tweaks, please

1) alter libk3bdevice/k3bdevice.h as shown bellow.

2) create kfreebsd specific install file for libk3b3 by
     grep -v alsa libk3b3.install > libk3b3.install.kfreebsd

3) either lower Depends on cdrdao to Recommends
    or restrict the depends only for linux architectures by
    "cdrdao (>= 1.1.7-5) [linux-any]"

4) add into Build-Depends also "libcam-dev [kfreebsd-i386 kfreebsd-amd64]"


Thanks for your cooperation.

 	Petr


--- libk3bdevice/k3bdevice.h
+++ libk3bdevice/k3bdevice.h
@@ -27,6 +27,11 @@
  #include <k3bmsf.h>
  #include <k3bdevice_export.h>

+#if defined(__FreeBSD_kernel__)
+#undef Q_OS_LINUX
+#define Q_OS_FREEBSD 1
+#endif
+
  #ifdef Q_OS_FREEBSD
  struct cam_device;
  #endif






More information about the pkg-kde-extras mailing list