File fix-werror.patch of Package libxcrypt
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++) {