1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../emacs/uclibc.patch.uclibc
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 ---
16 --- emacs-21.3/configure.orig 2005-01-23 17:17:09.000000000 -0800
17 +++ emacs-21.3/configure 2005-01-23 17:27:56.000000000 -0800
19 *-esix* ) opsys=esix ;;
20 *-xenix* ) opsys=xenix ;;
21 *-linux-gnu* ) opsys=gnu-linux ;;
22 + *-linux-uclibc* ) opsys=gnu-linux ;;
23 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
24 *-sco3.2v5* ) opsys=sco5
26 --- emacs-21.3/src/s/gnu-linux.h.orig 2005-02-03 03:51:53.000000000 +0000
27 +++ emacs-21.3/src/s/gnu-linux.h 2005-02-03 04:00:39.000000000 +0000
29 #else /* !_IO_STDIO_H */
30 /* old C++ iostream names */
31 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
32 - ((FILE)->_pptr - (FILE)->_pbase)
33 + ((FILE)->__bufpos - (FILE)->__bufstart)
34 #endif /* !_IO_STDIO_H */
37 --- emacs-21.3/src/gmalloc.c.orig 2005-02-03 05:38:59.000000000 +0000
38 +++ emacs-21.3/src/gmalloc.c 2005-02-03 05:39:12.000000000 +0000
43 -#ifndef __GNU_LIBRARY__
44 +/*#ifndef __GNU_LIBRARY__*/
49 #ifdef __GNU_LIBRARY__
50 /* It is best not to declare this and cast its result on foreign operating