summaryrefslogtreecommitdiff
path: root/www/mod_php3/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3/files')
-rw-r--r--www/mod_php3/files/patch-aa10
-rw-r--r--www/mod_php3/files/patch-aq56
-rw-r--r--www/mod_php3/files/patch-ar29
-rw-r--r--www/mod_php3/files/patch-at8
-rw-r--r--www/mod_php3/files/patch-functions::mysql.c52
5 files changed, 0 insertions, 155 deletions
diff --git a/www/mod_php3/files/patch-aa b/www/mod_php3/files/patch-aa
deleted file mode 100644
index 11e68467a5d2..000000000000
--- a/www/mod_php3/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- functions/imap.c.orig Sat Sep 30 19:32:44 2000
-+++ functions/imap.c Sun Oct 22 14:22:54 2000
-@@ -61,7 +61,6 @@
- #include "imap.h"
- #include "mail.h"
- #include "rfc822.h"
--#include "utf8.h"
- #include "modules.h"
- #if (WIN32|WINNT)
- #include "winsock.h"
diff --git a/www/mod_php3/files/patch-aq b/www/mod_php3/files/patch-aq
deleted file mode 100644
index f30fea192773..000000000000
--- a/www/mod_php3/files/patch-aq
+++ /dev/null
@@ -1,56 +0,0 @@
---- configure.orig Fri Oct 20 21:05:17 2000
-+++ configure Mon Feb 26 13:09:58 2001
-@@ -1626,7 +1626,7 @@
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-- ac_dummy="$PATH /usr/bin /usr/sbin /usr/etc /etc /usr/ucblib"
-+ ac_dummy="$PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
-@@ -4634,7 +4634,7 @@
-
- echo "$ac_t""no" 1>&6
- BINNAME=php
-- INSTALL_IT="cp $BINNAME \$(bindir)"
-+ INSTALL_IT="cp $BINNAME \$(bindir)/php3"
-
- fi
-
-@@ -5157,8 +5157,8 @@
- fi
- if test "$withval" != "no" && test "$withval" != "yes"; then
- IMAP_DIR=$withval
-- if test -f $IMAP_DIR/include/imap/mail.h; then
-- IMAP_INC_DIR=$IMAP_DIR/include/imap
-+ if test -f $IMAP_DIR/include/c-client/mail.h; then
-+ IMAP_INC_DIR=$IMAP_DIR/include/c-client
- else
- IMAP_INC_DIR=$withval/include
- fi
-@@ -9231,7 +9231,7 @@
- fi
- SYBASE_CT_INCLUDE=-I$SYBASE_CT_INCDIR
- SYBASE_CT_LFLAGS="-L$SYBASE_CT_LIBDIR"
-- SYBASE_CT_LIBS="-lcs -lct -lcomn -lintl"
-+ SYBASE_CT_LIBS="-lct"
- old_LDFLAGS=$LDFLAGS
- LDFLAGS="$LDFLAGS -L$SYBASE_CT_LIBDIR"
- echo $ac_n "checking for netg_errstr in -ltcl""... $ac_c" 1>&6
-@@ -9272,7 +9272,6 @@
- SYBASE_CT_LIBS="$SYBASE_CT_LIBS -ltcl"
- else
- echo "$ac_t""no" 1>&6
-- SYBASE_CT_LIBS="$SYBASE_CT_LIBS -lsybtcl"
- fi
-
- echo $ac_n "checking for insck__getVdate in -linsck""... $ac_c" 1>&6
-@@ -9671,7 +9670,6 @@
- PGSQL_INCDIR=$withval/include
- test -d $withval/include/pgsql && PGSQL_INCDIR=$withval/include/pgsql
- test -d $withval/pgsql/include && PGSQL_INCDIR=$withval/pgsql/include
-- test -d $withval/include/postgresql && PGSQL_INCDIR=$withval/include/postgresql
- PGSQL_LIBDIR=$withval/lib
- test -d $withval/lib/pgsql && PGSQL_LIBDIR=$withval/lib/pgsql
- test -d $withval/pgsql/lib && PGSQL_LIBDIR=$withval/pgsql/lib
diff --git a/www/mod_php3/files/patch-ar b/www/mod_php3/files/patch-ar
deleted file mode 100644
index 32fca3c5a7f0..000000000000
--- a/www/mod_php3/files/patch-ar
+++ /dev/null
@@ -1,29 +0,0 @@
---- functions/sybase.c.orig Tue Feb 8 00:54:51 2000
-+++ functions/sybase.c Tue Feb 29 22:01:07 2000
-@@ -366,7 +366,7 @@
- RETURN_FALSE;
- }
- /* create the link */
-- if ((sybase.link=dbopen(sybase.login,host))==FAIL) {
-+ if ((sybase.link=tdsdbopen(sybase.login,host))==FAIL) {
- /*php3_error(E_WARNING,"Sybase: Unable to connect to server: %s",sybase_error(sybase));*/
- efree(hashed_details);
- dbloginfree(sybase.login);
-@@ -408,7 +408,7 @@
- #if BROKEN_SYBASE_PCONNECTS
- log_error("PHP/Sybase: Persistent link died, trying to reconnect...",php3_rqst->server);
- #endif
-- if ((sybase_ptr->link=dbopen(sybase_ptr->login,host))==FAIL) {
-+ if ((sybase_ptr->link=tdsdbopen(sybase_ptr->login,host))==FAIL) {
- #if BROKEN_SYBASE_PCONNECTS
- log_error("PHP/Sybase: Unable to reconnect!",php3_rqst->server);
- #endif
-@@ -464,7 +464,7 @@
- RETURN_FALSE;
- }
-
-- if ((sybase.link=dbopen(sybase.login,host))==NULL) {
-+ if ((sybase.link=tdsdbopen(sybase.login,host))==NULL) {
- /*php3_error(E_WARNING,"Sybase: Unable to connect to server: %s",sybase_error(sybase));*/
- efree(hashed_details);
- RETURN_FALSE;
diff --git a/www/mod_php3/files/patch-at b/www/mod_php3/files/patch-at
deleted file mode 100644
index add66733a3e1..000000000000
--- a/www/mod_php3/files/patch-at
+++ /dev/null
@@ -1,8 +0,0 @@
---- php.map.orig Sat Sep 11 00:19:26 1999
-+++ php.map Tue Dec 26 14:27:56 2000
-@@ -1,4 +1,5 @@
- PHP3 {
- global: php3_module;
-+ mm_*;
- local: *;
- };
diff --git a/www/mod_php3/files/patch-functions::mysql.c b/www/mod_php3/files/patch-functions::mysql.c
deleted file mode 100644
index cbf509ecb039..000000000000
--- a/www/mod_php3/files/patch-functions::mysql.c
+++ /dev/null
@@ -1,52 +0,0 @@
---- functions/mysql.c.orig Thu Jun 3 13:17:04 2004
-+++ functions/mysql.c Thu Jun 3 13:17:09 2004
-@@ -785,7 +785,9 @@
- void php3_mysql_create_db(INTERNAL_FUNCTION_PARAMETERS)
- {
- pval *db,*mysql_link;
-- int id,type;
-+ int id,type,res;
-+ char *qbuf;
-+ size_t qsize;
- MYSQL *mysql;
- MySQL_TLS_VARS;
-
-@@ -818,7 +820,12 @@
- }
-
- convert_to_string(db);
-- if (mysql_create_db(mysql,db->value.str.val)==0) {
-+ qsize = strlen(db->value.str.val) + 20;
-+ qbuf = (char *)emalloc(qsize);
-+ snprintf(qbuf, qsize, "CREATE DATABASE %s", db->value.str.val);
-+ res = mysql_real_query(mysql,qbuf,strlen(qbuf));
-+ efree(qbuf);
-+ if (res) {
- RETURN_TRUE;
- } else {
- RETURN_FALSE;
-@@ -831,7 +838,9 @@
- void php3_mysql_drop_db(INTERNAL_FUNCTION_PARAMETERS)
- {
- pval *db,*mysql_link;
-- int id,type;
-+ int id,type,res;
-+ char *qbuf;
-+ size_t qsize;
- MYSQL *mysql;
- MySQL_TLS_VARS;
-
-@@ -864,7 +873,12 @@
- }
-
- convert_to_string(db);
-- if (mysql_drop_db(mysql,db->value.str.val)==0) {
-+ qsize = strlen(db->value.str.val) + 20;
-+ qbuf = (char *)emalloc(qsize);
-+ snprintf(qbuf, qsize, "DROP DATABASE %s", db->value.str.val);
-+ res = mysql_real_query(mysql,qbuf,strlen(qbuf));
-+ efree(qbuf);
-+ if (res) {
- RETURN_TRUE;
- } else {
- RETURN_FALSE;