diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-03-24 12:07:28 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-03-24 12:07:28 +0100 |
commit | ac46e350e174e78a55a348eda775665ae0eb3277 (patch) | |
tree | 5574ba5e9a7108554683edb25bcd4b99599b8fa7 /package/libtirpc/patches/patch-src_des_crypt_c | |
parent | 89aa2adc650176b493075e1d8e64f1b6cc635d90 (diff) |
update gcc, glibc and fix build breakage
Diffstat (limited to 'package/libtirpc/patches/patch-src_des_crypt_c')
-rw-r--r-- | package/libtirpc/patches/patch-src_des_crypt_c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/libtirpc/patches/patch-src_des_crypt_c b/package/libtirpc/patches/patch-src_des_crypt_c new file mode 100644 index 000000000..c2169177d --- /dev/null +++ b/package/libtirpc/patches/patch-src_des_crypt_c @@ -0,0 +1,23 @@ +--- libtirpc-0.2.2.orig/src/des_crypt.c 2011-05-02 14:10:40.000000000 +0200 ++++ libtirpc-0.2.2/src/des_crypt.c 2012-03-22 19:23:01.213747585 +0100 +@@ -43,7 +43,7 @@ static char sccsid[] = "@(#)des_crypt.c + + static int common_crypt( char *, char *, unsigned, unsigned, struct desparams * ); + int (*__des_crypt_LOCAL)() = 0; +-extern int _des_crypt_call(char *, int, struct desparams *); ++//extern int _des_crypt_call(char *, int, struct desparams *); + /* + * Copy 8 bytes + */ +@@ -145,10 +145,6 @@ common_crypt(key, buf, len, mode, desp) + if (!__des_crypt_LOCAL(buf, len, desp)) { + return (DESERR_HWERROR); + } +- } else { +- if (!_des_crypt_call(buf, len, desp)) { +- return (DESERR_HWERROR); +- } +- } ++ } + return(desdev == DES_SW ? DESERR_NONE : DESERR_NOHWDEVICE); + } |