From owner-cvs-ports@FreeBSD.ORG Thu Jun 3 08:49:13 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9994C16A4CE; Thu, 3 Jun 2004 08:49:13 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9544943D2D; Thu, 3 Jun 2004 08:49:13 -0700 (PDT) (envelope-from roam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i53FnDLE049799; Thu, 3 Jun 2004 08:49:13 -0700 (PDT) (envelope-from roam@repoman.freebsd.org) Received: (from roam@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i53FnDDw049798; Thu, 3 Jun 2004 08:49:13 -0700 (PDT) (envelope-from roam) Message-Id: <200406031549.i53FnDDw049798@repoman.freebsd.org> From: Peter Pentchev Date: Thu, 3 Jun 2004 08:49:13 -0700 (PDT) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/www/mod_php3 Makefile ports/www/mod_php3/files patch-functions::mysql.c ports/www/mod_php3/scripts configure.php X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 15:49:13 -0000 roam 2004/06/03 08:49:13 PDT FreeBSD ports repository Modified files: www/mod_php3 Makefile www/mod_php3/scripts configure.php Added files: www/mod_php3/files patch-functions::mysql.c Log: Commit something that I've been sitting on for just about months now: make the PHP3 ports work with any version of MySQL, not just 3.23.x. The main (actually, the only) problem was that MySQL 4.x no longer has mysql_drop_db() and mysql_create_db() as separate functions, and just as mentioned in the manual, the solution is to use mysql_query() (or rather, mysql_real_query()) and emulate them. Revision Changes Path 1.141 +2 -2 ports/www/mod_php3/Makefile 1.1 +52 -0 ports/www/mod_php3/files/patch-functions::mysql.c (new) 1.126 +2 -2 ports/www/mod_php3/scripts/configure.php