*** gdbm-1.8.2/gdbmreorg.c.bak Wed May 19 02:16:06 1999 --- gdbm-1.8.2/gdbmreorg.c Sat Oct 5 13:55:38 2002 *************** *** 203,208 **** --- 203,209 ---- dbf->bucket_changed = new_dbf->bucket_changed; dbf->second_changed = new_dbf->second_changed; + free (new_dbf->name); free (new_dbf); free (new_name); *** gdbm-1.8.2/Makefile.in.bak Sat Sep 28 01:27:08 2002 --- gdbm-1.8.2/Makefile.in Sat Oct 5 14:00:42 2002 *************** *** 15,22 **** INSTALL_DATA = @INSTALL_DATA@ # File ownership and group ! BINOWN = bin ! BINGRP = bin MAKEINFO = makeinfo TEXI2DVI = texi2dvi --- 15,22 ---- INSTALL_DATA = @INSTALL_DATA@ # File ownership and group ! BINOWN = root ! BINGRP = root MAKEINFO = makeinfo TEXI2DVI = texi2dvi *************** *** 27,34 **** LIBS = @LIBS@ -lc # SunOS 4 users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL. ! CFLAGS = -O ! LDFLAGS = # Common prefix for installation directories prefix = @prefix@ --- 27,34 ---- LIBS = @LIBS@ -lc # SunOS 4 users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL. ! CFLAGS = @CFLAGS@ ! LDFLAGS = @LDFLAGS@ # Common prefix for installation directories prefix = @prefix@ *************** *** 37,48 **** manprefix = $(prefix) # Directory in which to put libgdbm.a. ! libdir = $(exec_prefix)/lib # The include directory for gdbm.h and dbm.h. ! includedir = $(prefix)/include # Info and man directories. ! infodir = $(prefix)/info ! man3dir = $(prefix)/man/man3 manext = 3 #### End of system configuration section. #### --- 37,48 ---- manprefix = $(prefix) # Directory in which to put libgdbm.a. ! libdir = @libdir@ # The include directory for gdbm.h and dbm.h. ! includedir = @includedir@ # Info and man directories. ! infodir = @infodir@ ! man3dir = @mandir@/man3 manext = 3 #### End of system configuration section. #### *** gdbm-1.8.2/config.guess.bak Wed Sep 25 23:20:28 2002 --- gdbm-1.8.2/config.guess Sat Oct 5 14:06:06 2002 *************** *** 731,737 **** echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) ! echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` --- 731,749 ---- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) ! # Determine whether the default compiler uses glibc. ! eval $set_cc_for_build ! sed 's/^ //' << EOF >$dummy.c ! #include ! #if __GLIBC__ >= 2 ! LIBC=gnu ! #else ! LIBC= ! #endif ! EOF ! eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` ! rm -f $dummy.c ! echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` *** gdbm-1.8.2/config.sub.bak Wed Sep 25 23:20:28 2002 --- gdbm-1.8.2/config.sub Sat Oct 5 14:06:06 2002 *************** *** 117,123 **** # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in ! nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; --- 117,123 ---- # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in ! nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *** gdbm-1.8.2/aclocal.m4.bak Wed Sep 25 23:19:22 2002 --- gdbm-1.8.2/aclocal.m4 Sat Oct 5 14:07:59 2002 *************** *** 2090,2095 **** --- 2090,2107 ---- esac ;; + freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + gnu*) version_type=linux need_lib_prefix=no *** gdbm-1.8.2/configure.bak Sat Sep 28 01:23:50 2002 --- gdbm-1.8.2/configure Sat Oct 5 14:08:22 2002 *************** *** 5462,5467 **** --- 5462,5479 ---- esac ;; + freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + gnu*) version_type=linux need_lib_prefix=no