ports/70131: [maintainer update] ftp/bsdftpd-ssl: a fix for compatibility with the GCC 3.4

Nick Leuta skynick at mail.sc.ru
Sat Aug 7 16:10:24 UTC 2004


>Number:         70131
>Category:       ports
>Synopsis:       [maintainer update] ftp/bsdftpd-ssl: a fix for compatibility with the GCC 3.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 07 16:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nick Leuta
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
Lipetsk State Technical University
>Environment:
System: FreeBSD maverick.stu.lipetsk.ru 4.9-RELEASE FreeBSD 4.9-RELEASE #3: Mon Jun 21 15:20:08 MSD 2004 root at maverick.stu.lipetsk.ru:/usr/src/sys/compile/MAVERICK i386
>Description:
The fix which enables the compilation of this port with GCC 3.4 in 5-CURRENT.
>How-To-Repeat:
>Fix:

diff -urN bsdftpd-ssl.ORI/files/patch-aa bsdftpd-ssl/files/patch-aa
--- bsdftpd-ssl.ORI/files/patch-aa	Thu Jan  1 03:00:00 1970
+++ bsdftpd-ssl/files/patch-aa	Sat Aug  7 18:10:08 2004
@@ -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);
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list