summaryrefslogtreecommitdiff
path: root/chat/libtlen/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-10-31 18:38:53 +0000
committertv <tv@pkgsrc.org>2005-10-31 18:38:53 +0000
commit875566a2ba6c42bddeecc82c196e62d072cc4e06 (patch)
treedf7dfc1300db11f7d26b44d8d0a99e17e68e4f50 /chat/libtlen/patches
parent0cc321d4e419bf8adcb20bad81d07f5b5d56c0d6 (diff)
downloadpkgsrc-875566a2ba6c42bddeecc82c196e62d072cc4e06.tar.gz
Provide a default value of the nonportable INET_ADDRSTRLEN
(not defined on Interix).
Diffstat (limited to 'chat/libtlen/patches')
-rw-r--r--chat/libtlen/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/libtlen/patches/patch-ab b/chat/libtlen/patches/patch-ab
new file mode 100644
index 00000000000..cf69f71d482
--- /dev/null
+++ b/chat/libtlen/patches/patch-ab
@@ -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"