0a8256ba04
2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
184 lines
7.4 KiB
Diff
184 lines
7.4 KiB
Diff
--- misc/db-4.7.25.NC/dist/Makefile.in 2008-05-06 12:03:36.000000000 +0900
|
|
+++ misc/build/db-4.7.25.NC/dist/Makefile.in 2009-07-11 13:38:07.419875000 +0900
|
|
@@ -44,7 +44,7 @@
|
|
SOLINK= @MAKEFILE_SOLINK@ @CFLAGS@
|
|
SOFLAGS= @SOFLAGS@
|
|
LIBMAJOR= @DB_VERSION_MAJOR@
|
|
-LIBVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
+LIBVERSION= @DB_VERSION_MAJOR@@DB_VERSION_MINOR@
|
|
|
|
CPPFLAGS= -I$(builddir) -I$(srcdir) @CPPFLAGS@
|
|
|
|
@@ -62,18 +62,18 @@
|
|
|
|
libdb_base= libdb
|
|
libdb= $(libdb_base).a
|
|
-libdb_version= $(libdb_base)-$(LIBVERSION).a
|
|
-libso= $(libdb_base)-$(LIBVERSION)@SOSUFFIX@
|
|
-libso_target= $(libdb_base)-$(LIBVERSION).la
|
|
+libdb_version= $(libdb_base)$(LIBVERSION).a
|
|
+libso= $(libdb_base)$(LIBVERSION)@SOSUFFIX@
|
|
+libso_target= $(libdb_base)$(LIBVERSION).la
|
|
libso_default= $(libdb_base)@SOSUFFIX@
|
|
-libso_major= $(libdb_base)-$(LIBMAJOR)@SOSUFFIX@
|
|
+libso_major= $(libdb_base)$(LIBMAJOR)@SOSUFFIX@
|
|
|
|
##################################################
|
|
# C++ API.
|
|
#
|
|
# C++ support is optional, and can be built with static or shared libraries.
|
|
##################################################
|
|
-CXXFLAGS= -c $(CPPFLAGS) @CXXFLAGS@
|
|
+CXXFLAGS= -c $(SOLARINC) $(CPPFLAGS) -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) @CXXFLAGS@
|
|
CXX= @MAKEFILE_CXX@
|
|
CXXLINK= @MAKEFILE_CXXLINK@ @CXXFLAGS@
|
|
XSOLINK= @MAKEFILE_XSOLINK@ @CXXFLAGS@
|
|
@@ -81,11 +81,11 @@
|
|
|
|
libcxx_base= libdb_cxx
|
|
libcxx= $(libcxx_base).a
|
|
-libcxx_version= $(libcxx_base)-$(LIBVERSION).a
|
|
-libxso= $(libcxx_base)-$(LIBVERSION)@SOSUFFIX@
|
|
-libxso_target= $(libcxx_base)-$(LIBVERSION).la
|
|
+libcxx_version= $(libcxx_base)$(LIBVERSION).a
|
|
+libxso= $(libcxx_base)$(LIBVERSION)@SOSUFFIX@
|
|
+libxso_target= $(libcxx_base)$(LIBVERSION).la
|
|
libxso_default= $(libcxx_base)@SOSUFFIX@
|
|
-libxso_major= $(libcxx_base)-$(LIBMAJOR)@SOSUFFIX@
|
|
+libxso_major= $(libcxx_base)$(LIBMAJOR)@SOSUFFIX@
|
|
|
|
##################################################
|
|
# Java API.
|
|
@@ -108,12 +108,12 @@
|
|
libj_jarfile= db.jar
|
|
libj_exjarfile= dbexamples.jar
|
|
libjso_base= libdb_java
|
|
-libjso= $(libjso_base)-$(LIBVERSION)@JMODSUFFIX@
|
|
-libjso_static= $(libjso_base)-$(LIBVERSION).a
|
|
-libjso_target= $(libjso_base)-$(LIBVERSION).la
|
|
+libjso= $(libjso_base)$(LIBVERSION)@JMODSUFFIX@
|
|
+libjso_static= $(libjso_base)$(LIBVERSION).a
|
|
+libjso_target= $(libjso_base)$(LIBVERSION).la
|
|
libjso_default= $(libjso_base)@JMODSUFFIX@
|
|
-libjso_major= $(libjso_base)-$(LIBMAJOR)@JMODSUFFIX@
|
|
-libjso_g= $(libjso_base)-$(LIBVERSION)_g@JMODSUFFIX@
|
|
+libjso_major= $(libjso_base)$(LIBMAJOR)@JMODSUFFIX@
|
|
+libjso_g= $(libjso_base)$(LIBVERSION)_g@JMODSUFFIX@
|
|
|
|
##################################################
|
|
# TCL API.
|
|
@@ -123,11 +123,11 @@
|
|
TCL_INCLUDE_SPEC= @TCL_INCLUDE_SPEC@
|
|
LIBTSO_LIBS= @LIBTSO_LIBS@ @LIBSO_LIBS@
|
|
libtso_base= libdb_tcl
|
|
-libtso= $(libtso_base)-$(LIBVERSION)@MODSUFFIX@
|
|
-libtso_static= $(libtso_base)-$(LIBVERSION).a
|
|
-libtso_target= $(libtso_base)-$(LIBVERSION).la
|
|
+libtso= $(libtso_base)$(LIBVERSION)@MODSUFFIX@
|
|
+libtso_static= $(libtso_base)$(LIBVERSION).a
|
|
+libtso_target= $(libtso_base)$(LIBVERSION).la
|
|
libtso_default= $(libtso_base)@MODSUFFIX@
|
|
-libtso_major= $(libtso_base)-$(LIBMAJOR)@MODSUFFIX@
|
|
+libtso_major= $(libtso_base)$(LIBMAJOR)@MODSUFFIX@
|
|
|
|
##################################################
|
|
# db_dump185 UTILITY
|
|
@@ -756,7 +756,7 @@
|
|
|
|
# Shared Java library.
|
|
$(libjso_target): $(JAVA_OBJS) $(C_OBJS)
|
|
- $(SOLINK) -shrext @JMODSUFFIX@ $(SOFLAGS) $(LDFLAGS) \
|
|
+ $(SOLINK) -shrext @JMODSUFFIX@ -add-underscore $(SOFLAGS) $(LDFLAGS) \
|
|
-o $@ $(JAVA_OBJS) $(C_OBJS) $(LIBJSO_LIBS)
|
|
|
|
# Shared Tcl library.
|
|
--- misc/db-4.7.25.NC/dist/configure 2008-05-16 06:12:41.000000000 +0900
|
|
+++ misc/build/db-4.7.25.NC/dist/configure 2009-07-11 16:00:39.255625000 +0900
|
|
@@ -9488,7 +9488,7 @@
|
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
|
|
|
|
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
|
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
+ archive_cmds='$DLLTOOL $add_underscore --export-all-symbols --dllname $soname --output-lib $lib --output-exp $output_objdir/$soname.exp $libobjs; $CC -shared $output_objdir/$soname.exp $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base ${wl}--image-base=0x10000000'
|
|
# If the export-symbols file already is a .def file (1st line
|
|
# is EXPORTS), use it as is; otherwise, prepend...
|
|
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
|
@@ -9497,7 +9497,7 @@
|
|
echo EXPORTS > $output_objdir/$soname.def;
|
|
cat $export_symbols >> $output_objdir/$soname.def;
|
|
fi~
|
|
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
+ $DLLTOOL $add_underscore --dllname $soname --output-lib $lib --output-exp $output_objdir/$soname.exp --input-def $output_objdir/$soname.def; $CC -shared $output_objdir/$soname.exp $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base ${wl}--image-base=0x10000000'
|
|
else
|
|
ld_shlibs=no
|
|
fi
|
|
@@ -13680,15 +13680,15 @@
|
|
|
|
if test "$pre_test_object_deps_done" = no; then
|
|
if test -z "$predep_objects_CXX"; then
|
|
- predep_objects_CXX="$p"
|
|
+ predep_objects_CXX=`cygpath -m "$p"`
|
|
else
|
|
- predep_objects_CXX="$predep_objects_CXX $p"
|
|
+ predep_objects_CXX="$predep_objects_CXX "`cygpath -m "$p"`
|
|
fi
|
|
else
|
|
if test -z "$postdep_objects_CXX"; then
|
|
- postdep_objects_CXX="$p"
|
|
+ postdep_objects_CXX=`cygpath -m "$p"`
|
|
else
|
|
- postdep_objects_CXX="$postdep_objects_CXX $p"
|
|
+ postdep_objects_CXX="$postdep_objects_CXX "`cygpath -m "$p"`
|
|
fi
|
|
fi
|
|
;;
|
|
@@ -27697,6 +27697,18 @@
|
|
|
|
|
|
|
|
+ac_cv_sizeof_char_p=`echo $ac_cv_sizeof_char_p | tr -d '\015'`
|
|
+ac_cv_sizeof_unsigned_int=`echo $ac_cv_sizeof_unsigned_int | tr -d '\015'`
|
|
+ac_cv_sizeof_unsigned_char=`echo $ac_cv_sizeof_unsigned_char | tr -d '\015'`
|
|
+ac_cv_sizeof_unsigned_short=`echo $ac_cv_sizeof_unsigned_short | tr -d '\015'`
|
|
+ac_cv_sizeof_unsigned_long=`echo $ac_cv_sizeof_unsigned_long | tr -d '\015'`
|
|
+ac_cv_sizeof_unsigned_long_long=`echo $ac_cv_sizeof_unsigned_long_long | tr -d '\015'`
|
|
+ac_cv_sizeof_int=`echo $ac_cv_sizeof_int | tr -d '\015'`
|
|
+ac_cv_sizeof_char=`echo $ac_cv_sizeof_char | tr -d '\015'`
|
|
+ac_cv_sizeof_short=`echo $ac_cv_sizeof_short | tr -d '\015'`
|
|
+ac_cv_sizeof_long=`echo $ac_cv_sizeof_long | tr -d '\015'`
|
|
+ac_cv_sizeof_long_long=`echo $ac_cv_sizeof_long_long | tr -d '\015'`
|
|
+
|
|
# We look for u_char, u_short, u_int, u_long -- if we can't find them,
|
|
# we create our own.
|
|
|
|
--- misc/db-4.7.25.NC/dist/ltmain.sh 2006-06-27 10:03:33.000000000 +0900
|
|
+++ misc/build/db-4.7.25.NC/dist/ltmain.sh 2009-07-11 13:38:07.388625000 +0900
|
|
@@ -1103,6 +1103,7 @@
|
|
lib_search_path=`pwd`
|
|
inst_prefix_dir=
|
|
|
|
+ add_underscore=
|
|
avoid_version=no
|
|
dlfiles=
|
|
dlprefiles=
|
|
@@ -1435,6 +1436,11 @@
|
|
prevarg="$arg"
|
|
|
|
case $arg in
|
|
+ -add-underscore)
|
|
+ add_underscore="--add-underscore"
|
|
+ continue
|
|
+ ;;
|
|
+
|
|
-all-static)
|
|
if test -n "$link_static_flag"; then
|
|
compile_command="$compile_command $link_static_flag"
|
|
@@ -4869,7 +4875,7 @@
|
|
esac
|
|
# test for cygwin because mv fails w/o .exe extensions
|
|
case $host in
|
|
- *cygwin*)
|
|
+ *cygwin* | *mingw*)
|
|
exeext=.exe
|
|
outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
|
|
*) exeext= ;;
|