summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-07-11 17:39:54 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-07-11 17:39:54 +0000
commit280345a3d077d4059abf4b6c49b7c6c68737c280 (patch)
tree8e4eb852b7422de526e192d302ddba6ccac93ad2 /dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch
parenteclass/einput: Removed portageq call in global context for EINPUT_NOCOLOR (diff)
downloadtesting-280345a3d077d4059abf4b6c49b7c6c68737c280.tar.gz
testing-280345a3d077d4059abf4b6c49b7c6c68737c280.tar.bz2
testing-280345a3d077d4059abf4b6c49b7c6c68737c280.zip
Added libpq and postgresql from the tree to fix a couple of bugs
svn path=/testing/; revision=266
Diffstat (limited to 'dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch')
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch b/dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch
new file mode 100644
index 0000000..705e073
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-7.3.19-cubeparse.patch
@@ -0,0 +1,36 @@
+--- contrib/cube/cubescan.l.orig 2006-07-05 06:56:04.000000000 +0000
++++ contrib/cube/cubescan.l 2006-07-05 06:56:12.000000000 +0000
+@@ -9,6 +9,10 @@
+
+
+ /* flex screws a couple symbols when used with the -P option; fix those */
++#ifndef YY_PROTO
++#define YY_PROTO(proto) proto
++#endif
++
+ #define YY_DECL int cube_yylex YY_PROTO(( void )); \
+ int cube_yylex YY_PROTO(( void ))
+ #define yylval cube_yylval
+--- contrib/seg/segscan.l.orig 2006-07-05 07:08:26.000000000 +0000
++++ contrib/seg/segscan.l 2006-07-05 07:08:51.000000000 +0000
+@@ -9,6 +9,10 @@
+
+
+ /* flex screws a couple symbols when used with the -P option; fix those */
++#ifndef YY_PROTO
++#define YY_PROTO(proto) proto
++#endif
++
+ #define YY_DECL int seg_yylex YY_PROTO(( void )); \
+ int seg_yylex YY_PROTO(( void ))
+ #define yylval seg_yylval
+--- contrib/tsearch/parser.l.orig 2006-07-05 07:22:36.000000000 +0000
++++ contrib/tsearch/parser.l 2006-07-05 07:23:33.000000000 +0000
+@@ -18,6 +18,7 @@
+ char *s = NULL; /* to return WHOLE hyphenated-word */
+
+ YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
++static YY_BUFFER_STATE yy_current_buffer = 0;
+
+ int lrlimit = -1; /* for limiting read from filehandle ( -1 - unlimited read ) */
+ int bytestoread = 0; /* for limiting read from filehandle */