summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheracles <heracles@localhost>2007-09-29 20:19:39 +0000
committerheracles <heracles@localhost>2007-09-29 20:19:39 +0000
commitfd2964a12dc2d02c2787a7d9c54a77c5c8748fd1 (patch)
tree1122534be534d48d788dcd6f9b6b5a2df55c45d1 /dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch
parenttesting dev-db/libpq-*: minor bumps (diff)
downloadtesting-fd2964a12dc2d02c2787a7d9c54a77c5c8748fd1.tar.gz
testing-fd2964a12dc2d02c2787a7d9c54a77c5c8748fd1.tar.bz2
testing-fd2964a12dc2d02c2787a7d9c54a77c5c8748fd1.zip
testing dev-db/postgresql-*: minor bumpsHEADmaster
svn path=/testing/; revision=289
Diffstat (limited to 'dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch')
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch b/dev-db/postgresql/files/postgresql-7.3.20-cubeparse.patch
new file mode 100644
index 0000000..705e073
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-7.3.20-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 */