1 --- misc/STLport-4.5/src/common_macros_os2.mak 2008-07-18 14:14:27.000000000 +0200
2 +++ misc/build/STLport-4.5/src/common_macros_os2.mak 2008-07-18 14:14:05.000000000 +0200
7 +# INSTALLDIR=/usr/local
8 +# INSTALLDIR_INC=$(INSTALLDIR)/include/stlport
9 +# INSTALLDIR_LIB=$(INSTALLDIR)/lib
13 +# INSTALL = ./install.sh -c
14 +# INSTALL_LIB = $(INSTALL)
15 +# INSTALL_H = $(INSTALL) -m 444
22 +VERSION_SUFFIX= $(VERSION_MAJOR)$(VERSION_MINOR)$(BETA_SUFFIX)
23 +DYNAMIC_SUFFIX= $(VERSION_SUFFIX)$(PATCH_SUFFIX)
24 +DYNAMIC_SUFFIX= $(VERSION_SUFFIX)$(PATCH_SUFFIX)
26 +# those are defined "Unix way" in common_macros.mak; redefine them here
27 +RELEASE_DYNLIB=$(RELEASE_NAME)$(DYNAMIC_SUFFIX).$(DYNEXT)
28 +DEBUG_DYNLIB=$(DEBUG_NAME)$(DYNAMIC_SUFFIX).$(DYNEXT)
29 +STLDEBUG_DYNLIB=$(STLDEBUG_NAME)$(DYNAMIC_SUFFIX).$(DYNEXT)
31 +RELEASE_DYNLIB_SONAME=$(RELEASE_NAME)$(VERSION_SUFFIX).$(DYNEXT)
32 +DEBUG_DYNLIB_SONAME=$(DEBUG_NAME)$(VERSION_SUFFIX).$(DYNEXT)
33 +STLDEBUG_DYNLIB_SONAME=$(STLDEBUG_NAME)$(VERSION_SUFFIX).$(DYNEXT)
35 +ALL_DYNAMIC_LIBS=$(OUTDIR)$(PATH_SEP)$(RELEASE_DYNLIB) $(OUTDIR)$(PATH_SEP)$(STLDEBUG_DYNLIB)
36 +ALL_DYNAMIC_LIBS=$(OUTDIR)$(PATH_SEP)$(RELEASE_DYNLIB)
37 +DEBUG_DYNAMIC_LIBS=$(OUTDIR)$(PATH_SEP)$(RELEASE_DYNLIB) $(OUTDIR)$(PATH_SEP)$(STLDEBUG_DYNLIB)
39 +RELEASE_LIB=$(RELEASE_NAME)$(STATIC_SUFFIX).$(STEXT)
40 +DEBUG_LIB=$(DEBUG_NAME)$(STATIC_SUFFIX).$(STEXT)
41 +STLDEBUG_LIB=$(STLDEBUG_NAME)$(STATIC_SUFFIX).$(STEXT)
42 --- misc/STLport-4.5/src/common_percent_rules.mak 2001-05-19 05:04:20.000000000 +0200
43 +++ misc/build/STLport-4.5/src/common_percent_rules.mak 2008-07-18 14:13:49.000000000 +0200
46 .SUFFIXES: .cpp .c .o .so .a
48 +CFLAGS_RELEASE_static*= $(CXXFLAGS_RELEASE_static)
49 +CFLAGS_RELEASE_dynamic*= $(CXXFLAGS_RELEASE_dynamic)
50 +CFLAGS_DEBUG_static*= $(CXXFLAGS_DEBUG_static)
51 +CFLAGS_DEBUG_dynamic*= $(CXXFLAGS_DEBUG_dynamic)
52 +CFLAGS_STLDEBUG_static*= $(CXXFLAGS_STLDEBUG_static)
53 +CFLAGS_STLDEBUG_dynamic*= $(CXXFLAGS_STLDEBUG_dynamic)
55 $(RELEASE_OBJDIR_static)/%.o: %.cpp
56 $(CXX) $(CXXFLAGS_RELEASE_static) $< -c -o $@
57 $(RELEASE_OBJDIR_static)/%.o: %.c
58 - $(CC) $(CXXFLAGS_RELEASE_static) $< -c -o $@
59 + $(CC) $(CFLAGS_RELEASE_static) $< -c -o $@
60 $(RELEASE_OBJDIR_static)/%.i : %.cpp
61 $(CXX) $(CXXFLAGS_RELEASE_static) $< -E $@
63 $(RELEASE_OBJDIR_dynamic)/%.o : %.cpp
64 $(CXX) $(CXXFLAGS_RELEASE_dynamic) $< -c -o $@
65 $(RELEASE_OBJDIR_dynamic)/%.o : %.c
66 - $(CC) $(CXXFLAGS_RELEASE_dynamic) $< -c -o $@
67 + $(CC) $(CFLAGS_RELEASE_dynamic) $< -c -o $@
68 $(RELEASE_OBJDIR_dynamic)/%.i : %.cpp
69 $(CXX) $(CXXFLAGS_RELEASE_dynamic) $< -E $@
71 $(DEBUG_OBJDIR_static)/%.o : %.cpp
72 $(CXX) $(CXXFLAGS_DEBUG_static) $< -c -o $@
73 $(DEBUG_OBJDIR_static)/%.o : %.c
74 - $(CC) $(CXXFLAGS_DEBUG_static) $< -c -o $@
75 + $(CC) $(CFLAGS_DEBUG_static) $< -c -o $@
76 $(DEBUG_OBJDIR_static)/%.i : %.cpp
77 $(CXX) $(CXXFLAGS_DEBUG_static) $< -E $@
79 $(DEBUG_OBJDIR_dynamic)/%.o : %.cpp
80 $(CXX) $(CXXFLAGS_DEBUG_dynamic) $< -c -o $@
81 $(DEBUG_OBJDIR_dynamic)/%.o : %.c
82 - $(CC) $(CXXFLAGS_DEBUG_dynamic) $< -c -o $@
83 + $(CC) $(CFLAGS_DEBUG_dynamic) $< -c -o $@
84 $(DEBUG_OBJDIR_dynamic)/%.i : %.cpp
85 $(CXX) $(CXXFLAGS_DEBUG_dynamic) $< -E $@
87 $(STLDEBUG_OBJDIR_static)/%.o : %.cpp
88 $(CXX) $(CXXFLAGS_STLDEBUG_static) $< -c -o $@
89 $(STLDEBUG_OBJDIR_static)/%.o : %.c
90 - $(CC) $(CXXFLAGS_STLDEBUG_static) $< -c -o $@
91 + $(CC) $(CFLAGS_STLDEBUG_static) $< -c -o $@
92 $(STLDEBUG_OBJDIR_static)/%.i : %.cpp
93 $(CXX) $(CXXFLAGS_STLDEBUG_static) $< -E $@
95 $(STLDEBUG_OBJDIR_dynamic)/%.o : %.cpp
96 $(CXX) $(CXXFLAGS_STLDEBUG_dynamic) $< -c -o $@
97 $(STLDEBUG_OBJDIR_dynamic)/%.o : %.c
98 - $(CC) $(CXXFLAGS_STLDEBUG_dynamic) $< -c -o $@
99 + $(CC) $(CFLAGS_STLDEBUG_dynamic) $< -c -o $@
100 $(STLDEBUG_OBJDIR_dynamic)/%.i : %.cpp
101 $(CXX) $(CXXFLAGS_STLDEBUG_dynamic) $< -E $@
103 --- misc/STLport-4.5/src/dll_main.cpp 2001-08-25 03:14:19.000000000 +0200
104 +++ misc/build/STLport-4.5/src/dll_main.cpp 2008-07-18 14:13:49.000000000 +0200
106 template struct _STLP_CLASS_DECLSPEC __stl_debug_engine<bool>;
110 +template class _STLP_CLASS_DECLSPEC _Node_Alloc_Lock<false,0>;
111 +template class _STLP_CLASS_DECLSPEC _Node_Alloc_Lock<true,0>;
113 template class _STLP_CLASS_DECLSPEC __node_alloc<false,0>;
114 template class _STLP_CLASS_DECLSPEC __node_alloc<true,0>;
115 template class _STLP_CLASS_DECLSPEC __debug_alloc< __node_alloc<true,0> >;
116 --- misc/STLport-4.5/src/gcc-3.0-freebsd.mak 2008-07-18 14:14:26.000000000 +0200
117 +++ misc/build/STLport-4.5/src/gcc-3.0-freebsd.mak 2008-07-18 14:13:49.000000000 +0200
121 +# Note : this makefile is for gcc-3 !
126 +# take these from the OOo build environment
131 +# Basename for libraries
133 +LIB_BASENAME = libstlport_gcc
136 +# guts for common stuff
140 +DYN_LINK=${CXX} -Wl,-rpath,'$$ORIGIN' ${PTHREAD_LIBS} --fexceptions -shared -o
149 +INSTALL_STEP = install_unix
151 +all: all_dynamic all_static symbolic_links
153 +include common_macros.mak
155 +WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized
157 +CXXFLAGS_COMMON = ${PTHREAD_CFLAGS} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -ftemplate-depth-32 -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
158 +CFLAGS_COMMON = ${PTHREAD_CFLAGS} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
160 +CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC
161 +CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
163 +CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC
164 +CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
166 +CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
167 +CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
169 +CFLAGS_RELEASE_static = $(CFLAGS_COMMON) -O2 -fPIC
170 +CFLAGS_RELEASE_dynamic = $(CFLAGS_COMMON) -O2 -fPIC
172 +CFLAGS_DEBUG_static = $(CFLAGS_COMMON) -g -fPIC
173 +CFLAGS_DEBUG_dynamic = $(CFLAGS_COMMON) -g -fPIC
175 +CFLAGS_STLDEBUG_static = $(CFLAGS_DEBUG_static) -D_STLP_DEBUG
176 +CFLAGS_STLDEBUG_dynamic = $(CFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
178 +include common_percent_rules.mak
179 +include common_rules.mak
183 +# cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
186 +# $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
189 --- misc/STLport-4.5/src/gcc-3.0-mingw.mak 2008-07-18 14:14:26.000000000 +0200
190 +++ misc/build/STLport-4.5/src/gcc-3.0-mingw.mak 2008-07-18 14:13:49.000000000 +0200
194 +# Note : this makefile is for gcc-3 !
199 +# take these from the OOo build environment
204 +# Basename for libraries
206 +LIB_BASENAME = libstlport_gcc
209 +# guts for common stuff
213 +DYN_LINK=$(CXX) --fexceptions -shared -o
222 +STATIC_SUFFIX=_static
225 +all: all_dynamic debug_dynamic all_static debug_static
227 +include common_macros.mak
229 +# those are defined "Unix way" in common_macros.mak; redefine them here
230 +RELEASE_DYNLIB=$(RELEASE_NAME).$(DYNEXT)
231 +DEBUG_DYNLIB=$(DEBUG_NAME).$(DYNEXT)
232 +STLDEBUG_DYNLIB=$(STLDEBUG_NAME).$(DYNEXT)
234 +RELEASE_DYNLIB_SONAME=$(RELEASE_DYNLIB)
235 +DEBUG_DYNLIB_SONAME=$(DEBUG_DYNLIB)
236 +STLDEBUG_DYNLIB_SONAME=$(STLDEBUG_DYNLIB)
238 +ALL_DYNAMIC_LIBS=$(OUTDIR)$(PATH_SEP)$(RELEASE_DYNLIB) $(OUTDIR)$(PATH_SEP)$(STLDEBUG_DYNLIB)
239 +DEBUG_DYNAMIC_LIBS=$(OUTDIR)$(PATH_SEP)$(RELEASE_DYNLIB) $(OUTDIR)$(PATH_SEP)$(STLDEBUG_DYNLIB)
241 +RESFILE=$(RELEASE_OBJDIR_dynamic)$(PATH_SEP)stlport.o
242 +RESFILE_debug=$(DEBUG_OBJDIR_dynamic)$(PATH_SEP)stlport.o
243 +RESFILE_stldebug=$(STLDEBUG_OBJDIR_dynamic)$(PATH_SEP)stlport.o
245 +WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized
247 +CXXFLAGS_COMMON = -mthreads -fexceptions -ftemplate-depth-32 -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS}
248 +CFLAGS_COMMON = -mthreads -fexceptions -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS}
250 +LDFLAGS_COMMON_dynamic+= -enable-runtime-pseudo-reloc -Wl,--export-all-symbols -Wl,-d -mthreads
252 +CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
253 +CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -shared -O2 -D_DLL -D_STLP_USE_DYNAMIC_LIB -D_STLP_DLLEXPORT_NEEDS_PREDECLARATION
255 +CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
256 +CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -shared -g -D_DLL -D_STLP_USE_DYNAMIC_LIB -D_STLP_DLLEXPORT_NEEDS_PREDECLARATION
258 +CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
259 +CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
261 +CFLAGS_RELEASE_static = $(CFLAGS_COMMON) -O2
262 +CFLAGS_RELEASE_dynamic = $(CFLAGS_COMMON) -shared -O2 -D_DLL -D_STLP_USE_DYNAMIC_LIB -D_STLP_DLLEXPORT_NEEDS_PREDECLARATION
264 +CFLAGS_DEBUG_static = $(CFLAGS_COMMON) -g
265 +CFLAGS_DEBUG_dynamic = $(CFLAGS_COMMON) -shared -g -D_DLL -D_STLP_USE_DYNAMIC_LIB -D_STLP_DLLEXPORT_NEEDS_PREDECLARATION
267 +CFLAGS_STLDEBUG_static = $(CFLAGS_DEBUG_static) -D_STLP_DEBUG
268 +CFLAGS_STLDEBUG_dynamic = $(CFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
270 +LDLIBS_RELEASE_dynamic = ${LDLIBS_COMMON_dynamic}
271 +LDFLAGS_RELEASE_dynamic = ${CXXFLAGS_RELEASE_dynamic} ${LDFLAGS_COMMON_dynamic} -Wl,-Map,${OUTDIR}/${RELEASE_NAME}.map -Wl,--out-implib,${OUTDIR}/${RELEASE_NAME}.a
273 +LDLIBS_DEBUG_dynamic = ${LDLIBS_COMMON_dynamic}
274 +LDFLAGS_DEBUG_dynamic = ${CXXFLAGS_DEBUG_dynamic} ${LDFLAGS_COMMON_dynamic} -Wl,-Map,${OUTDIR}/${DEBUG_NAME}.map -Wl,--out-implib,${OUTDIR}/${DEBUG_NAME}.a
276 +LDLIBS_STLDEBUG_dynamic = ${LDLIBS_COMMON_dynamic}
277 +LDFLAGS_STLDEBUG_dynamic = ${CXXFLAGS_STLDEBUG_dynamic} ${LDFLAGS_COMMON_dynamic} -Wl,-Map,${OUTDIR}/${STLDEBUG_NAME}.map -Wl,--out-implib,${OUTDIR}/${STLDEBUG_NAME}.a
280 +include common_percent_rules.mak
281 +include common_rules.mak
285 +${RESFILE}: stlport.rc
286 + windres -O coff --define COMP=${COMP} --define BUILD= -o $(RELEASE_OBJDIR_dynamic)$(PATH_SEP)stlport.o stlport.rc
288 +${RESFILE_debug}: stlport.rc
289 + windres -O coff --define COMP=${COMP} --define BUILD=_DEBUG -o $(DEBUG_OBJDIR_dynamic)$(PATH_SEP)stlport.o stlport.rc
291 +${RESFILE_stldebug}: stlport.rc
292 + windres -O coff --define COMP=${COMP} --define BUILD=_STLDEBUG -o $(STLDEBUG_OBJDIR_dynamic)$(PATH_SEP)stlport.o stlport.rc
295 +# cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
298 +# $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
301 --- misc/STLport-4.5/src/gcc-3.0-os2.def 2008-11-26 12:40:40.000000000 +0100
302 +++ misc/build/STLport-4.5/src/gcc-3.0-os2.def 2008-10-10 15:05:36.000000000 +0200
305 +LIBRARY stlp45 INITINSTANCE TERMINSTANCE
308 +;exports manually added for transex3 project
309 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE10_M_xsputncEci
310 +__ZN4_STL8numpunctIcE2idE
311 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPci
312 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEEC2Ev
313 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE
314 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKci
315 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE5uflowEv
316 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEED2Ev
317 +__ZN4_STL7codecvtIcc15__stl_mbstate_tE2idE
318 +__ZN4_STL5ctypeIcE2idE
319 +__ZN4_STL5_LimGIbE6_D_infE
321 + __ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE4syncEv
322 + __ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE9showmanycEv
323 + __ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE
325 +__ZNK4_STL5ctypeIcE8scan_notENS_10ctype_base4maskEPKcS5_
327 +__ZN4_STL15basic_streambufIcNS_11char_traitsIcEEE13_M_snextc_auxEv
328 +__ZNK4_STL5ctypeIcE7scan_isENS_10ctype_base4maskEPKcS5_
329 +__ZN4_STL10_UnderflowIcNS_11char_traitsIcEEE7_M_doitEPNS_13basic_filebufIcS2_EE
330 +__ZN4_STL13_Filebuf_base12_M_page_sizeE
333 +__ZN4_STL12__node_allocILb1ELi0EE11_M_allocateEj
334 +__ZN4_STL12__node_allocILb1ELi0EE13_M_deallocateEPvj
335 +__ZN4_STL10_Rb_globalIbE12_M_decrementEPNS_18_Rb_tree_node_baseE
336 +__ZN4_STL10_Rb_globalIbE10_RebalanceEPNS_18_Rb_tree_node_baseERS3_
337 +__ZN4_STL10_Rb_globalIbE12_M_incrementEPNS_18_Rb_tree_node_baseE
338 +__ZN4_STL10_Rb_globalIbE20_Rebalance_for_eraseEPNS_18_Rb_tree_node_baseERS3_S4_S4_
341 +__ZN4_STL12_List_globalIbE9_TransferEPNS_15_List_node_baseES3_S3_
344 +__ZTVN4_STL13runtime_errorE
345 --- misc/STLport-4.5/src/gcc-3.0-os2.mak 2008-11-26 12:40:40.000000000 +0100
346 +++ misc/build/STLport-4.5/src/gcc-3.0-os2.mak 2008-11-03 15:56:24.000000000 +0100
350 +# Note : this makefile is for gcc-3 !
355 +# take these from the OOo build environment
360 +# Basename for libraries
366 +# guts for common stuff
370 +DYN_LINK=$(CXX) -Zlinker "DISABLE 1121" -Zomf -Zmap -Zhigh-mem -Zbin-files -Zdll gcc-3.0-os2.def -o
380 +INSTALL_STEP = install_unix
382 +LDLIBS_RELEASE_dynamic = -lgcc_eh
383 +LDLIBS_RELEASE_static = -lgcc_eh
385 +#all_static symbolic_links
386 +all: all_dynamic all_import
388 +include common_macros.mak
389 +include common_macros_os2.mak
391 +WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
393 +CXXFLAGS_COMMON = -Zomf -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
394 +CFLAGS_COMMON = -Zomf -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
396 +CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -DSTL_OS2_BUILDING -O3 -march=pentium -mtune=pentium4
397 +CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -DSTL_OS2_BUILDING -O3 -march=pentium -mtune=pentium4
399 +CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
400 +CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g
402 +CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
403 +CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
405 +CFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -DSTL_OS2_BUILDING -O3 -march=pentium -mtune=pentium4
406 +CFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -DSTL_OS2_BUILDING -O3 -march=pentium -mtune=pentium4
408 +CFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
409 +CFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g
411 +CFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
412 +CFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
414 +include common_percent_rules.mak
415 +include common_rules.mak
418 + emximp -o ..\lib\$(RELEASE_NAME)$(DYNAMIC_SUFFIX).a ..\lib\$(RELEASE_NAME)$(DYNAMIC_SUFFIX).$(DYNEXT)
419 + emximp -o ..\lib\$(RELEASE_NAME)$(DYNAMIC_SUFFIX).lib ..\lib\$(RELEASE_NAME)$(DYNAMIC_SUFFIX).$(DYNEXT)
422 +# cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
425 +# $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
428 --- misc/STLport-4.5/src/gcc-3.0.mak 2008-07-18 14:14:26.000000000 +0200
429 +++ misc/build/STLport-4.5/src/gcc-3.0.mak 2008-07-18 14:13:49.000000000 +0200
433 +# Note : this makefile is for gcc-3 !
438 +# take these from the OOo build environment
443 +# Basename for libraries
445 +LIB_BASENAME = libstlport_gcc
448 +# guts for common stuff
452 +DYN_LINK=$(CXX) -Wl,-rpath,'$$ORIGIN' --fexceptions -shared -o
461 +INSTALL_STEP = install_unix
463 +all: all_dynamic all_static symbolic_links
465 +include common_macros.mak
467 +WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized
469 +CXXFLAGS_COMMON = -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -ftemplate-depth-32 -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
470 +CFLAGS_COMMON = -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
472 +CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC
473 +CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
475 +CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC
476 +CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
478 +CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
479 +CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
481 +CFLAGS_RELEASE_static = $(CFLAGS_COMMON) -O2 -fPIC
482 +CFLAGS_RELEASE_dynamic = $(CFLAGS_COMMON) -O2 -fPIC
484 +CFLAGS_DEBUG_static = $(CFLAGS_COMMON) -g -fPIC
485 +CFLAGS_DEBUG_dynamic = $(CFLAGS_COMMON) -g -fPIC
487 +CFLAGS_STLDEBUG_static = $(CFLAGS_DEBUG_static) -D_STLP_DEBUG
488 +CFLAGS_STLDEBUG_dynamic = $(CFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
490 +include common_percent_rules.mak
491 +include common_rules.mak
495 +# cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
498 +# $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
501 --- misc/STLport-4.5/src/gcc-freebsd.mak 2001-07-29 05:36:25.000000000 +0200
502 +++ misc/build/STLport-4.5/src/gcc-freebsd.mak 2008-07-18 14:13:49.000000000 +0200
508 -CXX = c++ -pthread -fexceptions
509 +CC+= ${PTHREAD_CFLAGS} -D_REENTRANT
510 +CXX+= ${PTHREAD_CFLAGS} -D_REENTRANT -fexceptions
513 # Basename for libraries
518 -DYN_LINK=c++ -pthread -fexceptions -shared -o
519 +DYN_LINK=${CXX} ${PTHREAD_LIBS} -fexceptions -shared -o
525 WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
527 -CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS}
528 +CXXFLAGS_COMMON = -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS} ${ARCH_FLAGS}
530 -CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
531 -CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
532 +CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) ${CXXFLAGS}
533 +CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) ${CXXFLAGS} -fPIC
535 CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
536 CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
537 --- misc/STLport-4.5/stlport/config/stl_gcc.h 2001-09-04 19:10:16.000000000 +0200
538 +++ misc/build/STLport-4.5/stlport/config/stl_gcc.h 2008-11-14 17:23:02.000000000 +0100
540 # define _STLP_USE_GLIBC
543 +# if (__GNUC_MINOR__ < 4) && (__GNUC__ == 3)
544 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD
547 # if defined(__FreeBSD__) || defined (__hpux)
548 # define _STLP_NO_WCHAR_T
550 # define _STLP_CLASS_EXPORT_DECLSPEC __attribute__((dllexport))
553 -# if defined (_STLP_USE_DYNAMIC_LIB)
554 -# define _STLP_USE_DECLSPEC 1
555 -# define _STLP_USE_TEMPLATE_EXPORT 1
557 +# if !defined (_STLP_NO_OWN_IOSTREAMS)
559 +# if ( defined (__DLL) || defined (_DLL) || defined (_WINDLL) || defined (_RTLDLL) \
560 + || defined(_AFXDLL) || defined (_STLP_USE_DYNAMIC_LIB) ) \
561 + && ! defined (_STLP_USE_STATIC_LIB)
562 +# undef _STLP_USE_DECLSPEC
563 +# define _STLP_USE_DECLSPEC 1
564 +/* Using dynamic library in MinGW requires _STLP_NO_CUSTOM_IO */
565 +# define _STLP_NO_CUSTOM_IO
568 +# ifndef _STLP_IMPORT_TEMPLATE_KEYWORD
569 +# define _STLP_IMPORT_TEMPLATE_KEYWORD extern
571 +# define _STLP_EXPORT_TEMPLATE_KEYWORD
573 +# endif /* _STLP_OWN_IOSTREAMS */
577 +# if defined(__EMX__)
578 +# define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
579 +# define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
580 +# define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
581 +# define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
583 +//YD 29/03/2006 disable automatic export (generate too many exports/imports)
584 +//YD 13/04/2006 back again
585 +//# define _STLP_EXPORT_DECLSPEC
586 +//# define _STLP_IMPORT_DECLSPEC
587 +//# define _STLP_CLASS_IMPORT_DECLSPEC
588 +//# define _STLP_CLASS_EXPORT_DECLSPEC
589 +//# define _STLP_CALL
590 +# define _STLP_USE_DECLSPEC 1
593 #if (defined(__linux__) /* && ! defined (_GNU_SOURCE) */ ) || \
594 defined (__CYGWIN__) || defined (__MINGW32__) || !(defined (_STLP_USE_GLIBC) || defined (__sun))
595 # define _STLP_NO_NATIVE_MBSTATE_T 1
600 -# define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
601 -# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward
602 +/* properly determine the STLP_NATIVE_INCLUDE_PATH */
635 +#define powerpc powerpc
638 +# define _STLP_NATIVE_INCLUDE_PATH GXX_INCLUDE_PATH
639 +# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH \
640 + GXX_INCLUDE_PATH/backward
642 # elif (__GNUC_MINOR__ < 8)
645 # define _STLP_STATIC_TEMPLATE_DATA 1
651 +#if defined(__sun__) && defined(__GNUC__)
652 +# undef _STLP_HAS_NATIVE_FLOAT_ABS
653 +# define _STLP_VENDOR_GLOBAL_CSTD 1
655 --- misc/STLport-4.5/stlport/cwchar 2001-01-27 02:39:42.000000000 +0100
656 +++ misc/build/STLport-4.5/stlport/cwchar 2008-07-18 14:13:49.000000000 +0200
658 # include <stl/_prolog.h>
662 +#include _STLP_NATIVE_C_HEADER(wchar.h)
664 # include <stl/_cwchar.h>
666 # if (_STLP_OUTERMOST_HEADER_ID == 0x120)
667 --- misc/STLport-4.5/stlport/stdexcept 2001-05-22 02:50:21.000000000 +0200
668 +++ misc/build/STLport-4.5/stlport/stdexcept 2008-07-18 14:13:49.000000000 +0200
671 _STLP_BEGIN_NAMESPACE
674 +#if defined( __GNUC__)
675 +#undef _STLP_NOTHROW_INHERENTLY
676 +#define _STLP_NOTHROW_INHERENTLY throw()
680 class _STLP_CLASS_DECLSPEC __Named_exception : public _STLP_EXCEPTION_BASE {
682 __Named_exception(const string& __str)
683 --- misc/STLport-4.5/stlport/stl/_bvector.h 2001-05-30 05:45:41.000000000 +0200
684 +++ misc/build/STLport-4.5/stlport/stl/_bvector.h 2008-07-18 14:13:49.000000000 +0200
686 # include <stl/_vector.h>
689 -#define __WORD_BIT (int(CHAR_BIT*sizeof(unsigned int)))
690 +#define ___WORD_BIT (int(CHAR_BIT*sizeof(unsigned int)))
692 _STLP_BEGIN_NAMESPACE
695 unsigned int _M_offset;
698 - if (_M_offset++ == __WORD_BIT - 1) {
699 + if (_M_offset++ == ___WORD_BIT - 1) {
705 void _M_bump_down() {
706 if (_M_offset-- == 0) {
707 - _M_offset = __WORD_BIT - 1;
708 + _M_offset = ___WORD_BIT - 1;
712 @@ -100,17 +100,17 @@
714 void _M_advance (difference_type __i) {
715 difference_type __n = __i + _M_offset;
716 - _M_p += __n / __WORD_BIT;
717 - __n = __n % __WORD_BIT;
718 + _M_p += __n / ___WORD_BIT;
719 + __n = __n % ___WORD_BIT;
721 - _M_offset = (unsigned int) __n + __WORD_BIT;
722 + _M_offset = (unsigned int) __n + ___WORD_BIT;
725 _M_offset = (unsigned int) __n;
728 difference_type _M_subtract(const _Bit_iterator_base& __x) const {
729 - return __WORD_BIT * (_M_p - __x._M_p) + _M_offset - __x._M_offset;
730 + return ___WORD_BIT * (_M_p - __x._M_p) + _M_offset - __x._M_offset;
737 unsigned int* _M_bit_alloc(size_t __n)
738 - { return _M_end_of_storage.allocate((__n + __WORD_BIT - 1)/__WORD_BIT); }
739 + { return _M_end_of_storage.allocate((__n + ___WORD_BIT - 1)/___WORD_BIT); }
740 void _M_deallocate() {
742 _M_end_of_storage.deallocate(_M_start._M_p,
745 void _M_initialize(size_type __n) {
746 unsigned int* __q = this->_M_bit_alloc(__n);
747 - this->_M_end_of_storage._M_data = __q + (__n + __WORD_BIT - 1)/__WORD_BIT;
748 + this->_M_end_of_storage._M_data = __q + (__n + ___WORD_BIT - 1)/___WORD_BIT;
749 this->_M_start = iterator(__q, 0);
750 this->_M_finish = this->_M_start + difference_type(__n);
752 @@ -352,13 +352,13 @@
756 - size_type __len = size() ? 2 * size() : __WORD_BIT;
757 + size_type __len = size() ? 2 * size() : ___WORD_BIT;
758 unsigned int* __q = this->_M_bit_alloc(__len);
759 iterator __i = copy(begin(), __position, iterator(__q, 0));
761 this->_M_finish = copy(__position, end(), __i);
762 this->_M_deallocate();
763 - this->_M_end_of_storage._M_data = __q + (__len + __WORD_BIT - 1)/__WORD_BIT;
764 + this->_M_end_of_storage._M_data = __q + (__len + ___WORD_BIT - 1)/___WORD_BIT;
765 this->_M_start = iterator(__q, 0);
769 __i = copy(__first, __last, __i);
770 this->_M_finish = copy(__position, end(), __i);
771 this->_M_deallocate();
772 - this->_M_end_of_storage._M_data = __q + (__len + __WORD_BIT - 1)/__WORD_BIT;
773 + this->_M_end_of_storage._M_data = __q + (__len + ___WORD_BIT - 1)/___WORD_BIT;
774 this->_M_start = iterator(__q, 0);
778 this->_M_finish = copy(begin(), end(), __z);
779 this->_M_deallocate();
780 this->_M_start = iterator(__q, 0);
781 - this->_M_end_of_storage._M_data = __q + (__n + __WORD_BIT - 1)/__WORD_BIT;
782 + this->_M_end_of_storage._M_data = __q + (__n + ___WORD_BIT - 1)/___WORD_BIT;
787 __i = copy(__first, __last, __i);
788 this->_M_finish = copy(__position, end(), __i);
789 this->_M_deallocate();
790 - this->_M_end_of_storage._M_data = __q + (__len + __WORD_BIT - 1)/__WORD_BIT;
791 + this->_M_end_of_storage._M_data = __q + (__len + ___WORD_BIT - 1)/___WORD_BIT;
792 this->_M_start = iterator(__q, 0);
796 __i = copy(__first, __last, __i);
797 this->_M_finish = copy(__position, end(), __i);
798 this->_M_deallocate();
799 - this->_M_end_of_storage._M_data = __q + (__len + __WORD_BIT - 1)/__WORD_BIT;
800 + this->_M_end_of_storage._M_data = __q + (__len + ___WORD_BIT - 1)/___WORD_BIT;
801 this->_M_start = iterator(__q, 0);
805 fill_n(__i, __n, __x);
806 this->_M_finish = copy(__position, end(), __i + difference_type(__n));
807 this->_M_deallocate();
808 - this->_M_end_of_storage._M_data = __q + (__len + __WORD_BIT - 1)/__WORD_BIT;
809 + this->_M_end_of_storage._M_data = __q + (__len + ___WORD_BIT - 1)/___WORD_BIT;
810 this->_M_start = iterator(__q, 0);
814 #undef __BVECTOR_QUALIFIED
815 #undef __BVEC_TMPL_HEADER
820 #endif /* _STLP_INTERNAL_BVECTOR_H */
822 --- misc/STLport-4.5/stlport/stl/_complex.h 2001-07-06 06:16:17.000000000 +0200
823 +++ misc/build/STLport-4.5/stlport/stl/_complex.h 2008-07-18 14:13:49.000000000 +0200
825 #ifndef _STLP_internal_complex_h
826 #define _STLP_internal_complex_h
828 +#if defined __GNUC__
829 +#pragma GCC system_header
832 // This header declares the template class complex, as described in
833 // in the draft C++ standard. Single-precision complex numbers
834 // are complex<float>, double-precision are complex<double>, and
835 --- misc/STLport-4.5/stlport/stl/_config.h 2001-09-04 19:10:18.000000000 +0200
836 +++ misc/build/STLport-4.5/stlport/stl/_config.h 2008-07-18 14:14:05.000000000 +0200
839 # define _STLP_EXPORT_TEMPLATE_CLASS _STLP_EXPORT template class _STLP_CLASS_DECLSPEC
841 -# if defined (_STLP_MSVC) || defined (__ICL)
842 +# if defined (_STLP_MSVC) || defined (__ICL) || defined (__EMX__)
843 # define _STLP_STATIC_MEMBER_DECLSPEC
845 # define _STLP_STATIC_MEMBER_DECLSPEC _STLP_DECLSPEC
846 --- misc/STLport-4.5/stlport/stl/_fstream.h 2001-05-29 01:29:41.000000000 +0200
847 +++ misc/build/STLport-4.5/stlport/stl/_fstream.h 2008-07-18 14:14:05.000000000 +0200
849 #if !defined (_STLP_USE_UNIX_IO) && !defined(_STLP_USE_WIN32_IO) \
850 && ! defined (_STLP_USE_UNIX_EMULATION_IO) && !defined (_STLP_USE_STDIO_IO)
852 -# if defined (_STLP_UNIX) || defined (__CYGWIN__)
853 +# if defined (_STLP_UNIX) || defined (__CYGWIN__) || defined (__EMX__)
854 // open/close/read/write
855 # define _STLP_USE_UNIX_IO
856 # elif defined (_STLP_WIN32) && ! defined (__CYGWIN__)
858 streamoff _M_get_offset(char* __first, char* __last) {
859 #if defined (_STLP_UNIX) || defined (_STLP_MAC)
860 return __last - __first;
861 -#else // defined (_STLP_WIN32) || defined (_STLP_WIN16) || defined (_STLP_DOS)
862 +#else // defined (_STLP_WIN32) || defined (_STLP_WIN16) || defined (_STLP_DOS) || defined (__EMX__)
863 return ( (_M_openmode & ios_base::binary) != 0 )
865 : count(__first, __last, '\n') + (__last - __first);
867 bool _M_in_binary_mode() const {
868 # if defined (_STLP_UNIX) || defined (_STLP_MAC) || defined(__BEOS__)
870 -# elif defined (_STLP_WIN32) || defined (_STLP_WIN16) || defined (_STLP_DOS) || defined (_STLP_VM)
871 +# elif defined (_STLP_WIN32) || defined (_STLP_WIN16) || defined (_STLP_DOS) || defined (_STLP_VM) || defined (__EMX__)
872 return (_M_openmode & ios_base::binary) != 0;
875 --- misc/STLport-4.5/stlport/stl/_ios_base.h 2001-09-04 19:10:18.000000000 +0200
876 +++ misc/build/STLport-4.5/stlport/stl/_ios_base.h 2008-07-18 14:13:49.000000000 +0200
878 template <class Facet>
879 locale::facet* _M_get_facet(ios_base& __i, Facet*)
885 // ----------------------------------------------------------------------
886 --- misc/STLport-4.5/stlport/stl/_rope.h 2001-08-06 04:21:25.000000000 +0200
887 +++ misc/build/STLport-4.5/stlport/stl/_rope.h 2008-07-18 14:13:49.000000000 +0200
888 @@ -1470,7 +1470,7 @@
889 rope<_CharT,_Alloc> __remainder_rope;
892 - typedef _Rope_Concat_fn<_CharT,_Alloc> _Concat_fn;
893 + typedef _Rope_Concat_fn<_CharT,_Alloc> __Concat_fn;
897 @@ -1510,7 +1510,7 @@
898 // One each for base_rope and __result
901 - __result = power(__base_rope, __exponent, _Concat_fn());
902 + __result = power(__base_rope, __exponent, __Concat_fn());
904 if (0 != __remainder) {
905 __result += __remainder_rope;
906 --- misc/STLport-4.5/stlport/stl/_stdio_file.h 2001-03-19 08:01:09.000000000 +0100
907 +++ misc/build/STLport-4.5/stlport/stl/_stdio_file.h 2008-07-18 14:14:05.000000000 +0200
910 # define _STLP_FILE_I_O_IDENTICAL
912 +#elif defined(__EMX__)
914 +inline int _FILE_fd(const FILE& __f) { return __f._handle; }
915 +inline char* _FILE_I_begin(const FILE& __f) { return (char*) __f._buffer; }
916 +inline char* _FILE_I_next(const FILE& __f) { return (char*) __f._ptr; }
917 +inline char* _FILE_I_end(const FILE& __f) { return (char *) __f._ptr + __f._rcount; }
918 +inline ptrdiff_t _FILE_I_avail(const FILE& __f) { return __f._rcount; }
919 +inline char& _FILE_I_preincr(FILE& __f) { --__f._rcount; return *(char*) (++__f._ptr); }
920 +inline char& _FILE_I_postincr(FILE& __f) { --__f._rcount; return *(char*) (__f._ptr++); }
921 +inline char& _FILE_I_predecr(FILE& __f) { ++__f._rcount; return *(char*) (--__f._ptr); }
922 +inline char& _FILE_I_postdecr(FILE& __f) { ++__f._rcount; return *(char*) (__f._ptr--); }
923 +inline void _FILE_I_bump(FILE& __f, int __n) { __f._ptr += __n; __f._rcount -= __n; }
924 +inline void _FILE_I_set(FILE& __f, char* __begin, char* __next, char* __end) {
925 + __f._buffer = __begin;
927 + __f._rcount = __end - __next;
930 +inline char* _FILE_O_begin(const FILE& __f) { return (char*) __f._buffer; }
931 +inline char* _FILE_O_next(const FILE& __f) { return (char*) __f._ptr; }
932 +inline char* _FILE_O_end(const FILE& __f) { return (char*) __f._ptr + __f._wcount; }
933 +inline ptrdiff_t _FILE_O_avail(const FILE& __f) { return __f._wcount; }
934 +inline char& _FILE_O_preincr(FILE& __f) { --__f._wcount; return *(char*) (++__f._ptr); }
935 +inline char& _FILE_O_postincr(FILE& __f) { --__f._wcount; return *(char*) (__f._ptr++); }
936 +inline char& _FILE_O_predecr(FILE& __f) { ++__f._wcount; return *(char*) (--__f._ptr); }
937 +inline char& _FILE_O_postdecr(FILE& __f) { ++__f._wcount; return *(char*) (__f._ptr--); }
938 +inline void _FILE_O_bump(FILE& __f, int __n) { __f._ptr += __n; __f._wcount -= __n; }
939 +inline void _FILE_O_set(FILE& __f, char* __begin, char* __next, char* __end) {
940 + __f._buffer = __begin;
942 + __f._wcount = __end - __next;
946 +# undef _STLP_FILE_I_O_IDENTICAL
948 #elif defined (__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) || ( defined(__GNUC__) && defined(__APPLE__) )
952 inline int _FILE_fd(const FILE& __f) { return __f._file; }
953 inline char* _FILE_I_begin(const FILE& __f) { return (char*) __f._bf._base; }
954 --- misc/STLport-4.5/stlport/stl/_threads.h 2001-09-04 19:10:20.000000000 +0200
955 +++ misc/build/STLport-4.5/stlport/stl/_threads.h 2008-07-18 14:14:05.000000000 +0200
958 # define _STLP_MUTEX_INITIALIZER = { 0 }
959 #elif defined(_STLP_OS2THREADS)
961 +#define INCL_DOSSEMAPHORES
962 +#ifndef STL_OS2_BUILDING
969 // This section serves to replace os2.h for VisualAge C++
970 typedef unsigned long ULONG;
971 #ifndef __HEV__ /* INCL_SEMAPHORE may also define HEV */
973 APIRET _System DosRequestMutexSem(HMTX hmtx, ULONG ulTimeout);
974 APIRET _System DosReleaseMutexSem(HMTX hmtx);
975 APIRET _System DosCloseMutexSem(HMTX hmtx);
978 # define _STLP_MUTEX_INITIALIZER = { 0 };
982 inline void _M_destroy() { DosCloseMutexSem(_M_lock); }
983 inline void _M_acquire_lock() {
984 if(!_M_lock) _M_initialize();
985 - DosRequestMutexSem(_M_lock, -1);
986 + DosRequestMutexSem(_M_lock, ((ULONG)-1));
988 inline void _M_release_lock() { DosReleaseMutexSem(_M_lock); }
989 #elif defined(_STLP_BETHREADS)
992 inline void _M_acquire_lock() {
993 if(!_M_lock) _M_initialize();
994 - DosRequestMutexSem(*(HMTX*)_M_lock, -1);
995 + DosRequestMutexSem(*(HMTX*)_M_lock, ((ULONG)-1));
997 inline void _M_release_lock() { DosReleaseMutexSem(*(HMTX*)_M_lock); }
998 # else /* No threads */
999 --- misc/STLport-4.5/stlport/stl/_tree.c 2001-08-25 03:14:30.000000000 +0200
1000 +++ misc/build/STLport-4.5/stlport/stl/_tree.c 2008-12-02 17:14:29.035425872 +0100
1001 @@ -404,10 +404,12 @@
1003 iterator __j = iterator(__y);
1007 return pair<iterator,bool>(_M_insert(__x, __y, __v), true);
1011 if (_M_key_compare(_S_key(__j._M_node), _KeyOfValue()(__v)))
1012 return pair<iterator,bool>(_M_insert(__x, __y, __v), true);
1013 return pair<iterator,bool>(__j, false);
1014 --- misc/STLport-4.5/stlport/stl/_valarray.h 2001-05-30 05:45:42.000000000 +0200
1015 +++ misc/build/STLport-4.5/stlport/stl/_valarray.h 2008-07-18 14:13:49.000000000 +0200
1017 #ifndef _STLP_VALARRAY_H
1018 #define _STLP_VALARRAY_H
1020 +#if defined __GNUC__
1021 +#pragma GCC system_header
1027 --- misc/STLport-4.5/stlport/stl/c_locale.h 2001-05-31 05:24:41.000000000 +0200
1028 +++ misc/build/STLport-4.5/stlport/stl/c_locale.h 2008-07-18 14:14:05.000000000 +0200
1029 @@ -167,6 +167,18 @@
1030 # define _Locale_ALPHA (_Locale_UPPER | _Locale_LOWER)
1031 # define _Locale_PRINT (_Locale_ALPHA | _Locale_DIGIT | _Locale_PUNCT | 0200 )
1033 +# elif defined (__EMX__) // YD
1035 +# define _Locale_CNTRL __CT_CNTRL
1036 +# define _Locale_UPPER __CT_UPPER
1037 +# define _Locale_LOWER __CT_LOWER
1038 +# define _Locale_DIGIT __CT_DIGIT
1039 +# define _Locale_XDIGIT __CT_XDIGIT
1040 +# define _Locale_PUNCT __CT_PUNCT
1041 +# define _Locale_SPACE __CT_SPACE
1042 +# define _Locale_PRINT __CT_PRINT
1043 +# define _Locale_ALPHA __CT_ALPHA
1045 # elif defined (__FreeBSD__)
1047 # define _Locale_CNTRL _CTYPE_C