[Bug 255697] New: OpenBSD Compile failure in kdebase-runtime 4.4.5 kdesu/kdesud/secure.cpp [patch included]
Onteria
onteria at scarletdevil.net
Sat Oct 30 21:04:31 BST 2010
https://bugs.kde.org/show_bug.cgi?id=255697
Summary: OpenBSD Compile failure in kdebase-runtime 4.4.5
kdesu/kdesud/secure.cpp [patch included]
Product: kde
Version: 4.4
Platform: Compiled Sources
OS/Version: OpenBSD
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: onteria at scarletdevil.net
Version: 4.4 (using KDE 4.4.5)
OS: OpenBSD
secure.cpp checks against SO_PEERCRED define to see whether or not getsockopt
is usable. Unfortunately while OpenBSD has a getsockopt and SO_PEERCRED
defined, the ucred struct is different.
It's actually better to utilise getpeereid. Since the SO_PEERCRED define will
be hit first, I've moved it below the HAVE_GETPEEREID check. Also I changed
some of the #else #if branching to use #elif for easier readability.
Finally, the check for HAVE_GETPEEREID was added to the cmake build files.
Let me know if you have any questions/concerns regarding this patch.
Reproducible: Didn't try
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list