]> git.pld-linux.org Git - packages/php.git/blob - php-db.patch
Rel 11; fix openssl 3 build
[packages/php.git] / php-db.patch
1 diff -urNp -x '*.orig' php-7.0.33.org/ext/dba/config.m4 php-7.0.33/ext/dba/config.m4
2 --- php-7.0.33.org/ext/dba/config.m4    2021-08-23 23:36:54.322290784 +0200
3 +++ php-7.0.33/ext/dba/config.m4        2021-08-23 23:36:55.295634288 +0200
4 @@ -326,6 +326,14 @@ if test "$PHP_DB4" != "no"; then
5        THIS_PREFIX=$i
6        THIS_INCLUDE=$i/include/db5.3/db.h
7        break
8 +    elif test -f "$i/include/db5.3/db.h"; then
9 +      THIS_PREFIX=$i
10 +      THIS_INCLUDE=$i/include/db5.3/db.h
11 +      break
12 +    elif test -f "$i/include/db5.2/db.h"; then
13 +      THIS_PREFIX=$i
14 +      THIS_INCLUDE=$i/include/db5.2/db.h
15 +      break
16      elif test -f "$i/include/db5.1/db.h"; then
17        THIS_PREFIX=$i
18        THIS_INCLUDE=$i/include/db5.1/db.h
19 @@ -368,7 +376,7 @@ if test "$PHP_DB4" != "no"; then
20        break
21      fi
22    done
23 -  PHP_DBA_DB_CHECK(4, db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
24 +  PHP_DBA_DB_CHECK(4, db-5.3 db-5.2 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
25  fi
26  PHP_DBA_STD_RESULT(db4,Berkeley DB4)
27  
This page took 0.022798 seconds and 3 git commands to generate.