Hello community, here is the log from the commit of package evms checked in at Thu Apr 20 17:42:23 CEST 2006. -------- --- evms/evms.changes 2006-04-19 19:26:41.000000000 +0200 +++ STABLE/evms/evms.changes 2006-04-20 16:37:00.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 20 16:36:34 CEST 2006 - fehr@suse.de + +- prevent warning about misalignment on ia64 + +------------------------------------------------------------------- New: ---- prevent_unaligned_warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evms.spec ++++++ --- /var/tmp/diff_new_pack.HFOHw3/_old 2006-04-20 17:40:02.000000000 +0200 +++ /var/tmp/diff_new_pack.HFOHw3/_new 2006-04-20 17:40:02.000000000 +0200 @@ -20,7 +20,7 @@ %endif Autoreqprov: on Version: 2.5.5 -Release: 12 +Release: 15 Summary: EVMS--Enterprise Volume Management System BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: http://prdownloads.sourceforge.net/evms/evms-%{version}.tar.bz2 @@ -40,6 +40,7 @@ Patch9: aclocal-iscsi.diff Patch10: evms_raid5.patch Patch11: compaq_naming_gpt.patch +Patch12: prevent_unaligned_warning.patch %description This package contains the userspace tools needed to manage EVMS @@ -104,6 +105,7 @@ %patch9 %patch10 -p1 %patch11 +%patch12 %build autoconf @@ -179,6 +181,8 @@ /etc/ha.d/resource.d/evms_failover %changelog -n evms +* Thu Apr 20 2006 - fehr@suse.de +- prevent warning about misalignment on ia64 * Wed Apr 19 2006 - fehr@suse.de - add evms_raid5.patch.patch to fix bug #167203 - add compaq_naming_gpt.patch to make naming on gpt disk label ++++++ prevent_unaligned_warning.patch ++++++ --- engine/common.c +++ engine/common.c 2006/04/20 14:35:23 @@ -2375,6 +2375,7 @@ int rc = 0; uint count; uint size; + handle_array_t * tmp; LOG_PROC_ENTRY(); @@ -2383,19 +2384,21 @@ LOG_DEBUG("Number of objects in the list: %d\n", count); size = sizeof(handle_array_t) + (count * sizeof(object_handle_t)); - *ha = engine_alloc(size); - if (*ha != NULL) { + tmp = engine_alloc(size); + if (tmp != NULL) { list_element_t iter; void * thing; LIST_FOR_EACH(list, iter, thing) { - make_handle_entry(thing, *ha); + make_handle_entry(thing, tmp); } } else { LOG_CRITICAL("Error allocating memory for a handle array.\n"); rc = ENOMEM; } + // *ha = tmp; + memcpy( (char*)ha, (char*)&tmp, sizeof(tmp) ); LOG_PROC_EXIT_INT(rc); return rc; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...