From 34a56117027432ca87ae3151c63cd2a4cf5cbbd5 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 7 Dec 2005 15:18:33 +0000 Subject: Fix interface error to allow compilation on DragonFly. --- sysutils/dbus/distinfo | 3 ++- sysutils/dbus/patches/patch-ac | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 sysutils/dbus/patches/patch-ac (limited to 'sysutils/dbus') diff --git a/sysutils/dbus/distinfo b/sysutils/dbus/distinfo index fb7c8045177..92bc69cf8d6 100644 --- a/sysutils/dbus/distinfo +++ b/sysutils/dbus/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/03/22 10:55:13 jmmv Exp $ +$NetBSD: distinfo,v 1.4 2005/12/07 15:18:33 joerg Exp $ SHA1 (dbus-0.23.4.tar.gz) = 57ea3dd1a0ef520b1f891932e7ccd6b8d59eaca9 RMD160 (dbus-0.23.4.tar.gz) = 94c6ed261cbf41695b7cc15c99ef929868f8645d Size (dbus-0.23.4.tar.gz) = 1288374 bytes SHA1 (patch-aa) = 4f03adb4bf41359a6eed93965786b93d4c92f87d SHA1 (patch-ab) = e0f5955a2b54e557e636f23715fbb6484c479e1f +SHA1 (patch-ac) = 7117c0384360702cd725c24f522d275127e65556 diff --git a/sysutils/dbus/patches/patch-ac b/sysutils/dbus/patches/patch-ac new file mode 100644 index 00000000000..3317ce3f59b --- /dev/null +++ b/sysutils/dbus/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2005/12/07 15:18:33 joerg Exp $ + +--- dbus/dbus-sysdeps.c.orig 2005-12-03 01:22:01.000000000 +0000 ++++ dbus/dbus-sysdeps.c +@@ -862,8 +862,8 @@ _dbus_read_credentials_unix_socket (int + #ifdef HAVE_CMSGCRED + if (cmsg->cmsg_len < sizeof (cmsgmem) || cmsg->cmsg_type != SCM_CREDS) + { +- dbus_set_error (error, DBUS_ERROR_FAILED); +- _dbus_verbose ("Message from recvmsg() was not SCM_CREDS\n"); ++ dbus_set_error (error, DBUS_ERROR_FAILED, ++ "Message from recvmsg() was not SCM_CREDS"); + return FALSE; + } + #endif -- cgit v1.2.3