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.
		
		
		
		
		
			
		
			
				
					
					
						
							51 lines
						
					
					
						
							1.9 KiB
						
					
					
				
			
		
		
	
	
							51 lines
						
					
					
						
							1.9 KiB
						
					
					
				| # --- SDE-COPYRIGHT-NOTE-BEGIN --- | |
| # This copyright note is auto-generated by ./scripts/Create-CopyPatch. | |
| # | |
| # Filename: package/.../uclibc/pkg_patch/emacs-uclibc.patch | |
| # Copyright (C) 2006 The OpenSDE Project | |
| # 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. | |
| # --- SDE-COPYRIGHT-NOTE-END --- | |
| --- emacs-21.3/configure.orig	2005-01-23 17:17:09.000000000 -0800 | |
| +++ emacs-21.3/configure	2005-01-23 17:27:56.000000000 -0800 | |
| @@ -1649,6 +1649,7 @@ | |
|        *-esix* )			opsys=esix ;; | |
|        *-xenix* )		opsys=xenix ;; | |
|        *-linux-gnu* )		opsys=gnu-linux ;; | |
| +      *-linux-uclibc* )		opsys=gnu-linux ;; | |
|        *-sco3.2v4* )		opsys=sco4 ; NON_GNU_CPP=/lib/cpp  ;; | |
|        *-sco3.2v5* )		opsys=sco5  | |
|  				NON_GNU_CPP=/lib/cpp | |
| --- emacs-21.3/src/s/gnu-linux.h.orig	2005-02-03 03:51:53.000000000 +0000 | |
| +++ emacs-21.3/src/s/gnu-linux.h	2005-02-03 04:00:39.000000000 +0000 | |
| @@ -162,7 +162,7 @@ | |
|  #else /* !_IO_STDIO_H */ | |
|  /* old C++ iostream names */ | |
|  #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ | |
| -  ((FILE)->_pptr - (FILE)->_pbase) | |
| +  ((FILE)->__bufpos - (FILE)->__bufstart) | |
|  #endif /* !_IO_STDIO_H */ | |
|  #endif /* emacs */ | |
|   | |
| --- emacs-21.3/src/gmalloc.c.orig	2005-02-03 05:38:59.000000000 +0000 | |
| +++ emacs-21.3/src/gmalloc.c	2005-02-03 05:39:12.000000000 +0000 | |
| @@ -1549,9 +1549,9 @@ | |
|  #include <malloc.h> | |
|  #endif | |
|   | |
| -#ifndef	__GNU_LIBRARY__ | |
| +/*#ifndef	__GNU_LIBRARY__*/ | |
|  #define	__sbrk	sbrk | |
| -#endif | |
| +/*#endif*/ | |
|   | |
|  #ifdef __GNU_LIBRARY__ | |
|  /* It is best not to declare this and cast its result on foreign operating
 | |
| 
 |