aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2012-06-19 07:44:31 +0000
committerAlex Dupre <ale@FreeBSD.org>2012-06-19 07:44:31 +0000
commit64c2bd97d4fe2ce03893a1dee678b1ed89496460 (patch)
tree6075b91ac483dda44a6dd49b2100eefbdb0fbf60 /databases
parent821f2c53a45af707e1ba409e59af08e062045ebb (diff)
downloadports-64c2bd97d4fe2ce03893a1dee678b1ed89496460.tar.gz
ports-64c2bd97d4fe2ce03893a1dee678b1ed89496460.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/php5-pdo/Makefile1
-rw-r--r--databases/php5-pdo/files/patch-pdo_sql_parser.re42
2 files changed, 0 insertions, 43 deletions
diff --git a/databases/php5-pdo/Makefile b/databases/php5-pdo/Makefile
index b2db17b371ea..76f31572786d 100644
--- a/databases/php5-pdo/Makefile
+++ b/databases/php5-pdo/Makefile
@@ -5,7 +5,6 @@
# $FreeBSD$
#
-PORTREVISION= 1
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php5
diff --git a/databases/php5-pdo/files/patch-pdo_sql_parser.re b/databases/php5-pdo/files/patch-pdo_sql_parser.re
deleted file mode 100644
index eb16ad277e80..000000000000
--- a/databases/php5-pdo/files/patch-pdo_sql_parser.re
+++ /dev/null
@@ -1,42 +0,0 @@
---- pdo_sql_parser.re.orig
-+++ pdo_sql_parser.re
-@@ -32,12 +32,12 @@
-
- #define YYCTYPE unsigned char
- #define YYCURSOR cursor
--#define YYLIMIT cursor
-+#define YYLIMIT s->end
- #define YYMARKER s->ptr
--#define YYFILL(n)
-+#define YYFILL(n) { RET(PDO_PARSER_EOI); }
-
- typedef struct Scanner {
-- char *ptr, *cur, *tok;
-+ char *ptr, *cur, *tok, *end;
- } Scanner;
-
- static int scan(Scanner *s)
-@@ -51,7 +51,6 @@ static int scan(Scanner *s)
- COMMENTS = ("/*"([^*]+|[*]+[^/*])*[*]*"*/"|"--"[^\r\n]*);
- SPECIALS = [:?"'];
- MULTICHAR = [:?];
-- EOF = [\000];
- ANYNOEOF = [\001-\377];
- */
-
-@@ -64,7 +63,6 @@ static int scan(Scanner *s)
- SPECIALS { SKIP_ONE(PDO_PARSER_TEXT); }
- COMMENTS { RET(PDO_PARSER_TEXT); }
- (ANYNOEOF\SPECIALS)+ { RET(PDO_PARSER_TEXT); }
-- EOF { RET(PDO_PARSER_EOI); }
- */
- }
-
-@@ -94,6 +92,7 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len,
-
- ptr = *outquery;
- s.cur = inquery;
-+ s.end = inquery + inquery_len + 1;
-
- /* phase 1: look for args */
- while((t = scan(&s)) != PDO_PARSER_EOI) {