Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112222 Details for
Bug 169507
stabilize dev-libs/apr-util-0.9.12-r1 for berkdb-4.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch to add db-4.5 support to apr-util 0.9.12
apr-util-0.9.12-db45.patch (text/plain), 3.39 KB, created by
Michael Edenfield
on 2007-03-05 21:54:07 UTC
(
hide
)
Description:
Patch to add db-4.5 support to apr-util 0.9.12
Filename:
MIME Type:
Creator:
Michael Edenfield
Created:
2007-03-05 21:54:07 UTC
Size:
3.39 KB
patch
obsolete
>--- apr-util-0.9.12.orig/build/dbm.m4 >+++ apr-util-0.9.12/build/dbm.m4 >@@ -448,7 +448,25 @@ > apu_db_version=4 > fi > ]) >- >+dnl >+dnl APU_CHECK_DB45: is DB4.5 present? >+dnl >+dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version >+dnl >+AC_DEFUN([APU_CHECK_DB45], [ >+ places=$1 >+ if test -z "$places"; then >+ places="std /usr/local/BerkeleyDB.4.5 /boot/home/config" >+ fi >+ APU_CHECK_BERKELEY_DB("4", "5", "-1", >+ "$places", >+ "db45/db.h db4/db.h db.h", >+ "db-4.5 db4-4.5 db45 db4 db" >+ ) >+ if test "$apu_have_db" = "1"; then >+ apu_db_version=4 >+ fi >+]) > > AC_DEFUN(APU_CHECK_DB, [ > requested=$1 >@@ -515,6 +533,12 @@ > AC_MSG_ERROR(Berkeley db4 not found) > fi > ;; >+ db45) >+ APU_CHECK_DB45("$check_places") >+ if test "$apu_db_version" != "4"; then >+ AC_MSG_ERROR(Berkeley db4 not found) >+ fi >+ ;; > default) > APU_CHECK_DB_ALL("$check_places") > ;; >@@ -522,28 +546,31 @@ > ]) > > dnl >-dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.3 to 1. >+dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.5 to 1. > dnl > AC_DEFUN(APU_CHECK_DB_ALL, [ > all_places=$1 > >- APU_CHECK_DB44("$all_places") >+ APU_CHECK_DB45("$all_places") > if test "$apu_db_version" != "4"; then >- APU_CHECK_DB43("$all_places") >+ APU_CHECK_DB44("$all_places") > if test "$apu_db_version" != "4"; then >- APU_CHECK_DB42("$all_places") >+ APU_CHECK_DB43("$all_places") > if test "$apu_db_version" != "4"; then >- APU_CHECK_DB41("$all_places") >+ APU_CHECK_DB42("$all_places") > if test "$apu_db_version" != "4"; then >- APU_CHECK_DB4("$all_places") >+ APU_CHECK_DB41("$all_places") > if test "$apu_db_version" != "4"; then >- APU_CHECK_DB3("$all_places") >- if test "$apu_db_version" != "3"; then >- APU_CHECK_DB2("$all_places") >- if test "$apu_db_version" != "2"; then >- APU_CHECK_DB1("$all_places") >- if test "$apu_db_version" != "1"; then >- APU_CHECK_DB185("$all_places") >+ APU_CHECK_DB4("$all_places") >+ if test "$apu_db_version" != "4"; then >+ APU_CHECK_DB3("$all_places") >+ if test "$apu_db_version" != "3"; then >+ APU_CHECK_DB2("$all_places") >+ if test "$apu_db_version" != "2"; then >+ APU_CHECK_DB1("$all_places") >+ if test "$apu_db_version" != "1"; then >+ APU_CHECK_DB185("$all_places") >+ fi > fi > fi > fi >@@ -580,11 +607,11 @@ > > AC_ARG_WITH(dbm, [ > --with-dbm=DBM choose the DBM type to use. >- DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44} >+ DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45} > ], [ > if test "$withval" = "yes"; then > AC_MSG_ERROR([--with-dbm needs to specify a DBM type to use. >- One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44]) >+ One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45]) > fi > requested="$withval" > ], [ >@@ -770,6 +797,10 @@ > apu_use_db=1 > apu_default_dbm=db4 > ;; >+ db45) >+ apu_use_db=1 >+ apu_default_dbm=db4 >+ ;; > default) > dnl ### use more sophisticated DBMs for the default? > apu_default_dbm="sdbm (default)"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 169507
:
112215
| 112222