From abgoeree@uwnet.nl  Thu Jun 28 04:31:32 2001
Return-Path: <abgoeree@uwnet.nl>
Received: from dagobert.skystream.nl (smtp.uwnet.nl [195.7.130.55])
	by hub.freebsd.org (Postfix) with ESMTP id BEDFF37B407
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jun 2001 04:31:31 -0700 (PDT)
	(envelope-from abgoeree@uwnet.nl)
Received: from dyn.dailup.c227128209.isd.to (dyn.dailup.c227128209.isd.to [213.227.128.209])
	by dagobert.skystream.nl (8.11.3/8.11.0) with ESMTP id f5SBYxi22655
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jun 2001 13:34:59 +0200
Received: (qmail 82525 invoked by uid 1000); 28 Jun 2001 11:32:32 -0000
Message-Id: <20010628113232.82524.qmail@mandark.attica.home>
Date: 28 Jun 2001 11:32:32 -0000
From: "Andre Goeree" <abgoeree@uwnet.nl>
Reply-To: abgoeree@uwnet.nl
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: databases/adodb
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         28479
>Category:       ports
>Synopsis:       Update port: databases/adodb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 28 04:40:02 PDT 2001
>Closed-Date:    Thu Jun 28 05:33:54 PDT 2001
>Last-Modified:  Thu Jun 28 05:34:05 PDT 2001
>Originator:     Maintainer
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.3-STABLE #3: Wed Jun 27 08:39:27 CEST 2001

>Description:

	Added patch: files/patch-adodb-odbc.inc.php
		workaround for PHP 4.0.6 ODBC bugs
	Modified: Makefile
		bump portrevision
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ago/src/ports-devel/cvsroot/adodb/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	2001/06/28 10:31:15	1.1.1.1
+++ Makefile	2001/06/28 11:07:34
@@ -7,6 +7,7 @@
 
 PORTNAME=	adodb
 PORTVERSION=	1.12
+PORTREVISION=	1
 CATEGORIES=	databases www
 MASTER_SITES=	http://phplens.com/lens/dl/
 DISTNAME=	${PORTNAME}112
Index: files/patch-adodb-odbc.inc.php
===================================================================
RCS file: /home/ago/src/ports-devel/cvsroot/adodb/files/patch-adodb-odbc.inc.php,v
retrieving revision 1.1
diff -u -r1.1 patch-adodb-odbc.inc.php
--- files/patch-adodb-odbc.inc.php	2001/06/28 10:36:46	1.1
+++ files/patch-adodb-odbc.inc.php	2001/06/28 08:07:45
@@ -0,0 +1,20 @@
+--- adodb-odbc.inc.php.orig	Wed Jun  6 06:17:56 2001
++++ adodb-odbc.inc.php	Thu Jun 28 10:00:41 2001
+@@ -310,7 +310,7 @@
+ 	{
+ 		if ($this->_numOfRows != 0 && !$this->EOF) {		
+ 			$this->_currentRow++;
+-			if (odbc_fetch_into($this->_queryID,0,$this->fields)) return true;
++			if (odbc_fetch_into($this->_queryID,$row=0,$this->fields)) return true;
+ 		}
+ 		$this->EOF = true;
+ 		return false;
+@@ -318,7 +318,7 @@
+ 	
+ 	function _fetch($ignore_fields=false)
+ 	{
+-		return odbc_fetch_into($this->_queryID,0,$this->fields);
++		return odbc_fetch_into($this->_queryID,$row=0,$this->fields);
+ 	}
+ 	
+ 	function _close() {
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kevlo 
State-Changed-When: Thu Jun 28 05:33:54 PDT 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28479 
>Unformatted:
