Hello community, here is the log from the commit of package hermes checked in at Tue Jun 27 17:51:34 CEST 2006. -------- --- hermes/hermes.changes 2006-01-25 21:36:27.000000000 +0100 +++ hermes/hermes.changes 2006-06-26 18:20:59.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jun 26 18:06:51 CEST 2006 - nadvornik@suse.cz + +- fixed uninitialized vars [#159135] +- compile asm sources with --noexecstack + +------------------------------------------------------------------- New: ---- Hermes-1.3.2-noexecstack.patch Hermes-1.3.2-uninitialized.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hermes.spec ++++++ --- /var/tmp/diff_new_pack.QwFcO7/_old 2006-06-27 17:50:13.000000000 +0200 +++ /var/tmp/diff_new_pack.QwFcO7/_new 2006-06-27 17:50:13.000000000 +0200 @@ -1,11 +1,11 @@ # # spec file for package hermes (Version 1.3.2) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -17,13 +17,15 @@ Autoreqprov: on URL: http://www.clanlib.org/hermes/ Version: 1.3.2 -Release: 446 -Summary: A graphics conversion library +Release: 458 +Summary: A Graphics Conversion Library Source: Hermes-%{version}.tar.gz Patch: Hermes-%{version}-ia64.patch Patch1: Hermes-%{version}-destdir.patch Patch2: Hermes-1.3.2-libtool-hack.patch Patch3: Hermes-1.3.2-gcc4.patch +Patch4: Hermes-1.3.2-uninitialized.patch +Patch5: Hermes-1.3.2-noexecstack.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,6 +62,8 @@ %patch1 %patch2 %patch3 +%patch4 +%patch5 %build autoreconf --force --install @@ -98,6 +102,9 @@ %{_libdir}/libHermes.*a %changelog -n hermes +* Mon Jun 26 2006 - nadvornik@suse.cz +- fixed uninitialized vars [#159135] +- compile asm sources with --noexecstack * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Apr 04 2005 - nadvornik@suse.cz ++++++ Hermes-1.3.2-noexecstack.patch ++++++ --- src/Makefile.am +++ src/Makefile.am @@ -28,7 +28,7 @@ SUFFIXES = .S .S.lo: - $(LIBTOOL) --mode=compile --tag=CC gcc -c -o $@ $< + $(LIBTOOL) --mode=compile --tag=CC gcc -c -Wa,--noexecstack -o $@ $< install-data-local: $(INSTALL) -m 0755 -d $(DESTDIR)$(includedir)/Hermes ++++++ Hermes-1.3.2-uninitialized.patch ++++++ --- src/c_genrc_a.c +++ src/c_genrc_a.c @@ -45,7 +45,7 @@ void ConvertC_Generic32_A_Generic24_A(HermesConverterInterface *iface) -{ int32 s_pixel,r,g,b,a; +{ int32 s_pixel,r,g,b; char8 *d_ptr=(char8 *)(&s_pixel); unsigned int count; char8 *source=iface->s_pixels,*dest=iface->d_pixels; @@ -63,7 +63,7 @@ b=((s_pixel>>iface->info.b_right)<<iface->info.b_left)& iface->mask_b; - s_pixel=(r|g|b|a); + s_pixel=(r|g|b); *(dest+R_24)=*(d_ptr+R_32); *(dest+G_24)=*(d_ptr+G_32); --- src/c_genrc_ac.c +++ src/c_genrc_ac.c @@ -110,7 +110,7 @@ iface->mask_g; b=((READ32(source)>>iface->info.b_right)<<iface->info.b_left)& iface->mask_b; - a= s_pixel & amask; + a= READ32(source) & amask; if (a==0) s_pixel=DWORD_BYTE0(dc); @@ -123,7 +123,7 @@ iface->mask_g; b=((READ32(source+1)>>iface->info.b_right)<<iface->info.b_left)& iface->mask_b; - a= s_pixel & amask; + a= READ32(source+1) & amask; if (a==0) s_pixel=DWORD_BYTE2(dc); @@ -146,7 +146,7 @@ iface->mask_g; b=((READ32(source)>>iface->info.b_right)<<iface->info.b_left)& iface->mask_b; - a= s_pixel & amask; + a= READ32(source) & amask; if (a==0) WRITE16(dest,(short16) dc); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...