1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../curl/compile.patch.dietlibc
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
15 # --- T2-COPYRIGHT-NOTE-END ---
17 A little dirty hacking in order to get the code built with dietlibc ...
19 - Rene Rebe <rene@exactcode.de>
21 --- ./lib/inet_ntop.c.orig 2006-01-09 14:18:32.000000000 +0100
22 +++ ./lib/inet_ntop.c 2006-03-27 02:20:34.000000000 +0200
25 * - takes a unsigned char* not an in_addr as input
27 +#define HAVE_INET_NTOA_R_2_ARGS
28 static char *inet_ntop4 (const unsigned char *src, char *dst, size_t size)
30 #if defined(HAVE_INET_NTOA_R_2_ARGS)