From vasallia@ukr.net  Thu Jul 29 21:52:43 2004
Return-Path: <vasallia@ukr.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 7702B16A4CE; Thu, 29 Jul 2004 21:52:43 +0000 (GMT)
Received: from mail-kv.alkar.net (mail-kv.alkar.net [195.248.176.165])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 36FE343D39; Thu, 29 Jul 2004 21:52:43 +0000 (GMT)
	(envelope-from vasallia@ukr.net)
Received: from [212.86.235.243] (helo=santinel.home.ua)
	by mail-kv.alkar.net with esmtp (Exim 4.34 (FreeBSD))
	id 1BqIpN-0000uw-Cn; Fri, 30 Jul 2004 00:52:42 +0300
Received: from anray by santinel.home.ua with local (Exim 4.41; FreeBSD)
	id 1BqIaI-000Lh4-8G; Fri, 30 Jul 2004 00:37:06 +0300
Message-Id: <E1BqIaI-000Lh4-8G@santinel.home.ua>
Date: Fri, 30 Jul 2004 00:37:06 +0300
From: Andrey Slusar <vasallia@ukr.net>
Reply-To: Andrey Slusar <vasallia@ukr.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sem@FreeBSD.org
Subject: [MAINTAINER] databases/msql3: fix compiling on gcc3.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69772
>Category:       ports
>Synopsis:       [MAINTAINER] databases/msql3: fix compiling on gcc3.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 29 22:00:36 GMT 2004
>Closed-Date:    Fri Jul 30 00:01:56 GMT 2004
>Last-Modified:  Fri Jul 30 00:01:56 GMT 2004
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jul 29 19:48:26 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	New file:
	files/patch-compare.c

	Fix compiling on gcc3.4.
	Bump portrevision.
>How-To-Repeat:

>Fix:

--- msql3.diff begins here ---
diff -ruN /usr/ports/databases/msql3/Makefile msql3/Makefile
--- /usr/ports/databases/msql3/Makefile	Thu Jul 22 20:41:20 2004
+++ msql3/Makefile	Fri Jul 30 00:26:08 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	msql
 PORTVERSION=	3.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
 
 MAINTAINER=	vasallia@ukr.net
diff -ruN /usr/ports/databases/msql3/files/patch-compare.c msql3/files/patch-compare.c
--- /usr/ports/databases/msql3/files/patch-compare.c	Thu Jan  1 03:00:00 1970
+++ msql3/files/patch-compare.c	Fri Jul 30 00:16:57 2004
@@ -0,0 +1,11 @@
+--- src/msqld/main/compare.c.old	Fri Jul 30 00:14:10 2004
++++ src/msqld/main/compare.c	Fri Jul 30 00:15:37 2004
+@@ -1150,7 +1150,7 @@
+ 			if (curCond->op == BETWEEN_OP)
+ 			{
+ 				tmp = processBetweenMatch(cacheEntry,
+-					curCond, data, offset, tmpVal);
++					curCond, data, offset, &tmpVal);
+ 			}
+ 			else
+ 			{
--- msql3.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Jul 30 00:01:41 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

No need to raise PORTREVISION on build fixes. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69772 
>Unformatted:
