ports/61572: [MAINTAINER UPDATE] databases/firebird: fix SQL parser
Chris Knight
chris at e-easy.com.au
Mon Jan 19 10:21:06 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list