diff --git a/ChangeLog b/ChangeLog index 05c7870..ab1dcf0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2016-05-10 Danilo Chang + + * Setup version to v0.3.5 to test + * Fix overflow of a nearby variable on the stack + patch from gahr (merge code) + +2016-05-09 Danilo Chang + + * Chase gcc 4.8 warning patch from gahr (merge code) + +2016-05-07 Danilo Chang + + * env open command: let -fixedmap default to false + 2016-05-06 Danilo Chang * Setup version to v0.3.4 to test diff --git a/Makefile b/Makefile index e9e5ad1..9074319 100644 --- a/Makefile +++ b/Makefile @@ -57,8 +57,8 @@ PKG_HEADERS = # configuration options) composed of the named objects. #======================================================================== -PKG_LIB_FILE = liblmdb0.3.4.so -PKG_STUB_LIB_FILE = liblmdbstub0.3.4.a +PKG_LIB_FILE = liblmdb0.3.5.so +PKG_STUB_LIB_FILE = liblmdbstub0.3.5.a lib_BINARIES = $(PKG_LIB_FILE) BINARIES = $(lib_BINARIES) @@ -94,7 +94,7 @@ INSTALL_SCRIPT = ${INSTALL} INSTALL_LIBRARY = ${INSTALL_DATA} PACKAGE_NAME = lmdb -PACKAGE_VERSION = 0.3.4 +PACKAGE_VERSION = 0.3.5 CC = gcc CFLAGS_DEFAULT = -O2 -fomit-frame-pointer -DNDEBUG CFLAGS_WARNING = -Wall @@ -165,8 +165,8 @@ endif # that your library may use. TCL_DEFS can actually be a problem if # you do not compile with a similar machine setup as the Tcl core was # compiled with. -#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"lmdb\" -DPACKAGE_TARNAME=\"lmdb\" -DPACKAGE_VERSION=\"0.3.4\" -DPACKAGE_STRING=\"lmdb\ 0.3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_lmdb=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(PKG_CFLAGS) -DEFS = -DPACKAGE_NAME=\"lmdb\" -DPACKAGE_TARNAME=\"lmdb\" -DPACKAGE_VERSION=\"0.3.4\" -DPACKAGE_STRING=\"lmdb\ 0.3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_lmdb=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(PKG_CFLAGS) +#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"lmdb\" -DPACKAGE_TARNAME=\"lmdb\" -DPACKAGE_VERSION=\"0.3.5\" -DPACKAGE_STRING=\"lmdb\ 0.3.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_lmdb=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(PKG_CFLAGS) +DEFS = -DPACKAGE_NAME=\"lmdb\" -DPACKAGE_TARNAME=\"lmdb\" -DPACKAGE_VERSION=\"0.3.5\" -DPACKAGE_STRING=\"lmdb\ 0.3.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_lmdb=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(PKG_CFLAGS) # Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl diff --git a/config.status b/config.status index a6fdc1e..76bea9d 100755 --- a/config.status +++ b/config.status @@ -380,7 +380,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by lmdb $as_me 0.3.4, which was +This file was extended by lmdb $as_me 0.3.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -419,7 +419,7 @@ Report bugs to the package provider." ac_cs_config="" ac_cs_version="\ -lmdb config.status 0.3.4 +lmdb config.status 0.3.5 configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" @@ -663,8 +663,8 @@ S["PKG_HEADERS"]="" S["PKG_TCL_SOURCES"]="" S["PKG_STUB_OBJECTS"]="" S["PKG_STUB_SOURCES"]="" -S["PKG_STUB_LIB_FILE"]="liblmdbstub0.3.4.a" -S["PKG_LIB_FILE"]="liblmdb0.3.4.so" +S["PKG_STUB_LIB_FILE"]="liblmdbstub0.3.5.a" +S["PKG_LIB_FILE"]="liblmdb0.3.5.so" S["EXEEXT"]="" S["CYGPATH"]="echo" S["target_alias"]="" @@ -674,7 +674,7 @@ S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" -S["DEFS"]="-DPACKAGE_NAME=\\\"lmdb\\\" -DPACKAGE_TARNAME=\\\"lmdb\\\" -DPACKAGE_VERSION=\\\"0.3.4\\\" -DPACKAGE_STRING=\\\"lmdb\\ 0.3.4\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_U"\ +S["DEFS"]="-DPACKAGE_NAME=\\\"lmdb\\\" -DPACKAGE_TARNAME=\\\"lmdb\\\" -DPACKAGE_VERSION=\\\"0.3.5\\\" -DPACKAGE_STRING=\\\"lmdb\\ 0.3.5\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_U"\ "RL=\\\"\\\" -DBUILD_lmdb=/\\*\\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_S"\ "TRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THR"\ "EAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEF"\ @@ -703,8 +703,8 @@ S["prefix"]="/usr" S["exec_prefix"]="/usr" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="" -S["PACKAGE_STRING"]="lmdb 0.3.4" -S["PACKAGE_VERSION"]="0.3.4" +S["PACKAGE_STRING"]="lmdb 0.3.5" +S["PACKAGE_VERSION"]="0.3.5" S["PACKAGE_TARNAME"]="lmdb" S["PACKAGE_NAME"]="lmdb" S["PATH_SEPARATOR"]=":" diff --git a/configure b/configure index 15ce9db..aa0a9b2 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for lmdb 0.3.4. +# Generated by GNU Autoconf 2.69 for lmdb 0.3.5. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='lmdb' PACKAGE_TARNAME='lmdb' -PACKAGE_VERSION='0.3.4' -PACKAGE_STRING='lmdb 0.3.4' +PACKAGE_VERSION='0.3.5' +PACKAGE_STRING='lmdb 0.3.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1294,7 +1294,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures lmdb 0.3.4 to adapt to many kinds of systems. +\`configure' configures lmdb 0.3.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1355,7 +1355,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of lmdb 0.3.4:";; + short | recursive ) echo "Configuration of lmdb 0.3.5:";; esac cat <<\_ACEOF @@ -1456,7 +1456,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -lmdb configure 0.3.4 +lmdb configure 0.3.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1821,7 +1821,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by lmdb $as_me 0.3.4, which was +It was created by lmdb $as_me 0.3.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -9326,7 +9326,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by lmdb $as_me 0.3.4, which was +This file was extended by lmdb $as_me 0.3.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9379,7 +9379,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -lmdb config.status 0.3.4 +lmdb config.status 0.3.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index fafaa2c..5958b33 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ dnl to configure the system for the local environment. # so that we create the export library with the dll. #----------------------------------------------------------------------- -AC_INIT([lmdb], [0.3.4]) +AC_INIT([lmdb], [0.3.5]) #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. diff --git a/pkgIndex.tcl b/pkgIndex.tcl index 1c090b1..f40f911 100644 --- a/pkgIndex.tcl +++ b/pkgIndex.tcl @@ -1,5 +1,5 @@ # # Tcl package index file # -package ifneeded lmdb 0.3.4 \ - [list load [file join $dir liblmdb0.3.4.so] lmdb] +package ifneeded lmdb 0.3.5 \ + [list load [file join $dir liblmdb0.3.5.so] lmdb] diff --git a/tcl-lmdb_SUSE.spec b/tcl-lmdb_SUSE.spec index a0682ce..578c707 100644 --- a/tcl-lmdb_SUSE.spec +++ b/tcl-lmdb_SUSE.spec @@ -4,11 +4,11 @@ Name: tcl-lmdb Summary: Tcl interface for LMDB -Version: 0.3.4 +Version: 0.3.5 Release: 2 License: BSD Group: Development/Libraries/Tcl -Source: https://sites.google.com/site/ray2501/tcl-lmdb/tcl-lmdb_0.3.4.zip +Source: https://sites.google.com/site/ray2501/tcl-lmdb/tcl-lmdb_0.3.5.zip URL: https://sites.google.com/site/ray2501/tcl-lmdb Buildrequires: tcl >= 8.1 BuildRoot: %{buildroot}