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 - meissner@suse.de
+
+- check return value of scanf() to fix -Werror building
+
+-------------------------------------------------------------------
+Tue May 10 12:50:50 CEST 2011 - kukuk@suse.de
+
+- 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