![](https://seccdn.libravatar.org/avatar/af22e20b6884acbc89be6d7736c43e92.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package openmotif checked in at Thu Aug 17 18:23:09 CEST 2006. -------- --- openmotif/openmotif.changes 2006-08-16 18:15:51.000000000 +0200 +++ openmotif/openmotif.changes 2006-08-17 17:34:51.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Aug 17 17:27:03 CEST 2006 - schwab@suse.de + +- Fix broken alignment. + +------------------------------------------------------------------- New: ---- openmotif-unaligned.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmotif.spec ++++++ --- /var/tmp/diff_new_pack.a8ITLg/_old 2006-08-17 18:23:02.000000000 +0200 +++ /var/tmp/diff_new_pack.a8ITLg/_new 2006-08-17 18:23:02.000000000 +0200 @@ -18,7 +18,7 @@ %endif BuildRequires: freetype2-devel pkgconfig update-desktop-files xorg-x11-devel Version: 2.3.0beta2 -Release: 7 +Release: 8 License: Other License(s), see package Group: System/Libraries Autoreqprov: on @@ -35,6 +35,7 @@ Patch4: openmotif-xpm.diff Patch5: sentinel.diff Patch6: openmotif-uil.diff +Patch7: openmotif-unaligned.diff %description This is the Open Motif runtime environment. It includes the Motif @@ -82,6 +83,7 @@ %patch4 %patch5 %patch6 +%patch7 %build rm -f depcomp @@ -179,6 +181,8 @@ %{_mandir}/man5/*.gz %changelog -n openmotif +* Thu Aug 17 2006 - schwab@suse.de +- Fix broken alignment. * Wed Aug 16 2006 - aj@suse.de - Remove unneeded BuildRequire xorg-x11. * Fri Aug 04 2006 - schwab@suse.de ++++++ openmotif-unaligned.diff ++++++ --- lib/Xm/TextF.c +++ lib/Xm/TextF.c @@ -3906,7 +3906,7 @@ nextPos, insert_string, insert_length, True); } else { - char stack_cache[100]; + wchar_t stack_cache[100]; insert_string[insert_length] = '\0'; /* NULL terminate for mbstowcs */ wc_insert_string = (wchar_t*)XmStackAlloc((Cardinal)(insert_length+1) * sizeof(wchar_t), stack_cache); @@ -6964,7 +6964,7 @@ int str_len = 0; int i, j; - char stack_cache[400]; + wchar_t stack_cache[400]; if (!is_wchar) { char *temp_str, *curr_str, *start_temp; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de