pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/libtlen Provide a default value of the nonportabl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/578859a0dda3
branches:  trunk
changeset: 501940:578859a0dda3
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Oct 31 18:38:53 2005 +0000

description:
Provide a default value of the nonportable INET_ADDRSTRLEN
(not defined on Interix).

diffstat:

 chat/libtlen/distinfo         |   3 ++-
 chat/libtlen/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r f5a7ba21b466 -r 578859a0dda3 chat/libtlen/distinfo
--- a/chat/libtlen/distinfo     Mon Oct 31 18:30:49 2005 +0000
+++ b/chat/libtlen/distinfo     Mon Oct 31 18:38:53 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/03/10 13:25:07 tv Exp $
+$NetBSD: distinfo,v 1.6 2005/10/31 18:38:53 tv Exp $
 
 SHA1 (libtlen-20040912.tar.gz) = a6bd58f4d1eabab8f61451eda54d420fe21ed2ad
 RMD160 (libtlen-20040912.tar.gz) = 32214dbbd12d9467615a077a49f783b0a2bb5ee3
 Size (libtlen-20040912.tar.gz) = 183393 bytes
 SHA1 (patch-aa) = 7810d10b38cda6e55f34062ddce84f4c27544673
+SHA1 (patch-ab) = dd1569e2dee2208b7a5a8d83800d55454f8d9c36
diff -r f5a7ba21b466 -r 578859a0dda3 chat/libtlen/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libtlen/patches/patch-ab     Mon Oct 31 18:38:53 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2005/10/31 18:38:53 tv Exp $
+
+--- lib/libtlen.h.orig 2003-10-18 04:56:08.000000000 -0400
++++ lib/libtlen.h
+@@ -35,6 +35,10 @@
+ #include "xmlparse.h"
+ #include "str.h"
+ 
++#ifndef INET_ADDRSTRLEN
++#define INET_ADDRSTRLEN 16
++#endif
++
+ // Coby sie g++ kompilowalo
+ #ifdef __cplusplus
+ extern "C"



Home | Main Index | Thread Index | Old Index