unixODBC/parserupdate.patch

18 lines
701 B
Diff
Raw Normal View History

2005-09-29 22:41:56 +00:00
Force bison invocation to include -d flag so that yac.h is rebuilt.
The copy supplied in the 2.2.11 distribution does not have the same
symbol numbering that's generated by current Bison, and so the lexer
is out-of-step with the grammar if it just uses that version. This
results in complete failure of the sqp library, leading to reported
problems with text-file driver (bz #162676).
diff -Naur unixODBC-2.2.11.orig/sqp/Makefile.am unixODBC-2.2.11/sqp/Makefile.am
--- unixODBC-2.2.11.orig/sqp/Makefile.am 2004-09-13 08:30:29.000000000 -0400
+++ unixODBC-2.2.11/sqp/Makefile.am 2005-09-29 15:19:52.000000000 -0400
@@ -1,3 +1,5 @@
+AM_YFLAGS = -d
+
if HAVE_FLEX
noinst_LTLIBRARIES = libsqplc.la