diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-03-14 17:55:50 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-03-14 17:55:50 +0000 |
commit | bc14177e7c5331b822ae8de285b29af618c3ed0c (patch) | |
tree | 4aca691f77366dbc181be38bcadcc4e253acc669 /net-ftp/yafc | |
parent | ... (diff) | |
download | gentoo-2-bc14177e7c5331b822ae8de285b29af618c3ed0c.tar.gz gentoo-2-bc14177e7c5331b822ae8de285b29af618c3ed0c.tar.bz2 gentoo-2-bc14177e7c5331b822ae8de285b29af618c3ed0c.zip |
-f
Diffstat (limited to 'net-ftp/yafc')
-rw-r--r-- | net-ftp/yafc/files/yafc-1.1.1-gcc4.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-ftp/yafc/files/yafc-1.1.1-gcc4.patch b/net-ftp/yafc/files/yafc-1.1.1-gcc4.patch new file mode 100644 index 000000000000..bf6ca67ba65f --- /dev/null +++ b/net-ftp/yafc/files/yafc-1.1.1-gcc4.patch @@ -0,0 +1,43 @@ +--- lib/gssapi.c.orig 2007-03-14 18:13:14.000000000 +0100 ++++ lib/gssapi.c 2007-03-14 18:23:20.000000000 +0100 +@@ -72,11 +72,6 @@ + static gss_OID_desc gss_c_nt_hostbased_service_oid_desc = + {10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"}; + +-static gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc; +- +- +- +- + /*RCSID("$Id: gssapi.c,v 1.5 2002/12/05 22:12:36 mhe Exp $");*/ + + struct gss_data { + +diff -ur lib/krb4.c /tmp/yafc-1.1.1/lib/krb4.c +--- lib/krb4.c 2002-12-05 22:12:37.000000000 +0000 ++++ lib/krb4.c 2006-12-16 13:23:46.000000000 +0000 +@@ -62,24 +62,6 @@ + }; + + static int +-krb_get_int(void *f, u_int32_t *to, int size, int lsb) +-{ +- int i; +- unsigned char *from = (unsigned char *)f; +- +- *to = 0; +- if(lsb){ +- for(i = size-1; i >= 0; i--) +- *to = (*to << 8) | from[i]; +- }else{ +- for(i = 0; i < size; i++) +- *to = (*to << 8) | from[i]; +- } +- return size; +-} +- +- +-static int + krb4_check_prot(void *app_data, int level) + { + if(level == prot_confidential) |