mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
dbus: Fix compiling with newer glibc.
This commit is contained in:
11
src/patches/dbus-1.0.3-compile-fix-1.patch
Normal file
11
src/patches/dbus-1.0.3-compile-fix-1.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- dbus-1.0.1.orig/dbus/dbus-sysdeps-unix.c 2009-01-01 03:50:33.000000000 +0200
|
||||
+++ dbus-1.0.1.orig/dbus/dbus-sysdeps-unix.c 2009-01-01 04:09:24.000000000 +0200
|
||||
@@ -992,7 +992,7 @@
|
||||
_dbus_verbose ("read credentials byte\n");
|
||||
|
||||
{
|
||||
-#ifdef SO_PEERCRED
|
||||
+#if defined(SO_PEERCRED) && defined(HAVE_GETPEERUCRED)
|
||||
struct ucred cr;
|
||||
int cr_len = sizeof (cr);
|
||||
|
||||
Reference in New Issue
Block a user