diff options
author | krion <krion@FreeBSD.org> | 2004-08-08 03:22:52 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-08 03:22:52 +0800 |
commit | 0fca7046e48c19de6ec4dd2aade18029c4aaef99 (patch) | |
tree | 156761a1692dafe372be14138b3a10821a3f2ffd /ftp | |
parent | daa6ad44c2b2d7cba476daec3aac3fbb2471ee0b (diff) | |
download | freebsd-ports-gnome-0fca7046e48c19de6ec4dd2aade18029c4aaef99.tar.gz freebsd-ports-gnome-0fca7046e48c19de6ec4dd2aade18029c4aaef99.tar.zst freebsd-ports-gnome-0fca7046e48c19de6ec4dd2aade18029c4aaef99.zip |
Fix build with gcc-3.4
PR: ports/70131
Submitted by: maintainer
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/bsdftpd-ssl/files/patch-aa | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/ftp/bsdftpd-ssl/files/patch-aa b/ftp/bsdftpd-ssl/files/patch-aa new file mode 100644 index 000000000000..713ef5d84f92 --- /dev/null +++ b/ftp/bsdftpd-ssl/files/patch-aa @@ -0,0 +1,89 @@ +diff -urN bsdftpd-ssl.ORI/ftp/ftp.c bsdftpd-ssl/ftp/ftp.c +--- ftp/ftp.c Sun Jul 4 22:00:32 2004 ++++ ftp/ftp.c Fri Aug 6 22:13:06 2004 +@@ -1544,6 +1544,7 @@ + prt[1] &= 0xff; + error = 0; + epsv_done: ++ ; + } else + error = 1; + +@@ -1867,6 +1868,7 @@ + + return NULL; + default: ++ ; + } + + X509_free(x509_ssl_con); +@@ -1982,6 +1984,7 @@ + + return NULL; + default: ++ ; + } + + X509_free(x509_ssl_con); +diff -urN bsdftpd-ssl.ORI/ftp/util.c bsdftpd-ssl/ftp/util.c +--- ftp/util.c Mon May 31 02:24:47 2004 ++++ ftp/util.c Fri Aug 6 21:59:59 2004 +@@ -987,6 +987,7 @@ + ssl_log_msgn(bio_err,"Reason: Certificate revoked"); + break; + default: ++ ; + } + + warnx("TLS/SSL connection to server failed"); +diff -urN bsdftpd-ssl.ORI/ftpd/ftpd.c bsdftpd-ssl/ftpd/ftpd.c +--- ftpd/ftpd.c Thu Jul 8 02:35:54 2004 ++++ ftpd/ftpd.c Fri Aug 6 21:46:26 2004 +@@ -2262,6 +2262,7 @@ + SSL_get_shutdown(ssl_data_con); + break; + default: ++ ; + } + } + SSL_free(ssl_data_con); +@@ -2385,6 +2386,7 @@ + SSL_get_shutdown(ssl_data_con); + break; + default: ++ ; + } + } + SSL_free(ssl_data_con); +@@ -2636,6 +2638,7 @@ + + return NULL; + default: ++ ; + } + + X509_free(x509_ssl_con); +@@ -2797,6 +2800,7 @@ + + return NULL; + default: ++ ; + } + + X509_free(x509_ssl_con); +@@ -4100,6 +4104,7 @@ + SSL_get_shutdown(ssl_data_con); + break; + default: ++ ; + } + } + SSL_free(ssl_data_con); +@@ -4214,6 +4219,7 @@ + SSL_get_shutdown(ssl_data_con); + break; + default: ++ ; + } + } + SSL_free(ssl_data_con); |