diff options
author | Robert Coie <rac@gentoo.org> | 2004-09-10 21:46:18 +0000 |
---|---|---|
committer | Robert Coie <rac@gentoo.org> | 2004-09-10 21:46:18 +0000 |
commit | 97d2917dd2bd8ff071e95117216c0a67ae2c711e (patch) | |
tree | 241c91206dc8bfa42000fa81cb019f6de8f70528 /app-editors/xemacs/files | |
parent | fix ADDPATH path's (Manifest recommit) (diff) | |
download | gentoo-2-97d2917dd2bd8ff071e95117216c0a67ae2c711e.tar.gz gentoo-2-97d2917dd2bd8ff071e95117216c0a67ae2c711e.tar.bz2 gentoo-2-97d2917dd2bd8ff071e95117216c0a67ae2c711e.zip |
robustify gdbm patch
Diffstat (limited to 'app-editors/xemacs/files')
-rw-r--r-- | app-editors/xemacs/files/xemacs-21.4.15-gdbm.patch | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app-editors/xemacs/files/xemacs-21.4.15-gdbm.patch b/app-editors/xemacs/files/xemacs-21.4.15-gdbm.patch index 4ad6c82bd598..180c4160834a 100644 --- a/app-editors/xemacs/files/xemacs-21.4.15-gdbm.patch +++ b/app-editors/xemacs/files/xemacs-21.4.15-gdbm.patch @@ -1,16 +1,17 @@ ---- xemacs-21.4.15/configure.in.orig 2004-01-24 15:37:54.000000000 +1100 -+++ xemacs-21.4.15/configure.in 2004-08-25 11:08:37.532591944 +1000 -@@ -4420,11 +4420,11 @@ - dnl Check for DBM support in libgdbm. +--- configure.in.orig 2004-09-10 14:38:08.812210820 -0700 ++++ configure.in 2004-09-10 14:39:26.267741413 -0700 +@@ -4421,10 +4421,13 @@ if test "$with_database_gdbm" != "no"; then AC_CHECK_LIB(gdbm, dbm_open, [ -- with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm], [ -+ with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm_compat -lgdbm"], [ + with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm], [ ++ AC_CHECK_LIB(gdbm_compat, dbm_open, [ ++ with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm -lgdbm_compat"], [ if test "$with_database_gdbm" = "yes"; then XE_DIE("Required GNU DBM support cannot be provided.") fi - with_database_gdbm=no]) -+ with_database_gdbm=no],-lgdbm_compat) ++ with_database_gdbm=no], -lgdbm) ++ ]) fi dnl Check for DBM support in libc and libdbm. |