[Kaare Hviid] Bug#276139: libgnumail-java 1.0-3 fails build with libgnuinet-java 1.1-1

Arnaud Vandyck <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.javamail
Message-ID <[email protected]>
Hi Chris,

It seems there is a problem with building latest gnumail with latest
gnuinet...

Attached are: the debian bug report; a patch to maintain older
compatibility



-- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-

_______________________________________________
Classpathx-javamail mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpathx-javamail
(unnamed) (message/rfc822, 3.1 KB) - not displayed
01_nntpconnection_old_constructor_compatibility.patch (text/x-patch, 1.1 KB)
--- source/gnu/inet/nntp/NNTPConnection.java~	2004-08-19 23:27:07.000000000 +0200
+++ source/gnu/inet/nntp/NNTPConnection.java	2004-10-12 16:07:36.341024960 +0200
@@ -149,6 +149,23 @@
    * Creates a new connection object.
    * @param hostname the hostname or IP address of the news server
    * @param port the port to connect to
+   * @param username NOT USED ANYMORE
+   * @param password NOT USED ANYMORE
+   * @param debug whether to use debugging
+   * @deprecated username and password are not used anymore! See other constructors
+   */
+  public NNTPConnection (String hostname, int port,
+                         String username, String password,
+                         boolean debug)
+    throws IOException
+  {
+    this (hostname, port, 0, 0, debug);
+  }
+
+  /**
+   * Creates a new connection object.
+   * @param hostname the hostname or IP address of the news server
+   * @param port the port to connect to
    * @param connectionTimeout the socket connection timeout
    * @param timeout the read timeout on the socket
    * @param debug whether to use debugging
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.