You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							45 lines
						
					
					
						
							1.6 KiB
						
					
					
				
			
		
		
	
	
							45 lines
						
					
					
						
							1.6 KiB
						
					
					
				# --- T2-COPYRIGHT-NOTE-BEGIN --- | 
						|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
						|
#  | 
						|
# T2 SDE: package/.../dietlibc/patches/pkg_curl.patch | 
						|
# Copyright (C) 2004 - 2006 The T2 SDE Project | 
						|
#  | 
						|
# More information can be found in the files COPYING and README. | 
						|
#  | 
						|
# This patch file is dual-licensed. It is available under the license the | 
						|
# patched project is licensed under, as long as it is an OpenSource license | 
						|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms | 
						|
# of the GNU General Public License as published by the Free Software | 
						|
# Foundation; either version 2 of the License, or (at your option) any later | 
						|
# version. | 
						|
# --- T2-COPYRIGHT-NOTE-END --- | 
						|
 | 
						|
A little dirty hacking in order to get the code built with dietlibc ... | 
						|
 | 
						|
  - Rene Rebe <[email protected]> | 
						|
 | 
						|
--- ./lib/inet_ntop.c.orig	2006-01-09 14:18:32.000000000 +0100 | 
						|
+++ ./lib/inet_ntop.c	2006-03-27 02:20:34.000000000 +0200 | 
						|
@@ -70,6 +70,7 @@ | 
						|
  *  - uses no statics | 
						|
  *  - takes a unsigned char* not an in_addr as input | 
						|
  */ | 
						|
+#define HAVE_INET_NTOA_R_2_ARGS | 
						|
 static char *inet_ntop4 (const unsigned char *src, char *dst, size_t size) | 
						|
 { | 
						|
 #if defined(HAVE_INET_NTOA_R_2_ARGS) | 
						|
--- curl-7.15.1/lib/strerror.c	2005-12-02 23:09:09.000000000 +0000 | 
						|
+++ curl-7.15.1-fixed/lib/strerror.c	2006-01-01 01:14:26.000000000 +0000 | 
						|
@@ -22,12 +22,6 @@ | 
						|
  | 
						|
 #include "setup.h" | 
						|
  | 
						|
-#ifdef HAVE_STRERROR_R | 
						|
-#if !defined(HAVE_POSIX_STRERROR_R) && !defined(HAVE_GLIBC_STRERROR_R) | 
						|
-#error "you MUST have either POSIX or glibc strerror_r if strerror_r is found" | 
						|
-#endif /* !POSIX && !glibc */ | 
						|
-#endif /* HAVE_STRERROR_R */ | 
						|
- | 
						|
 #include <curl/curl.h> | 
						|
 #include <stdlib.h> | 
						|
 #include <string.h>
 | 
						|
 |