Dash:
[t2.git] / package / network / whois / hotfix.patch
blobca345f45a0a73b54c3bf07fbd04c8760558303bc
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../whois/hotfix.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 For some reason whois fails for some time on T2 (vanilla source)
18 systems like:
20 getaddrinfo( ... ): Bad value for ai_flags
22 Don't use getaddrinfo until this is fully debugged.
24 - Rene Rebe <rene@exactcode.de>
26 --- whois-4.7.26/config.h.vanilla 2008-07-01 20:18:57.000000000 +0200
27 +++ whois-4.7.26/config.h 2008-07-01 20:19:22.000000000 +0200
28 @@ -37,7 +37,7 @@
29 #if defined __GLIBC__
30 # define HAVE_GETOPT_LONG
31 # if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
32 -# define HAVE_GETADDRINFO
33 +# /*define HAVE_GETADDRINFO */
34 # endif
35 # if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 7
36 # define HAVE_SHA_CRYPT