Bug#520074: kdebase: FTBFS on GNU/kFreeBSD
Package: kdebase
Severity: important
Version: 4:3.5.10.dfsg.1-1
Tags: patch
User: glibc-bsd-devel@lists.alioth.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It is due to recently added patch 77_fix_ftbfs_ucred_redefinition.diff,
in order to fix #517566.
Please, could you drop current 77_fix_ftbfs_ucred_redefinition.diff
and instead use patch bellow.
There is yet another problem, the current version needs hal even
for GNU/kFreeBSD. Hopefully, it have been partially ported.
Please could you stop excluding[!kfreebsd-i386 !kfreebsd-amd64]
for libhal-dev and libhal-storage-dev.
Thanks in advance
Petr
--- kdesu/kdesud/secure.h~
+++ kdesu/kdesud/secure.h
@@ -12,7 +12,7 @@
#include <sys/types.h>
#include <sys/socket.h>
-#ifndef HAVE_STRUCT_UCRED
+#if !defined(__linux__) && !defined(HAVE_STRUCT_UCRED)
// `struct ucred' is not defined in glibc 2.0.
Reply to: