mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to 0.36.1.
This commit is contained in:
parent
da752b7a4f
commit
b71b6bdc85
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141029
9 changed files with 11 additions and 123 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= dbus
|
PORTNAME= dbus
|
||||||
PORTVERSION= 0.35.2
|
PORTVERSION= 0.36.1
|
||||||
PORTREVISION?= 0
|
PORTREVISION?= 0
|
||||||
CATEGORIES?= devel gnome
|
CATEGORIES?= devel gnome
|
||||||
MASTER_SITES= http://dbus.freedesktop.org/releases/
|
MASTER_SITES= http://dbus.freedesktop.org/releases/
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (dbus-0.35.2.tar.gz) = 414680dddd3dec84cc3b0c45cdfaafbc
|
MD5 (dbus-0.36.1.tar.gz) = 48bcfc0806bb7bc914cc5cd2f7d40d69
|
||||||
SIZE (dbus-0.35.2.tar.gz) = 1583871
|
SIZE (dbus-0.36.1.tar.gz) = 1596804
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
--- dbus/dbus-sysdeps.c.orig Thu Jun 16 01:51:46 2005
|
--- dbus/dbus-sysdeps.c.orig Wed Aug 3 13:42:56 2005
|
||||||
+++ dbus/dbus-sysdeps.c Sat Jul 16 02:55:41 2005
|
+++ dbus/dbus-sysdeps.c Wed Aug 24 00:36:20 2005
|
||||||
@@ -742,16 +742,16 @@ write_credentials_byte (int
|
@@ -742,16 +742,16 @@ write_credentials_byte (int
|
||||||
{
|
{
|
||||||
int bytes_written;
|
int bytes_written;
|
||||||
char buf[1] = { '\0' };
|
char buf[1] = { '\0' };
|
||||||
-#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
|
-#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
|
||||||
- struct {
|
- struct {
|
||||||
+#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__))
|
+#if defined(HAVE_CMSGCRED)
|
||||||
+ union {
|
+ union {
|
||||||
struct cmsghdr hdr;
|
struct cmsghdr hdr;
|
||||||
- struct cmsgcred cred;
|
- struct cmsgcred cred;
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
-#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
|
-#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
|
||||||
+#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__))
|
+#if defined(HAVE_CMSGCRED)
|
||||||
iov.iov_base = buf;
|
iov.iov_base = buf;
|
||||||
iov.iov_len = 1;
|
iov.iov_len = 1;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
again:
|
again:
|
||||||
|
|
||||||
-#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
|
-#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
|
||||||
+#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__))
|
+#if defined(HAVE_CMSGCRED)
|
||||||
bytes_written = sendmsg (server_fd, &msg, 0);
|
bytes_written = sendmsg (server_fd, &msg, 0);
|
||||||
#else
|
#else
|
||||||
bytes_written = write (server_fd, buf, 1);
|
bytes_written = write (server_fd, buf, 1);
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
_dbus_credentials_clear (credentials);
|
_dbus_credentials_clear (credentials);
|
||||||
|
|
||||||
-#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED)
|
-#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED)
|
||||||
+#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED) && !defined(__FreeBSD__)
|
+#if defined(LOCAL_CREDS) && !defined(HAVE_CMSGCRED)
|
||||||
/* Set the socket to receive credentials on the next message */
|
/* Set the socket to receive credentials on the next message */
|
||||||
{
|
{
|
||||||
int on = 1;
|
int on = 1;
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_CMSGCRED
|
#ifdef HAVE_CMSGCRED
|
||||||
- if (cmsg->hdr.cmsg_len < sizeof (cmsg) || cmsg.hdr.cmsg_type != SCM_CREDS)
|
- if (cmsg.hdr.cmsg_len < sizeof (cmsg) || cmsg.hdr.cmsg_type != SCM_CREDS)
|
||||||
+ if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof (struct cmsgcred))
|
+ if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof (struct cmsgcred))
|
||||||
+ || cmsg.hdr.cmsg_type != SCM_CREDS)
|
+ || cmsg.hdr.cmsg_type != SCM_CREDS)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
--- glib/dbus-gidl.c.orig Sat Jul 9 13:52:52 2005
|
|
||||||
+++ glib/dbus-gidl.c Sat Jul 16 02:13:02 2005
|
|
||||||
@@ -662,8 +662,8 @@ property_info_unref (PropertyInfo *info)
|
|
||||||
info->base.refcount -= 1;
|
|
||||||
if (info->base.refcount == 0)
|
|
||||||
{
|
|
||||||
- base_info_free (info);
|
|
||||||
g_free (info->type);
|
|
||||||
+ base_info_free (info);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -722,8 +722,8 @@ arg_info_unref (ArgInfo *info)
|
|
||||||
if (info->base.refcount == 0)
|
|
||||||
{
|
|
||||||
g_hash_table_destroy (info->annotations);
|
|
||||||
- base_info_free (info);
|
|
||||||
g_free (info->type);
|
|
||||||
+ base_info_free (info);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
--- glib/dbus-gobject.c.orig Mon Apr 4 01:17:05 2005
|
|
||||||
+++ glib/dbus-gobject.c Mon Apr 4 01:17:17 2005
|
|
||||||
@@ -396,8 +396,8 @@ write_interface (gpointer key, gpointer
|
|
||||||
for (; methods; methods = methods->next)
|
|
||||||
{
|
|
||||||
DBusGMethodInfo *method;
|
|
||||||
- method = methods->data;
|
|
||||||
const char *args;
|
|
||||||
+ method = methods->data;
|
|
||||||
|
|
||||||
g_string_append_printf (xml, " <method name=\"%s\">\n",
|
|
||||||
method_name_from_object_info (object_info, method));
|
|
|
@ -1,37 +0,0 @@
|
||||||
--- glib/dbus-gvalue-utils.c.orig Mon Jul 11 00:54:18 2005
|
|
||||||
+++ glib/dbus-gvalue-utils.c Sat Jul 16 17:27:30 2005
|
|
||||||
@@ -855,7 +855,6 @@
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
- dbus_g_type_register_collection ("GArray", &array_vtable, 0);
|
|
||||||
|
|
||||||
static const DBusGTypeSpecializedCollectionVtable ptrarray_vtable = {
|
|
||||||
{
|
|
||||||
@@ -869,7 +868,6 @@
|
|
||||||
NULL,
|
|
||||||
};
|
|
||||||
|
|
||||||
- dbus_g_type_register_collection ("GPtrArray", &ptrarray_vtable, 0);
|
|
||||||
|
|
||||||
static const DBusGTypeSpecializedCollectionVtable slist_vtable = {
|
|
||||||
{
|
|
||||||
@@ -883,8 +881,6 @@
|
|
||||||
slist_end_append,
|
|
||||||
};
|
|
||||||
|
|
||||||
- dbus_g_type_register_collection ("GSList", &slist_vtable, 0);
|
|
||||||
-
|
|
||||||
static const DBusGTypeSpecializedMapVtable hashtable_vtable = {
|
|
||||||
{
|
|
||||||
hashtable_constructor,
|
|
||||||
@@ -898,6 +894,9 @@
|
|
||||||
hashtable_append
|
|
||||||
};
|
|
||||||
|
|
||||||
+ dbus_g_type_register_collection ("GSList", &slist_vtable, 0);
|
|
||||||
+ dbus_g_type_register_collection ("GArray", &array_vtable, 0);
|
|
||||||
+ dbus_g_type_register_collection ("GPtrArray", &ptrarray_vtable, 0);
|
|
||||||
dbus_g_type_register_map ("GHashTable", &hashtable_vtable, 0);
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
--- glib/dbus-gvalue.c.orig Mon Jul 11 12:12:49 2005
|
|
||||||
+++ glib/dbus-gvalue.c Sat Jul 16 02:15:19 2005
|
|
||||||
@@ -189,6 +189,10 @@ dbus_g_value_types_init (void)
|
|
||||||
{
|
|
||||||
static gboolean types_initialized;
|
|
||||||
|
|
||||||
+ static const DBusGTypeMarshalVtable basic_vtable = {
|
|
||||||
+ marshal_basic,
|
|
||||||
+ demarshal_basic
|
|
||||||
+ };
|
|
||||||
|
|
||||||
if (types_initialized)
|
|
||||||
return;
|
|
||||||
@@ -196,10 +200,6 @@ dbus_g_value_types_init (void)
|
|
||||||
dbus_g_type_specialized_init ();
|
|
||||||
dbus_g_type_specialized_builtins_init ();
|
|
||||||
|
|
||||||
- static const DBusGTypeMarshalVtable basic_vtable = {
|
|
||||||
- marshal_basic,
|
|
||||||
- demarshal_basic
|
|
||||||
- };
|
|
||||||
|
|
||||||
/* Register basic types */
|
|
||||||
{
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- 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;
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
lib/%%PYTHON_VERSION%%/site-packages/dbus.pth
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/__init__.py
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/__init__.py
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/__init__.pyc
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/__init__.pyc
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/__init__.pyo
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/__init__.pyo
|
||||||
|
|
Loading…
Add table
Reference in a new issue