fix busybox applet lookup (thanks, Stefan Weil)
[openwrt.git] / openwrt / package / squid / patches / 01-cross_compile.patch
1 diff -urN squid-2.5.STABLE13/configure squid-2.5.STABLE13.new/configure
2 --- squid-2.5.STABLE13/configure 2006-03-12 12:29:22.000000000 +0100
3 +++ squid-2.5.STABLE13.new/configure 2006-04-15 10:30:10.000000000 +0200
4 @@ -2441,10 +2441,6 @@
5 if test -z "$SSLLIB"; then
6 SSLLIB="-lcrypto" # for MD5 routines
7 fi
8 - if $PKGCONFIG --exists openssl; then
9 - SSLLIB="`$PKGCONFIG --libs openssl`"
10 - SSLFLAGS="`$PKGCONFIG --cflags openssl`"
11 - fi
12 CPPFLAGS="${SSLFLAGS} $CPPFLAGS"
13 fi
14
15 diff -urN squid-2.5.STABLE13/helpers/basic_auth/LDAP/Makefile.in squid-2.5.STABLE13.new/helpers/basic_auth/LDAP/Makefile.in
16 --- squid-2.5.STABLE13/helpers/basic_auth/LDAP/Makefile.in 2005-09-28 22:57:18.000000000 +0200
17 +++ squid-2.5.STABLE13.new/helpers/basic_auth/LDAP/Makefile.in 2006-04-15 10:29:39.000000000 +0200
18 @@ -130,8 +130,10 @@
19 EXTRA_DIST = squid_ldap_auth.8
20 squid_ldap_auth_SOURCES = squid_ldap_auth.c
21
22 -LDADD = -L$(top_builddir)/lib -lmiscutil -lldap $(LIB_LBER) $(XTRA_LIBS)
23 -INCLUDES = -I$(top_srcdir)/include
24 +LDADD = -L$(top_builddir)/lib -lmiscutil -lldap $(LIB_LBER) $(XTRA_LIBS) \
25 + -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
26 +INCLUDES = -I$(top_srcdir)/include -I$(STAGING_DIR)/usr/include \
27 + -I$(STAGING_DIR)/include
28 subdir = helpers/basic_auth/LDAP
29 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
30 CONFIG_HEADER = $(top_builddir)/include/autoconf.h
31 diff -urN squid-2.5.STABLE13/helpers/digest_auth/password/Makefile.in squid-2.5.STABLE13.new/helpers/digest_auth/password/Makefile.in
32 --- squid-2.5.STABLE13/helpers/digest_auth/password/Makefile.in 2005-09-28 22:57:20.000000000 +0200
33 +++ squid-2.5.STABLE13.new/helpers/digest_auth/password/Makefile.in 2006-04-15 10:29:39.000000000 +0200
34 @@ -127,10 +127,12 @@
35
36 libexec_PROGRAMS = digest_pw_auth
37 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
38 - -I$(top_srcdir)/src/
39 + -I$(top_srcdir)/src/ -I$(STAGING_DIR)/usr/include \
40 + -I$(STAGING_DIR)/include
41
42
43 -LDADD = -L$(top_builddir)/lib -lmiscutil $(CRYPTLIB) $(XTRA_LIBS) $(SSLLIB)
44 +LDADD = -L$(top_builddir)/lib -lmiscutil $(CRYPTLIB) $(XTRA_LIBS) $(SSLLIB) \
45 + -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
46 subdir = helpers/digest_auth/password
47 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
48 CONFIG_HEADER = $(top_builddir)/include/autoconf.h
49 diff -urN squid-2.5.STABLE13/helpers/external_acl/ldap_group/Makefile.in squid-2.5.STABLE13.new/helpers/external_acl/ldap_group/Makefile.in
50 --- squid-2.5.STABLE13/helpers/external_acl/ldap_group/Makefile.in 2005-09-28 22:57:20.000000000 +0200
51 +++ squid-2.5.STABLE13.new/helpers/external_acl/ldap_group/Makefile.in 2006-04-15 10:29:39.000000000 +0200
52 @@ -130,7 +130,8 @@
53 EXTRA_DIST = squid_ldap_group.8
54 squid_ldap_group_SOURCES = squid_ldap_group.c
55
56 -LDADD = -lldap $(LIB_LBER) $(XTRA_LIBS)
57 +LDADD = -lldap $(LIB_LBER) $(XTRA_LIBS) \
58 + -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
59 subdir = helpers/external_acl/ldap_group
60 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
61 CONFIG_HEADER = $(top_builddir)/include/autoconf.h
62 @@ -145,7 +146,9 @@
63 squid_ldap_group_LDFLAGS =
64
65 DEFS = @DEFS@
66 -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
67 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include \
68 + -I$(STAGING_DIR)/usr/include \
69 + -I$(STAGING_DIR)/include
70 CPPFLAGS = @CPPFLAGS@
71 LDFLAGS = @LDFLAGS@
72 LIBS = @LIBS@
73 diff -urN squid-2.5.STABLE13/include/autoconf.h.in squid-2.5.STABLE13.new/include/autoconf.h.in
74 --- squid-2.5.STABLE13/include/autoconf.h.in 2005-09-13 02:12:34.000000000 +0200
75 +++ squid-2.5.STABLE13.new/include/autoconf.h.in 2006-04-15 10:29:39.000000000 +0200
76 @@ -729,10 +729,10 @@
77 #undef HAVE_OPENSSL_ERR_H
78
79 /* Define if you have the <openssl/md5.h> header file. */
80 -#undef HAVE_OPENSSL_MD5_H
81 +#define HAVE_OPENSSL_MD5_H 1
82
83 /* Define if you have the <openssl/ssl.h> header file. */
84 -#undef HAVE_OPENSSL_SSL_H
85 +#define HAVE_OPENSSL_SSL_H 1
86
87 /* Define if you have the <poll.h> header file. */
88 #undef HAVE_POLL_H
89 diff -urN squid-2.5.STABLE13/lib/Makefile.in squid-2.5.STABLE13.new/lib/Makefile.in
90 --- squid-2.5.STABLE13/lib/Makefile.in 2005-09-28 22:57:20.000000000 +0200
91 +++ squid-2.5.STABLE13.new/lib/Makefile.in 2006-04-15 10:29:39.000000000 +0200
92 @@ -63,6 +63,7 @@
93 host_triplet = @host@
94 AMTAR = @AMTAR@
95 AR = @AR@
96 +HOST_AR = ar
97 AR_R = @AR_R@
98 AUTH_LIBS = @AUTH_LIBS@
99 AUTH_MODULES = @AUTH_MODULES@
100 @@ -72,6 +73,7 @@
101 CACHE_HTTP_PORT = @CACHE_HTTP_PORT@
102 CACHE_ICP_PORT = @CACHE_ICP_PORT@
103 CC = @CC@
104 +HOST_CC = gcc
105 CGIEXT = @CGIEXT@
106 CPP = @CPP@
107 CRYPTLIB = @CRYPTLIB@
108 @@ -95,6 +97,8 @@
109 MV = @MV@
110 NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
111 OBJEXT = @OBJEXT@
112 +HOST_OBJEXT = @OBJEXT@.$(shell uname -m)
113 +HOST_DEPEXT = .$(shell uname -m)
114 PACKAGE = @PACKAGE@
115 PERL = @PERL@
116 PKGCONFIG = @PKGCONFIG@
117 @@ -133,6 +137,7 @@
118 noinst_LIBRARIES = \
119 @LIBDLMALLOC@ \
120 libmiscutil.a \
121 + libmiscutil$(shell uname -m).a \
122 libntlmauth.a \
123 @LIBREGEX@
124
125 @@ -162,9 +167,34 @@
126 util.c \
127 uudecode.c
128
129 +libmiscutil_a_HOST_SOURCES = \
130 + Array.c \
131 + base64.c \
132 + getfullhostname.c \
133 + hash.c \
134 + heap.c \
135 + html_quote.c \
136 + iso3307.c \
137 + $(MD5SOURCE) \
138 + radix.c \
139 + rfc1035.c \
140 + rfc1123.c \
141 + rfc1738.c \
142 + rfc2617.c \
143 + safe_inet_addr.c \
144 + $(SNPRINTFSOURCE) \
145 + splay.c \
146 + Stack.c \
147 + stub_memaccount.c \
148 + util.c \
149 + uudecode.c
150 +
151 libmiscutil_a_LIBADD = \
152 @LIBOBJS@
153
154 +libmiscutil_a_HOST_LIBADD = \
155 + @LIBOBJS@
156 +
157 # $(top_srcdir)/include/version.h should be a dependency
158 libregex_a_SOURCES = \
159 GNUregex.c
160 @@ -179,7 +209,7 @@
161 @LIBOBJS@
162
163
164 -INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
165 +INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include
166 subdir = lib
167 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
168 CONFIG_HEADER = $(top_builddir)/include/autoconf.h
169 @@ -193,9 +223,11 @@
170 libmiscutil_a_AR = $(AR) cru
171 libmiscutil_a_DEPENDENCIES = @LIBOBJS@
172 @NEED_OWN_MD5_TRUE@am__objects_1 = md5.$(OBJEXT)
173 +@NEED_OWN_MD5_TRUE@am__host_objects_1 = md5.$(HOST_OBJEXT)
174 @NEED_OWN_MD5_FALSE@am__objects_1 =
175 @NEED_OWN_SNPRINTF_FALSE@am__objects_2 =
176 @NEED_OWN_SNPRINTF_TRUE@am__objects_2 = snprintf.$(OBJEXT)
177 +@NEED_OWN_SNPRINTF_TRUE@am__host_objects_2 = snprintf.$(HOST_OBJEXT)
178 am_libmiscutil_a_OBJECTS = Array.$(OBJEXT) base64.$(OBJEXT) \
179 getfullhostname.$(OBJEXT) hash.$(OBJEXT) heap.$(OBJEXT) \
180 html_quote.$(OBJEXT) iso3307.$(OBJEXT) $(am__objects_1) \
181 @@ -203,7 +235,19 @@
182 rfc1738.$(OBJEXT) rfc2617.$(OBJEXT) safe_inet_addr.$(OBJEXT) \
183 $(am__objects_2) splay.$(OBJEXT) Stack.$(OBJEXT) \
184 stub_memaccount.$(OBJEXT) util.$(OBJEXT) uudecode.$(OBJEXT)
185 +am_libmiscutil_a_HOST_OBJECTS = Array.$(HOST_OBJEXT) \
186 + base64.$(HOST_OBJEXT) getfullhostname.$(HOST_OBJEXT) \
187 + hash.$(HOST_OBJEXT) heap.$(HOST_OBJEXT) \
188 + html_quote.$(HOST_OBJEXT) iso3307.$(HOST_OBJEXT) \
189 + $(am__host_objects_1) radix.$(HOST_OBJEXT) \
190 + rfc1035.$(HOST_OBJEXT) rfc1123.$(HOST_OBJEXT) \
191 + rfc1738.$(HOST_OBJEXT) rfc2617.$(HOST_OBJEXT) \
192 + safe_inet_addr.$(HOST_OBJEXT) $(am__host_objects_2) \
193 + splay.$(HOST_OBJEXT) Stack.$(HOST_OBJEXT) \
194 + stub_memaccount.$(HOST_OBJEXT) util.$(HOST_OBJEXT) \
195 + uudecode.$(HOST_OBJEXT)
196 libmiscutil_a_OBJECTS = $(am_libmiscutil_a_OBJECTS)
197 +libmiscutil_a_HOST_OBJECTS = $(am_libmiscutil_a_HOST_OBJECTS)
198 libntlmauth_a_AR = $(AR) cru
199 libntlmauth_a_DEPENDENCIES = @LIBOBJS@
200 am_libntlmauth_a_OBJECTS = ntlmauth.$(OBJEXT)
201 @@ -233,22 +277,42 @@
202 @AMDEP_TRUE@ $(DEPDIR)/splay.Po $(DEPDIR)/strerror.Po \
203 @AMDEP_TRUE@ $(DEPDIR)/stub_memaccount.Po $(DEPDIR)/tempnam.Po \
204 @AMDEP_TRUE@ $(DEPDIR)/util.Po $(DEPDIR)/uudecode.Po
205 +@AMDEP_TRUE@DEP_HOST_FILES = $(DEPDIR)/Array.Po.$(HOST_DEPEXT) $(DEPDIR)/GNUregex.Po.$(HOST_DEPEXT) \
206 +@AMDEP_TRUE@ $(DEPDIR)/Stack.Po.$(HOST_DEPEXT) $(DEPDIR)/base64.Po.$(HOST_DEPEXT) \
207 +@AMDEP_TRUE@ $(DEPDIR)/dlmalloc.Po.$(HOST_DEPEXT) $(DEPDIR)/drand48.Po.$(HOST_DEPEXT) \
208 +@AMDEP_TRUE@ $(DEPDIR)/getfullhostname.Po.$(HOST_DEPEXT) $(DEPDIR)/hash.Po.$(HOST_DEPEXT) \
209 +@AMDEP_TRUE@ $(DEPDIR)/heap.Po.$(HOST_DEPEXT) $(DEPDIR)/html_quote.Po.$(HOST_DEPEXT) \
210 +@AMDEP_TRUE@ $(DEPDIR)/inet_ntoa.Po.$(HOST_DEPEXT) $(DEPDIR)/initgroups.Po.$(HOST_DEPEXT) \
211 +@AMDEP_TRUE@ $(DEPDIR)/iso3307.Po.$(HOST_DEPEXT) $(DEPDIR)/md5.Po.$(HOST_DEPEXT) \
212 +@AMDEP_TRUE@ $(DEPDIR)/ntlmauth.Po.$(HOST_DEPEXT) $(DEPDIR)/radix.Po.$(HOST_DEPEXT) \
213 +@AMDEP_TRUE@ $(DEPDIR)/rfc1035.Po.$(HOST_DEPEXT) $(DEPDIR)/rfc1123.Po.$(HOST_DEPEXT) \
214 +@AMDEP_TRUE@ $(DEPDIR)/rfc1738.Po.$(HOST_DEPEXT) $(DEPDIR)/rfc2617.Po.$(HOST_DEPEXT) \
215 +@AMDEP_TRUE@ $(DEPDIR)/safe_inet_addr.Po.$(HOST_DEPEXT) $(DEPDIR)/snprintf.Po.$(HOST_DEPEXT) \
216 +@AMDEP_TRUE@ $(DEPDIR)/splay.Po.$(HOST_DEPEXT) $(DEPDIR)/strerror.Po.$(HOST_DEPEXT) \
217 +@AMDEP_TRUE@ $(DEPDIR)/stub_memaccount.Po.$(HOST_DEPEXT) $(DEPDIR)/tempnam.Po.$(HOST_DEPEXT) \
218 +@AMDEP_TRUE@ $(DEPDIR)/util.Po.$(HOST_DEPEXT) $(DEPDIR)/uudecode.Po.$(HOST_DEPEXT)
219 +
220 +
221 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
222 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
223 +HOST_COMPILE = $(HOST_CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
224 + $(AM_CFLAGS)
225 CCLD = $(CC)
226 +HOST_CCLD = ld
227 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
228 +HOST_LINK = $(HOST_CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
229 CFLAGS = @CFLAGS@
230 DIST_SOURCES = $(libdlmalloc_a_SOURCES) $(libmiscutil_a_SOURCES) \
231 $(EXTRA_libmiscutil_a_SOURCES) $(libntlmauth_a_SOURCES) \
232 - $(libregex_a_SOURCES)
233 + $(libregex_a_SOURCES) $(libmiscutil_a_HOST_SOURCES)
234 DIST_COMMON = Makefile.am Makefile.in drand48.c inet_ntoa.c \
235 initgroups.c strerror.c tempnam.c
236 -SOURCES = $(libdlmalloc_a_SOURCES) $(libmiscutil_a_SOURCES) $(EXTRA_libmiscutil_a_SOURCES) $(libntlmauth_a_SOURCES) $(libregex_a_SOURCES)
237 +SOURCES = $(libdlmalloc_a_SOURCES) $(libmiscutil_a_SOURCES) $(libmiscutil_a_HOST_SOURCES) $(EXTRA_libmiscutil_a_SOURCES) $(libntlmauth_a_SOURCES) $(libregex_a_SOURCES)
238
239 all: all-am
240
241 .SUFFIXES:
242 -.SUFFIXES: .c .o .obj
243 +.SUFFIXES: .c .o .obj .o.$(shell uname -m)
244 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
245 cd $(top_srcdir) && \
246 $(AUTOMAKE) --foreign lib/Makefile
247 @@ -265,10 +329,13 @@
248 -rm -f libdlmalloc.a
249 $(libdlmalloc_a_AR) libdlmalloc.a $(libdlmalloc_a_OBJECTS) $(libdlmalloc_a_LIBADD)
250 $(RANLIB) libdlmalloc.a
251 -libmiscutil.a: $(libmiscutil_a_OBJECTS) $(libmiscutil_a_DEPENDENCIES)
252 +libmiscutil.a: $(libmiscutil_a_OBJECTS) $(libmiscutil_a_HOST_OBJECTS) $(libmiscutil_a_DEPENDENCIES)
253 -rm -f libmiscutil.a
254 + -rm -f libmiscutil$(shell uname -m).a
255 $(libmiscutil_a_AR) libmiscutil.a $(libmiscutil_a_OBJECTS) $(libmiscutil_a_LIBADD)
256 + ar rcu libmiscutil$(shell uname -m).a $(libmiscutil_a_HOST_OBJECTS) $(libmiscutil_a_HOST_LIBADD)
257 $(RANLIB) libmiscutil.a
258 + ranlib libmiscutil$(shell uname -m).a
259 libntlmauth.a: $(libntlmauth_a_OBJECTS) $(libntlmauth_a_DEPENDENCIES)
260 -rm -f libntlmauth.a
261 $(libntlmauth_a_AR) libntlmauth.a $(libntlmauth_a_OBJECTS) $(libntlmauth_a_LIBADD)
262 @@ -313,6 +380,7 @@
263 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util.Po@am__quote@
264 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/uudecode.Po@am__quote@
265
266 +
267 distclean-depend:
268 -rm -rf $(DEPDIR)
269
270 @@ -321,7 +389,8 @@
271 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
272 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
273 $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
274 -
275 +.c.o.$(shell uname -m):
276 + $(HOST_COMPILE) -o $(shell basename $< .c).o.$(shell uname -m) -c $<
277 .c.obj:
278 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
279 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
280 diff -urN squid-2.5.STABLE13/src/auth/Makefile.in squid-2.5.STABLE13.new/src/auth/Makefile.in
281 --- squid-2.5.STABLE13/src/auth/Makefile.in 2005-09-28 22:57:24.000000000 +0200
282 +++ squid-2.5.STABLE13.new/src/auth/Makefile.in 2006-04-15 10:29:39.000000000 +0200
283 @@ -135,7 +135,8 @@
284 libntlm_a_SOURCES = ntlm/auth_ntlm.c ntlm/auth_ntlm.h
285
286 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
287 - -I$(top_srcdir)/src/
288 + -I$(top_srcdir)/src/ -I$(STAGING_DIR)/include \
289 + -I$(STAGING_DIR)/usr/include
290
291 subdir = src/auth
292 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
293 diff -urN squid-2.5.STABLE13/src/ctype.c squid-2.5.STABLE13.new/src/ctype.c
294 --- squid-2.5.STABLE13/src/ctype.c 1970-01-01 01:00:00.000000000 +0100
295 +++ squid-2.5.STABLE13.new/src/ctype.c 2006-04-15 10:29:39.000000000 +0200
296 @@ -0,0 +1,546 @@
297 +/*
298 + Static ctype data for IFC-7.1 / RedHat-9 workaround.
299 + This is taken from the GLIBC source code.
300 + Hack by Joe Krahn <krahn@niehs.nih.gov>
301 +
302 + To use, compile with gcc (ifc should work as well):
303 +
304 + gcc -c ctype.c
305 +
306 + Next, include the resulting ctype.o when creating executables.
307 + Do this automatically using a ~/.ifcrc file with a line like this:
308 +
309 + -Wl,/some/path/ctype.o
310 +
311 + That's all.
312 +
313 + My .ifcrc also turns off the typically excessive warnings:
314 + -cm -w90 -w95 -Wl,/home/krahn/Prog/ctype/ctype.o
315 +
316 + To IFC maintainters: it would be nice to flag on/off specific
317 + warning types, like -woff=22,33,44
318 +
319 +*/
320 +
321 +/*
322 + file: ctype.c
323 +
324 + Derived from C-ctype.c and ctype-info.c in the GLIBC 2.3 source.
325 +
326 + To compile: (either gcc or icc is OK)
327 + icc -c ctype.c
328 +
329 + To use, just add the object file ctype.o at link stage. Example:
330 + ifc -o hello hello.f ctype.o
331 +
332 +*/
333 +
334 +
335 +/* Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
336 + This file is part of the GNU C Library.
337 + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
338 +
339 + The GNU C Library is free software; you can redistribute it and/or
340 + modify it under the terms of the GNU Lesser General Public
341 + License as published by the Free Software Foundation; either
342 + version 2.1 of the License, or (at your option) any later version.
343 +
344 + The GNU C Library is distributed in the hope that it will be useful,
345 + but WITHOUT ANY WARRANTY; without even the implied warranty of
346 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
347 + Lesser General Public License for more details.
348 +
349 + You should have received a copy of the GNU Lesser General Public
350 + License along with the GNU C Library; if not, write to the Free
351 + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
352 + 02111-1307 USA. */
353 +
354 +#include <stdint.h>
355 +
356 +/* This table's entries are taken from POSIX.2 Table 2-6
357 + ``LC_CTYPE Category Definition in the POSIX Locale''.
358 +
359 + The `_nl_C_LC_CTYPE_width' array is a GNU extension.
360 +
361 + In the `_nl_C_LC_CTYPE_class' array the value for EOF (== -1)
362 + is set to always return 0 and the conversion arrays return EOF. */
363 +
364 +const char _nl_C_LC_CTYPE_class[768] =
365 + /* 0x80 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
366 + /* 0x86 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
367 + /* 0x8c */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
368 + /* 0x92 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
369 + /* 0x98 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
370 + /* 0x9e */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
371 + /* 0xa4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
372 + /* 0xaa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
373 + /* 0xb0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
374 + /* 0xb6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
375 + /* 0xbc */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
376 + /* 0xc2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
377 + /* 0xc8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
378 + /* 0xce */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
379 + /* 0xd4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
380 + /* 0xda */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
381 + /* 0xe0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
382 + /* 0xe6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
383 + /* 0xec */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
384 + /* 0xf2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
385 + /* 0xf8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
386 + /* 0xfe */ "\000\000" "\000\000" "\002\000" "\002\000" "\002\000" "\002\000"
387 + /* 0x04 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\003\040"
388 + /* 0x0a */ "\002\040" "\002\040" "\002\040" "\002\040" "\002\000" "\002\000"
389 + /* 0x10 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
390 + /* 0x16 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
391 + /* 0x1c */ "\002\000" "\002\000" "\002\000" "\002\000" "\001\140" "\004\300"
392 + /* 0x22 */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
393 + /* 0x28 */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
394 + /* 0x2e */ "\004\300" "\004\300" "\010\330" "\010\330" "\010\330" "\010\330"
395 + /* 0x34 */ "\010\330" "\010\330" "\010\330" "\010\330" "\010\330" "\010\330"
396 + /* 0x3a */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
397 + /* 0x40 */ "\004\300" "\010\325" "\010\325" "\010\325" "\010\325" "\010\325"
398 + /* 0x46 */ "\010\325" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
399 + /* 0x4c */ "\010\305" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
400 + /* 0x52 */ "\010\305" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
401 + /* 0x58 */ "\010\305" "\010\305" "\010\305" "\004\300" "\004\300" "\004\300"
402 + /* 0x5e */ "\004\300" "\004\300" "\004\300" "\010\326" "\010\326" "\010\326"
403 + /* 0x64 */ "\010\326" "\010\326" "\010\326" "\010\306" "\010\306" "\010\306"
404 + /* 0x6a */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
405 + /* 0x70 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
406 + /* 0x76 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\004\300"
407 + /* 0x7c */ "\004\300" "\004\300" "\004\300" "\002\000" "\000\000" "\000\000"
408 + /* 0x82 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
409 + /* 0x88 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
410 + /* 0x8e */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
411 + /* 0x94 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
412 + /* 0x9a */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
413 + /* 0xa0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
414 + /* 0xa6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
415 + /* 0xac */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
416 + /* 0xb2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
417 + /* 0xb8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
418 + /* 0xbe */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
419 + /* 0xc4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
420 + /* 0xca */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
421 + /* 0xd0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
422 + /* 0xd6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
423 + /* 0xdc */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
424 + /* 0xe2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
425 + /* 0xe8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
426 + /* 0xee */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
427 + /* 0xf4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
428 + /* 0xfa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
429 +;
430 +const char _nl_C_LC_CTYPE_class32[1024] =
431 + /* 0x00 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
432 + /* 0x03 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
433 + /* 0x06 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
434 + /* 0x09 */ "\000\000\003\040" "\000\000\002\040" "\000\000\002\040"
435 + /* 0x0c */ "\000\000\002\040" "\000\000\002\040" "\000\000\002\000"
436 + /* 0x0f */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
437 + /* 0x12 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
438 + /* 0x15 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
439 + /* 0x18 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
440 + /* 0x1b */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
441 + /* 0x1e */ "\000\000\002\000" "\000\000\002\000" "\000\000\001\140"
442 + /* 0x21 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
443 + /* 0x24 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
444 + /* 0x27 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
445 + /* 0x2a */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
446 + /* 0x2d */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
447 + /* 0x30 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
448 + /* 0x33 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
449 + /* 0x36 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
450 + /* 0x39 */ "\000\000\010\330" "\000\000\004\300" "\000\000\004\300"
451 + /* 0x3c */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
452 + /* 0x3f */ "\000\000\004\300" "\000\000\004\300" "\000\000\010\325"
453 + /* 0x42 */ "\000\000\010\325" "\000\000\010\325" "\000\000\010\325"
454 + /* 0x45 */ "\000\000\010\325" "\000\000\010\325" "\000\000\010\305"
455 + /* 0x48 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
456 + /* 0x4b */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
457 + /* 0x4e */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
458 + /* 0x51 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
459 + /* 0x54 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
460 + /* 0x57 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
461 + /* 0x5a */ "\000\000\010\305" "\000\000\004\300" "\000\000\004\300"
462 + /* 0x5d */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
463 + /* 0x60 */ "\000\000\004\300" "\000\000\010\326" "\000\000\010\326"
464 + /* 0x63 */ "\000\000\010\326" "\000\000\010\326" "\000\000\010\326"
465 + /* 0x66 */ "\000\000\010\326" "\000\000\010\306" "\000\000\010\306"
466 + /* 0x69 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
467 + /* 0x6c */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
468 + /* 0x6f */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
469 + /* 0x72 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
470 + /* 0x75 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
471 + /* 0x78 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
472 + /* 0x7b */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
473 + /* 0x7e */ "\000\000\004\300" "\000\000\002\000" "\000\000\000\000"
474 + /* 0x81 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
475 + /* 0x84 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
476 + /* 0x87 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
477 + /* 0x8a */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
478 + /* 0x8d */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
479 + /* 0x90 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
480 + /* 0x93 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
481 + /* 0x96 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
482 + /* 0x99 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
483 + /* 0x9c */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
484 + /* 0x9f */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
485 + /* 0xa2 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
486 + /* 0xa5 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
487 + /* 0xa8 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
488 + /* 0xab */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
489 + /* 0xae */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
490 + /* 0xb1 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
491 + /* 0xb4 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
492 + /* 0xb7 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
493 + /* 0xba */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
494 + /* 0xbd */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
495 + /* 0xc0 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
496 + /* 0xc3 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
497 + /* 0xc6 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
498 + /* 0xc9 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
499 + /* 0xcc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
500 + /* 0xcf */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
501 + /* 0xd2 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
502 + /* 0xd5 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
503 + /* 0xd8 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
504 + /* 0xdb */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
505 + /* 0xde */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
506 + /* 0xe1 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
507 + /* 0xe4 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
508 + /* 0xe7 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
509 + /* 0xea */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
510 + /* 0xed */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
511 + /* 0xf0 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
512 + /* 0xf3 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
513 + /* 0xf6 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
514 + /* 0xf9 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
515 + /* 0xfc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
516 + /* 0xff */ "\000\000\000\000"
517 +;
518 +const uint32_t _nl_C_LC_CTYPE_toupper[384] =
519 +{
520 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
521 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
522 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
523 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
524 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
525 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
526 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
527 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
528 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
529 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
530 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
531 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
532 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
533 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
534 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
535 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xffffffff,
536 + /* 0x00 */ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
537 + /* 0x08 */ 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
538 + /* 0x10 */ 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
539 + /* 0x18 */ 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
540 + /* 0x20 */ 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
541 + /* 0x28 */ 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
542 + /* 0x30 */ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
543 + /* 0x38 */ 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
544 + /* 0x40 */ 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
545 + /* 0x48 */ 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
546 + /* 0x50 */ 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
547 + /* 0x58 */ 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
548 + /* 0x60 */ 0x60, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
549 + /* 0x68 */ 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
550 + /* 0x70 */ 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
551 + /* 0x78 */ 0x58, 0x59, 0x5a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
552 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
553 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
554 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
555 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
556 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
557 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
558 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
559 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
560 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
561 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
562 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
563 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
564 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
565 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
566 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
567 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
568 +};
569 +const uint32_t _nl_C_LC_CTYPE_tolower[384] =
570 +{
571 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
572 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
573 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
574 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
575 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
576 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
577 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
578 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
579 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
580 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
581 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
582 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
583 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
584 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
585 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
586 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xffffffff,
587 + /* 0x00 */ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
588 + /* 0x08 */ 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
589 + /* 0x10 */ 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
590 + /* 0x18 */ 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
591 + /* 0x20 */ 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
592 + /* 0x28 */ 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
593 + /* 0x30 */ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
594 + /* 0x38 */ 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
595 + /* 0x40 */ 0x40, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
596 + /* 0x48 */ 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
597 + /* 0x50 */ 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
598 + /* 0x58 */ 0x78, 0x79, 0x7a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
599 + /* 0x60 */ 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
600 + /* 0x68 */ 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
601 + /* 0x70 */ 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
602 + /* 0x78 */ 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
603 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
604 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
605 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
606 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
607 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
608 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
609 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
610 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
611 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
612 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
613 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
614 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
615 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
616 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
617 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
618 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
619 +};
620 +
621 +#define STRUCT_CTYPE_CLASS(p, q) \
622 + struct \
623 + { \
624 + uint32_t isctype_data[8]; \
625 + uint32_t header[5]; \
626 + uint32_t level1[1]; \
627 + uint32_t level2[1 << q]; \
628 + uint32_t level3[1 << p]; \
629 + }
630 +
631 +const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_upper =
632 +{
633 + { 0x00000000, 0x00000000, 0x07fffffe, 0x00000000,
634 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
635 + },
636 + { 7, 1, 6, 1, 1 },
637 + /* 1st-level table */
638 + { 6 * sizeof (uint32_t) },
639 + /* 2nd-level table */
640 + { 0, 8 * sizeof (uint32_t) },
641 + /* 3rd-level table */
642 + { 0x07fffffe, 0x00000000 }
643 +};
644 +const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_lower =
645 +{
646 + { 0x00000000, 0x00000000, 0x00000000, 0x07fffffe,
647 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
648 + },
649 + { 7, 1, 6, 1, 1 },
650 + /* 1st-level table */
651 + { 6 * sizeof (uint32_t) },
652 + /* 2nd-level table */
653 + { 0, 8 * sizeof (uint32_t) },
654 + /* 3rd-level table */
655 + { 0x00000000, 0x07fffffe }
656 +};
657 +const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_alpha =
658 +{
659 + { 0x00000000, 0x00000000, 0x07fffffe, 0x07fffffe,
660 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
661 + },
662 + { 7, 1, 6, 1, 1 },
663 + /* 1st-level table */
664 + { 6 * sizeof (uint32_t) },
665 + /* 2nd-level table */
666 + { 0, 8 * sizeof (uint32_t) },
667 + /* 3rd-level table */
668 + { 0x07fffffe, 0x07fffffe }
669 +};
670 +const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_digit =
671 +{
672 + { 0x00000000, 0x03ff0000, 0x00000000, 0x00000000,
673 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
674 + },
675 + { 6, 1, 6, 0, 1 },
676 + /* 1st-level table */
677 + { 6 * sizeof (uint32_t) },
678 + /* 2nd-level table */
679 + { 7 * sizeof (uint32_t) },
680 + /* 3rd-level table */
681 + { 0x00000000, 0x03ff0000 }
682 +};
683 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_xdigit =
684 +{
685 + { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e,
686 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
687 + },
688 + { 7, 1, 7, 0, 3 },
689 + /* 1st-level table */
690 + { 6 * sizeof (uint32_t) },
691 + /* 2nd-level table */
692 + { 7 * sizeof (uint32_t) },
693 + /* 3rd-level table */
694 + { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e }
695 +};
696 +const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_space =
697 +{
698 + { 0x00003e00, 0x00000001, 0x00000000, 0x00000000,
699 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
700 + },
701 + { 6, 1, 6, 0, 1 },
702 + /* 1st-level table */
703 + { 6 * sizeof (uint32_t) },
704 + /* 2nd-level table */
705 + { 7 * sizeof (uint32_t) },
706 + /* 3rd-level table */
707 + { 0x00003e00, 0x00000001 }
708 +};
709 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_print =
710 +{
711 + { 0x00000000, 0xffffffff, 0xffffffff, 0x7fffffff,
712 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
713 + },
714 + { 7, 1, 7, 0, 3 },
715 + /* 1st-level table */
716 + { 6 * sizeof (uint32_t) },
717 + /* 2nd-level table */
718 + { 7 * sizeof (uint32_t) },
719 + /* 3rd-level table */
720 + { 0x00000000, 0xffffffff, 0xffffffff, 0x7fffffff }
721 +};
722 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_graph =
723 +{
724 + { 0x00000000, 0xfffffffe, 0xffffffff, 0x7fffffff,
725 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
726 + },
727 + { 7, 1, 7, 0, 3 },
728 + /* 1st-level table */
729 + { 6 * sizeof (uint32_t) },
730 + /* 2nd-level table */
731 + { 7 * sizeof (uint32_t) },
732 + /* 3rd-level table */
733 + { 0x00000000, 0xfffffffe, 0xffffffff, 0x7fffffff }
734 +};
735 +const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_blank =
736 +{
737 + { 0x00000200, 0x00000001, 0x00000000, 0x00000000,
738 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
739 + },
740 + { 6, 1, 6, 0, 1 },
741 + /* 1st-level table */
742 + { 6 * sizeof (uint32_t) },
743 + /* 2nd-level table */
744 + { 7 * sizeof (uint32_t) },
745 + /* 3rd-level table */
746 + { 0x00000200, 0x00000001 }
747 +};
748 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_cntrl =
749 +{
750 + { 0xffffffff, 0x00000000, 0x00000000, 0x80000000,
751 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
752 + },
753 + { 7, 1, 7, 0, 3 },
754 + /* 1st-level table */
755 + { 6 * sizeof (uint32_t) },
756 + /* 2nd-level table */
757 + { 7 * sizeof (uint32_t) },
758 + /* 3rd-level table */
759 + { 0xffffffff, 0x00000000, 0x00000000, 0x80000000 }
760 +};
761 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_punct =
762 +{
763 + { 0x00000000, 0xfc00fffe, 0xf8000001, 0x78000001,
764 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
765 + },
766 + { 7, 1, 7, 0, 3 },
767 + /* 1st-level table */
768 + { 6 * sizeof (uint32_t) },
769 + /* 2nd-level table */
770 + { 7 * sizeof (uint32_t) },
771 + /* 3rd-level table */
772 + { 0x00000000, 0xfc00fffe, 0xf8000001, 0x78000001 }
773 +};
774 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_alnum =
775 +{
776 + { 0x00000000, 0x03ff0000, 0x07fffffe, 0x07fffffe,
777 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
778 + },
779 + { 7, 1, 7, 0, 3 },
780 + /* 1st-level table */
781 + { 6 * sizeof (uint32_t) },
782 + /* 2nd-level table */
783 + { 7 * sizeof (uint32_t) },
784 + /* 3rd-level table */
785 + { 0x00000000, 0x03ff0000, 0x07fffffe, 0x07fffffe }
786 +};
787 +
788 +const struct
789 +{
790 + uint32_t header[5];
791 + uint32_t level1[1];
792 + uint32_t level2[4];
793 + int32_t level3[32];
794 +}
795 +_nl_C_LC_CTYPE_map_toupper =
796 +{
797 + { 7, 1, 5, 3, 31 },
798 + /* 1st-level table */
799 + { 6 * sizeof (uint32_t) },
800 + /* 2nd-level table */
801 + { 0, 0, 0, 10 * sizeof (uint32_t) },
802 + /* 3rd-level table */
803 + {
804 + 0x00000000, 0xffffffe0, 0xffffffe0, 0xffffffe0,
805 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
806 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
807 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
808 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
809 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
810 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0x00000000,
811 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
812 + }
813 +},
814 +_nl_C_LC_CTYPE_map_tolower =
815 +{
816 + { 7, 1, 5, 3, 31 },
817 + /* 1st-level table */
818 + { 6 * sizeof (uint32_t) },
819 + /* 2nd-level table */
820 + { 0, 0, 10 * sizeof (uint32_t), 0 },
821 + /* 3rd-level table */
822 + {
823 + 0x00000000, 0x00000020, 0x00000020, 0x00000020,
824 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
825 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
826 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
827 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
828 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
829 + 0x00000020, 0x00000020, 0x00000020, 0x00000000,
830 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
831 + }
832 +};
833 +
834 +#define b(t,x,o) (((const t *) _nl_C_LC_CTYPE_##x) + o)
835 +
836 +const uint16_t *__ctype_b = b (uint16_t, class, 128);
837 +const uint32_t *__ctype32_b = b (uint32_t, class32, 0);
838 +const int32_t *__ctype_tolower = b (int32_t, tolower, 128);
839 +const int32_t *__ctype_toupper = b (int32_t, toupper, 128);
840 +const uint32_t *__ctype32_tolower = b (uint32_t, tolower, 128);
841 +const uint32_t *__ctype32_toupper = b (uint32_t, toupper, 128);
842 +
843 diff -urN squid-2.5.STABLE13/src/fs/Makefile.in squid-2.5.STABLE13.new/src/fs/Makefile.in
844 --- squid-2.5.STABLE13/src/fs/Makefile.in 2005-09-28 22:57:26.000000000 +0200
845 +++ squid-2.5.STABLE13.new/src/fs/Makefile.in 2006-04-15 10:29:39.000000000 +0200
846 @@ -147,7 +147,8 @@
847
848
849 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
850 - -I$(top_srcdir)/src/
851 + -I$(top_srcdir)/src/ -I$(STAGING_DIR)/include \
852 + -I$(STAGING_DIR)/usr/include
853
854 subdir = src/fs
855 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
856 diff -urN squid-2.5.STABLE13/src/Makefile.in squid-2.5.STABLE13.new/src/Makefile.in
857 --- squid-2.5.STABLE13/src/Makefile.in 2005-09-28 22:57:21.000000000 +0200
858 +++ squid-2.5.STABLE13.new/src/Makefile.in 2006-04-15 10:29:39.000000000 +0200
859 @@ -157,7 +157,8 @@
860
861 SUBDIRS = fs repl auth
862
863 -INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
864 +INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include \
865 + -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include
866
867 EXTRA_PROGRAMS = \
868 unlinkd \
869 @@ -318,6 +319,7 @@
870
871 squid_LDADD = \
872 -L../lib \
873 + -L$(STAGING_DIR)/usr/lib \
874 @XTRA_OBJS@ \
875 @REPL_OBJS@ \
876 @STORE_OBJS@ \
877 @@ -1141,6 +1143,9 @@
878 $(SHELL) -c "test -f squid.conf.default || ./cf_gen cf.data"
879
880 cf_parser.h: cf.data cf_gen$(EXEEXT)
881 + rm -f cf_gen
882 + gcc -c ctype.c
883 + gcc -o cf_gen cf_gen.c -I./ -I../ -I../include/ -L../lib -lmiscutil$(shell uname -m) -lm -lbsd -lnsl -Wl,ctype.o
884 ./cf_gen cf.data
885
886 cf_gen_defines.h: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre
887 diff -urN squid-2.5.STABLE13/src/repl/Makefile.in squid-2.5.STABLE13.new/src/repl/Makefile.in
888 --- squid-2.5.STABLE13/src/repl/Makefile.in 2005-09-28 22:57:28.000000000 +0200
889 +++ squid-2.5.STABLE13.new/src/repl/Makefile.in 2006-04-15 10:29:39.000000000 +0200
890 @@ -136,7 +136,8 @@
891 libheap_a_SOURCES = heap/store_heap_replacement.h heap/store_heap_replacement.c heap/store_repl_heap.c
892
893 INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
894 - -I$(top_srcdir)/src/
895 + -I$(top_srcdir)/src/ -I$(STAGING_DIR)/include \
896 + -I$(STAGING_DIR)/usr/include
897
898 subdir = src/repl
899 mkinstalldirs = $(SHELL) $(top_srcdir)/cfgaux/mkinstalldirs
This page took 0.079766 seconds and 5 git commands to generate.