diff options
Diffstat (limited to 'app-crypt/mit-krb5/files/mit-krb5-1.3.6-gcc4.patch')
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5-1.3.6-gcc4.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.3.6-gcc4.patch b/app-crypt/mit-krb5/files/mit-krb5-1.3.6-gcc4.patch new file mode 100644 index 000000000000..0378f51922e7 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5-1.3.6-gcc4.patch @@ -0,0 +1,31 @@ +diff -ur krb5-1.3.6-orig/src/appl/gssftp/ftpd/ftpd.c krb5-1.3.6/src/appl/gssftp/ftpd/ftpd.c +--- krb5-1.3.6-orig/src/appl/gssftp/ftpd/ftpd.c 2005-06-02 19:49:22.000000000 -0400 ++++ krb5-1.3.6/src/appl/gssftp/ftpd/ftpd.c 2005-06-02 19:58:24.000000000 -0400 +@@ -123,6 +123,7 @@ + extern char *mktemp (); + char *ftpusers; + extern int yyparse(void); ++static char* gunique(char*); + + #include <k5-util.h> + #include "port-sockets.h" +@@ -1271,7 +1272,6 @@ + FILE *fout, *din; + struct stat st; + int (*closefunc)(); +- static char *gunique(); + + if (logging > 1) syslog(LOG_NOTICE, "put %s", path_expand(name)); + +diff -ur krb5-1.3.6-orig/src/lib/krb5/asn.1/asn1_k_decode.c krb5-1.3.6/src/lib/krb5/asn.1/asn1_k_decode.c +--- krb5-1.3.6-orig/src/lib/krb5/asn.1/asn1_k_decode.c 2005-06-02 19:49:22.000000000 -0400 ++++ krb5-1.3.6/src/lib/krb5/asn.1/asn1_k_decode.c 2005-06-02 19:59:12.000000000 -0400 +@@ -860,7 +860,7 @@ + } + + +-static asn1_error_code asn1_decode_etype_info_entry(asn1buf *buf, krb5_etype_info_entry *val ) ++asn1_error_code asn1_decode_etype_info_entry(asn1buf *buf, krb5_etype_info_entry *val ) + { + setup(); + { begin_structure(); |