Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at Tue Jun 28 10:12:19 CEST 2011.
-------- --- libxcrypt/libxcrypt.changes 2010-06-28 08:50:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/libxcrypt/libxcrypt.changes 2011-06-09 09:40:22.000000000 +0200 @@ -1,0 +2,11 @@ +Thu Jun 9 09:40:04 CEST 2011 - [email protected] + +- check return value of scanf() to fix -Werror building + +------------------------------------------------------------------- +Tue May 10 12:50:50 CEST 2011 - [email protected] + +- Update to version 3.0.4 + - Fix new warning generated by gcc 4.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- libxcrypt-3.0.3.tar.bz2 New: ---- fix-werror.patch libxcrypt-3.0.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxcrypt.spec ++++++ --- /var/tmp/diff_new_pack.wZ7xht/_old 2011-06-28 10:11:26.000000000 +0200 +++ /var/tmp/diff_new_pack.wZ7xht/_new 2011-06-28 10:11:26.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package libxcrypt (Version 3.0.3) +# spec file for package libxcrypt # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,11 +26,12 @@ %ifarch ppc64 Obsoletes: libxcrypt-64bit %endif -Version: 3.0.3 -Release: 3 +Version: 3.0.4 +Release: 1 Summary: Crypt Library for DES, MD5, Blowfish and others Source: libxcrypt-%{version}.tar.bz2 Source2: baselibs.conf +Patch0: fix-werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -63,6 +64,7 @@ %prep %setup -q +%patch0 -p1 %build ./configure CFLAGS="$RPM_OPT_FLAGS -Wno-cast-align" \ ++++++ fix-werror.patch ++++++ Index: libxcrypt-3.0.4/src/cert.c =================================================================== --- libxcrypt-3.0.4.orig/src/cert.c +++ libxcrypt-3.0.4/src/cert.c @@ -87,7 +87,8 @@ char *cp; int i,j,t; for(i=0;i<8;i++){ - scanf("%2x",&t); + if (!scanf("%2x",&t)) + good_bye(); if(feof(stdin)) good_bye(); for(j=0; j<8 ; j++) { ++++++ libxcrypt-3.0.3.tar.bz2 -> libxcrypt-3.0.4.tar.bz2 ++++++ ++++ 4407 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxcrypt-3.0.3/ChangeLog new/libxcrypt-3.0.4/ChangeLog --- old/libxcrypt-3.0.3/ChangeLog 2009-10-30 09:22:43.000000000 +0100 +++ new/libxcrypt-3.0.4/ChangeLog 2011-05-10 11:56:48.000000000 +0200 @@ -1,3 +1,9 @@ +2011-05-10 Thorsten Kukuk <[email protected]> + + * release version 3.0.4 + + * src/cert.c (get8): Don't save return value we never use. + 2009-10-29 Thorsten Kukuk <[email protected]> * release version 3.0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxcrypt-3.0.3/NEWS new/libxcrypt-3.0.4/NEWS --- old/libxcrypt-3.0.3/NEWS 2009-10-30 08:55:49.000000000 +0100 +++ new/libxcrypt-3.0.4/NEWS 2011-05-10 11:57:40.000000000 +0200 @@ -1,10 +1,13 @@ libxcrypt NEWS -- history of user-visible changes. Copyright (C) 2002, 2003, 2004 SuSE Linux AG, Germany -Copyright (C) 2005, 2008 SUSE LINUX Products GmbH, Germany +Copyright (C) 2005, 2008, 2009 2011 SUSE LINUX Products GmbH, Germany Please send bug reports, questions and suggestions to <[email protected]>. +Version 3.0.4 +* Fix warnings generated by gcc 4.6 + Version 3.0.3 * Fix memory leak * Fix compiler warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxcrypt-3.0.3/configure.in new/libxcrypt-3.0.4/configure.in --- old/libxcrypt-3.0.3/configure.in 2008-09-29 11:50:19.000000000 +0200 +++ new/libxcrypt-3.0.4/configure.in 2011-05-10 12:00:47.000000000 +0200 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(xcrypt, 3.0.3, http://www.suse.de/feedback, libxcrypt) +AC_INIT(xcrypt, 3.0.4, http://www.suse.de/feedback, libxcrypt) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/xcrypt.h]) AM_CONFIG_HEADER([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxcrypt-3.0.3/src/cert.c new/libxcrypt-3.0.4/src/cert.c --- old/libxcrypt-3.0.3/src/cert.c 2007-10-25 15:32:43.000000000 +0200 +++ new/libxcrypt-3.0.4/src/cert.c 2011-05-10 11:46:51.000000000 +0200 @@ -87,9 +87,7 @@ int i,j,t; for(i=0;i<8;i++){ - int s; - - s = scanf("%2x",&t); + scanf("%2x",&t); if(feof(stdin)) good_bye(); for(j=0; j<8 ; j++) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
