libxcrypt: Remove

This commit is contained in:
Eelco Dolstra
2013-01-28 17:19:03 +01:00
parent 2dc0e9070e
commit 5200c92aa0
4 changed files with 3 additions and 46 deletions
@@ -1,17 +0,0 @@
{stdenv, fetchurl}:
# I could not build it in armv5tel-linux or the fuloon2f
assert !stdenv.isArm;
assert stdenv.system != "mips64el-linux";
stdenv.mkDerivation {
name = "libxcrypt-3.0.2";
src = fetchurl {
url = ftp://ftp.suse.com/pub/people/kukuk/libxcrypt/libxcrypt-3.0.2.tar.bz2;
sha256 = "15l2xvhi3r3b40x4665c101ikylh5xsbpw03gnszypfjgn1jkcii";
};
patches = [ ./gcc46.patch ];
}
@@ -1,18 +0,0 @@
For gcc 4.6 to build this. Otherwise it says 's unused variable', and it's built
with -Werror.
diff --git a/src/cert.c b/src/cert.c
index 28c7b11..34570a4 100644
--- a/src/cert.c
+++ b/src/cert.c
@@ -87,9 +87,7 @@ char *cp;
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++) {