diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-11-20 15:37:08 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-11-20 15:37:08 +0000 |
commit | 3680f27ebff58ece429c4e032f9ad84fb1372114 (patch) | |
tree | 6c5ff4664c1a779ddad350ac887e5706dbfdd4eb /devel/gobject-introspection/files/patch-girepository_ginfo.c | |
parent | - Upgrade 1.2000. (diff) |
Presenting GNOME 2.32.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.32/
This will be the last release of the GNOME 2.x series, mainly a bugfix and
bridge release to the first release of the GNOME 3.x series.
This release features commits by avl, marcus, mezz and myself.
The FreeBSD GNOME Team would like to thank the following contributors and
testers for there help with this release:
Zane C.B. <vvelox@vvelox.net>
romain@
Olaf Seibert <O.Seibert@cs.ru.nl>
DomiX
Bapt <baptiste.daroussin@gmail.com>
jsa@
miwi@
Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
Maxim Samsonov <xors@mne.ru>
Kris Moore
And pav@ for 2 exp-runs
PR: ports/152255
ports/143260
ports/141033
ports/149629
ports/150350
ports/151523
With hat: gnome@
Notes
Notes:
svn path=/head/; revision=264837
Diffstat (limited to 'devel/gobject-introspection/files/patch-girepository_ginfo.c')
-rw-r--r-- | devel/gobject-introspection/files/patch-girepository_ginfo.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/devel/gobject-introspection/files/patch-girepository_ginfo.c b/devel/gobject-introspection/files/patch-girepository_ginfo.c deleted file mode 100644 index 794bf443c8aa..000000000000 --- a/devel/gobject-introspection/files/patch-girepository_ginfo.c +++ /dev/null @@ -1,46 +0,0 @@ ---- girepository/ginfo.c.orig 2010-06-01 15:48:36.000000000 -0400 -+++ girepository/ginfo.c 2010-06-06 16:02:36.000000000 -0400 -@@ -2110,6 +2110,9 @@ g_constant_info_get_type (GIConstantInfo - return g_type_info_new ((GIBaseInfo*)info, rinfo->typelib, rinfo->offset + 8); - } - -+#define DO_ALIGNED_COPY(dest_addr, src_addr, type) \ -+ memcpy((dest_addr), (src_addr), sizeof(type)) -+ - gint - g_constant_info_get_value (GIConstantInfo *info, - GArgument *value) -@@ -2148,16 +2151,16 @@ g_constant_info_get_value (GIConstantInf - value->v_uint32 = *(guint32*)&rinfo->typelib->data[blob->offset]; - break; - case GI_TYPE_TAG_INT64: -- value->v_int64 = *(gint64*)&rinfo->typelib->data[blob->offset]; -+ DO_ALIGNED_COPY(&value->v_int64, &rinfo->typelib->data[blob->offset], gint64); - break; - case GI_TYPE_TAG_UINT64: -- value->v_uint64 = *(guint64*)&rinfo->typelib->data[blob->offset]; -+ DO_ALIGNED_COPY(&value->v_uint64, &rinfo->typelib->data[blob->offset], guint64); - break; - case GI_TYPE_TAG_FLOAT: -- value->v_float = *(gfloat*)&rinfo->typelib->data[blob->offset]; -+ DO_ALIGNED_COPY(&value->v_float, &rinfo->typelib->data[blob->offset], gfloat); - break; - case GI_TYPE_TAG_DOUBLE: -- value->v_double = *(gdouble*)&rinfo->typelib->data[blob->offset]; -+ DO_ALIGNED_COPY(&value->v_double, &rinfo->typelib->data[blob->offset], gdouble); - break; - case GI_TYPE_TAG_TIME_T: - value->v_long = *(long*)&rinfo->typelib->data[blob->offset]; -@@ -2175,10 +2178,10 @@ g_constant_info_get_value (GIConstantInf - value->v_uint = *(guint*)&rinfo->typelib->data[blob->offset]; - break; - case GI_TYPE_TAG_LONG: -- value->v_long = *(glong*)&rinfo->typelib->data[blob->offset]; -+ DO_ALIGNED_COPY(&value->v_long, &rinfo->typelib->data[blob->offset], glong); - break; - case GI_TYPE_TAG_ULONG: -- value->v_ulong = *(gulong*)&rinfo->typelib->data[blob->offset]; -+ DO_ALIGNED_COPY(&value->v_ulong, &rinfo->typelib->data[blob->offset], gulong); - break; - } - } |