ports/devel/dbus/files/patch-tools_dbus-send.c
Jean-Yves Lefort f7b57fccb2 - Fix a patch which did not apply [1]
- Fix build on 4.x
- Also create ${PREFIX}/etc/dbus-1/system.d when installed from a package

Reported by:	Dennis Cabooter [1]
2005-07-16 15:47:02 +00:00

18 lines
443 B
C

--- tools/dbus-send.c.orig Sat Jul 16 17:31:11 2005
+++ tools/dbus-send.c Sat Jul 16 17:31:30 2005
@@ -401,6 +401,7 @@
if (container_type == DBUS_TYPE_DICT_ENTRY)
{
+ char sig[5];
arg = c;
c = strchr (c, ':');
if (c == NULL)
@@ -410,7 +411,6 @@
}
*(c++) = 0;
secondary_type = type_from_name (arg);
- char sig[5];
sig[0] = DBUS_DICT_ENTRY_BEGIN_CHAR;
sig[1] = type;
sig[2] = secondary_type;