diff options
Diffstat (limited to 'databases/php4-dba/files')
-rw-r--r-- | databases/php4-dba/files/patch-config.m4 | 34 | ||||
-rw-r--r-- | databases/php4-dba/files/patch-fix-dba_replace-truncation | 17 |
2 files changed, 0 insertions, 51 deletions
diff --git a/databases/php4-dba/files/patch-config.m4 b/databases/php4-dba/files/patch-config.m4 deleted file mode 100644 index b940a22c0d87..000000000000 --- a/databases/php4-dba/files/patch-config.m4 +++ /dev/null @@ -1,34 +0,0 @@ ---- config.m4.orig Tue Nov 28 12:41:35 2006 -+++ config.m4 Sat Feb 17 11:13:51 2007 -@@ -205,6 +205,22 @@ - THIS_PREFIX=$i - THIS_INCLUDE=$i/db4/db.h - break -+ elif test -f "$i/include/db44/db.h"; then -+ THIS_PREFIX=$i -+ THIS_INCLUDE=$i/include/db44/db.h -+ break -+ elif test -f "$i/include/db43/db.h"; then -+ THIS_PREFIX=$i -+ THIS_INCLUDE=$i/include/db43/db.h -+ break -+ elif test -f "$i/include/db42/db.h"; then -+ THIS_PREFIX=$i -+ THIS_INCLUDE=$i/include/db42/db.h -+ break -+ elif test -f "$i/include/db41/db.h"; then -+ THIS_PREFIX=$i -+ THIS_INCLUDE=$i/include/db41/db.h -+ break - elif test -f "$i/include/db4/db.h"; then - THIS_PREFIX=$i - THIS_INCLUDE=$i/include/db4/db.h -@@ -223,7 +239,7 @@ - break - fi - done -- PHP_DBA_DB_CHECK(4, 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)]) -+ PHP_DBA_DB_CHECK(4, db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db41 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) - fi - ]) - AC_DBA_STD_RESULT(db4,Berkeley DB4) diff --git a/databases/php4-dba/files/patch-fix-dba_replace-truncation b/databases/php4-dba/files/patch-fix-dba_replace-truncation deleted file mode 100644 index 0f6dab4e5da7..000000000000 --- a/databases/php4-dba/files/patch-fix-dba_replace-truncation +++ /dev/null @@ -1,17 +0,0 @@ -Patch that fixes dba_replace() file truncation issue - -Adopted from: http://cvs.php.net/viewvc.cgi/php-src/ext/dba/libinifile/inifile.c?r1=1.14.2.1.2.5&r2=1.14.2.1.2.4&view=patch - ---- libinifile/inifile.c 2007/12/31 07:20:05 1.14.2.1.2.4 -+++ libinifile/inifile.c 2008/11/13 18:22:23 1.14.2.1.2.5 -@@ -508,7 +508,9 @@ - - /* 5 */ - if (ret == SUCCESS) { -- ret = inifile_truncate(dba, append ? pos_grp_next : pos_grp_start TSRMLS_CC); /* writes error on fail */ -+ if (!value || (key->name && strlen(key->name))) { -+ ret = inifile_truncate(dba, append ? pos_grp_next : pos_grp_start TSRMLS_CC); /* writes error on fail */ -+ } - } - - if (ret == SUCCESS) { |