Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 21:17:56 +1100 (EST)
From:      Chris Knight <chris@e-easy.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61572: [MAINTAINER UPDATE] databases/firebird: fix SQL parser
Message-ID:  <200401191017.i0JAHuDl022844@ait0fd03.aims.private>
Resent-Message-ID: <200401191020.i0JAKEVp020630@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61572
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] databases/firebird: fix SQL parser
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 02:20:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
E-Easy
>Environment:
System: FreeBSD ait0fd03.aims.private 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Jan 18 16:51:42 EST 2004 root@ait0fd03.aims.private:/u1/obj5/usr/src/sys/OMNIBOOK5 i386

>Description:
The SQL parser currently in use is an older version.
The included patch fixes this and makes us compatible with 1.5RC8
on other platforms.

>How-To-Repeat:
N/A

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/firebird/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	13 Jan 2004 16:11:10 -0000	1.25
+++ Makefile	19 Jan 2004 10:10:45 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	firebird
 PORTVERSION=	1.5.r8
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}	\
 		http://www.aims.net.au/chris/firebird/
@@ -65,6 +66,7 @@
 	@(								\
 	${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE};	\
 	cd ${WRKSRC};							\
+	${TOUCH} src/dsql/parse.y;					\
 	${SETENV} CC=${CC} CXX=${CXX} ${GMAKE} all;			\
 	)
 
Index: files/patch-src::dsql::keywords.cpp
===================================================================
RCS file: files/patch-src::dsql::keywords.cpp
diff -N files/patch-src::dsql::keywords.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src::dsql::keywords.cpp	19 Jan 2004 10:08:04 -0000
@@ -0,0 +1,12 @@
+--- src/dsql/keywords.cpp.orig	Sat Jul  5 17:47:40 2003
++++ src/dsql/keywords.cpp	Mon Jan 19 17:59:53 2004
+@@ -39,6 +39,9 @@
+ #include <string.h>
+ #endif
+ 
++#ifdef PAGE_SIZE
++#undef PAGE_SIZE
++#endif
+ #include "dsql.tab.h"
+ #include "keywords.h"
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401191017.i0JAHuDl022844>