Tags: patch

On Sun, 30 Mar 2008 14:21:31 +0200
Jörg Sommer <[EMAIL PROTECTED]> wrote:

> Hallo Antonio,
> 
> Antonio Ospite schrieb am Sat 29. Mar, 11:12 (+0100):
> > Package: slrn
> > Version: 0.9.9~pre97-1
> > Severity: normal
> > 
> > 
> > Hi, IPv6 support is currently disabled.
> > 
> > It looks like the configure part misses detection routines for
> > getaddrinfo(), and it does not define HAVE_GETADDRINFO which is
> > needed in order to enable the Address Family independent code in
> > sltcp.c (line 204).
> 
> Can you enable it by hand and check if it works? I would enable it
> under all circumstances, because Debian supports IPv6. Can you try if
> it works? Thanks.
> 

Hi Jörg,

The attached patch fixes the problem for me, and for Debian, I guess :)

BTW, if you are in touch with upstream authors, can you please ask them
to supply  a _proper_ fix? Also, there is still a reference to
gethostbyname() in misc.c (function get_hostname()), that one could be
modernized too.

Thanks,
   Antonio

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

  Web site: http://www.studenti.unina.it/~ospite
Public key: http://www.studenti.unina.it/~ospite/aopubkey.asc
diff -u slrn-0.9.9~pre97/debian/changelog slrn-0.9.9~pre97/debian/changelog
--- slrn-0.9.9~pre97/debian/changelog
+++ slrn-0.9.9~pre97/debian/changelog
@@ -1,3 +1,9 @@
+slrn (0.9.9~pre97-1.0) unstable; urgency=low
+
+  * Define HAVE_GETADDRINFO to enable IPv6 support
+
+ -- Antonio Ospite <[EMAIL PROTECTED]>  Sun, 30 Mar 2008 15:29:10 +0200
+
 slrn (0.9.9~pre97-1) unstable; urgency=low
 
   * This packages is based on the svn snapshot from
only in patch2:
unchanged:
--- slrn-0.9.9~pre97.orig/src/config.hin
+++ slrn-0.9.9~pre97/src/config.hin
@@ -163,4 +163,6 @@
 
 #define SLRN_PATH_SLASH_CHAR	'/'
 
+#define HAVE_GETADDRINFO 1
+
 #endif /* SLRN_CONFIG_H */

Attachment: pgpmGRnn8zd1v.pgp
Description: PGP signature

Reply via email to