diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-14 11:56:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-14 11:56:37 +0000 |
commit | 764e4432109d164bf22b5ca5d68cb25b72872157 (patch) | |
tree | 275a4394b5f1ab089bdf6167e3695125e116ec9d /app-crypt/onak/files | |
parent | Add perl-5.12 as provider (diff) | |
download | gentoo-2-764e4432109d164bf22b5ca5d68cb25b72872157.tar.gz gentoo-2-764e4432109d164bf22b5ca5d68cb25b72872157.tar.bz2 gentoo-2-764e4432109d164bf22b5ca5d68cb25b72872157.zip |
Fix BerkDB detection code with 5.0 wrt #319677 by Diego E. Pettenò.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/onak/files')
-rw-r--r-- | app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch b/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch new file mode 100644 index 000000000000..ae3bd1afd747 --- /dev/null +++ b/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch @@ -0,0 +1,12 @@ +diff -ur onak-0.3.7.orig/configure.ac onak-0.3.7/configure.ac +--- onak-0.3.7.orig/configure.ac 2009-06-02 18:15:08.000000000 +0300 ++++ onak-0.3.7/configure.ac 2010-07-14 14:53:51.000000000 +0300 +@@ -17,7 +17,7 @@ + printf "#include <db.h>\nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c + set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2" + AC_MSG_RESULT($v.$vv) +-if test "$v" -eq 4; then ++if test "$v" -ge 4; then + for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do + AC_MSG_CHECKING(for db_create in lib$db) + oldLIBS="$LIBS" |