summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-03-14 17:55:50 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-03-14 17:55:50 +0000
commit7516027d1632f561441d060687952441c302f9f5 (patch)
treea1272ed8b28235b6f11b1d3342575db815fc824f /net-ftp/yafc
parent... (diff)
downloadhistorical-7516027d1632f561441d060687952441c302f9f5.tar.gz
historical-7516027d1632f561441d060687952441c302f9f5.tar.bz2
historical-7516027d1632f561441d060687952441c302f9f5.zip
-f
Diffstat (limited to 'net-ftp/yafc')
-rw-r--r--net-ftp/yafc/files/yafc-1.1.1-gcc4.patch43
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)