summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-05-02 02:14:23 +0000
committermarkd <markd@pkgsrc.org>2005-05-02 02:14:23 +0000
commit16a7260862c8c46d62cc8df303f07c4ee6b99727 (patch)
tree15c7eeb4c995312bf8f2a4d1f19f9a48f54506aa
parent185d2061ad452eba5b65fd206ecdc547171db20a (diff)
downloadpkgsrc-16a7260862c8c46d62cc8df303f07c4ee6b99727.tar.gz
Postgresql 7.3 didn't have plpgsql_scanner_lineno() so use yylineno.
Bump PKGREVISION of postgresql73-lib as plpgsql.so has changed (now loads successfully).
-rw-r--r--databases/postgresql73-lib/Makefile4
-rw-r--r--databases/postgresql73/distinfo4
-rw-r--r--databases/postgresql73/patches/patch-al8
3 files changed, 8 insertions, 8 deletions
diff --git a/databases/postgresql73-lib/Makefile b/databases/postgresql73-lib/Makefile
index 29f55ce4cb3..8acfc5da2e1 100644
--- a/databases/postgresql73-lib/Makefile
+++ b/databases/postgresql73-lib/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2005/04/11 21:45:14 tv Exp $
+# $NetBSD: Makefile,v 1.9 2005/05/02 02:14:24 markd Exp $
PKGNAME= postgresql73-lib-${BASE_VERS}
-PKGREVISION= 1
+PKGREVISION= 2
SVR4_PKGNAME= pstgl
COMMENT= PostgreSQL database headers and libraries
diff --git a/databases/postgresql73/distinfo b/databases/postgresql73/distinfo
index dadafe3f2a4..42d495d1e86 100644
--- a/databases/postgresql73/distinfo
+++ b/databases/postgresql73/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/03/17 21:38:32 jschauma Exp $
+$NetBSD: distinfo,v 1.9 2005/05/02 02:14:23 markd Exp $
SHA1 (postgresql-7.3.9.tar.gz) = 01481f3af507cb6b361bd71fc51c0fb8c06905da
RMD160 (postgresql-7.3.9.tar.gz) = 61b97bd71cee3e107419598b75d0ec0734df2791
@@ -14,4 +14,4 @@ SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
SHA1 (patch-aj) = 4c46173cba1dd36296d8b3fcca8cdfebcc717162
SHA1 (patch-ak) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414
-SHA1 (patch-al) = 6ad25b048e46a40bcaadd3f5322ee33bbd1a2fa7
+SHA1 (patch-al) = f2827e29d063d3aa8dfcead3f16f9aa27459bbf7
diff --git a/databases/postgresql73/patches/patch-al b/databases/postgresql73/patches/patch-al
index 265823fd2d0..bbc02a6fdf4 100644
--- a/databases/postgresql73/patches/patch-al
+++ b/databases/postgresql73/patches/patch-al
@@ -1,4 +1,4 @@
-$NetBSD: patch-al,v 1.1 2005/03/17 21:38:32 jschauma Exp $
+$NetBSD: patch-al,v 1.2 2005/05/02 02:14:23 markd Exp $
--- src/pl/plpgsql/src/gram.y.orig 2005-01-26 20:44:42.000000000 -0500
+++ src/pl/plpgsql/src/gram.y 2005-03-17 16:34:50.000000000 -0500
@@ -23,7 +23,7 @@ $NetBSD: patch-al,v 1.1 2005/03/17 21:38:32 jschauma Exp $
+ /* Check for array overflow */
+ if (nfields >= 1024)
+ {
-+ plpgsql_error_lineno = plpgsql_scanner_lineno();
++ plpgsql_error_lineno = yylineno;
+ elog(ERROR, "too many variables specified in SQL statement");
+ }
+
@@ -38,7 +38,7 @@ $NetBSD: patch-al,v 1.1 2005/03/17 21:38:32 jschauma Exp $
+ /* Check for array overflow */
+ if (nparams >= 1024)
+ {
-+ plpgsql_error_lineno = plpgsql_scanner_lineno();
++ plpgsql_error_lineno = yylineno;
+ elog(ERROR, "too many variables specified in SQL statement");
+ }
}
@@ -51,7 +51,7 @@ $NetBSD: patch-al,v 1.1 2005/03/17 21:38:32 jschauma Exp $
+ /* Check for array overflow */
+ if (nfields >= 1024)
+ {
-+ plpgsql_error_lineno = plpgsql_scanner_lineno();
++ plpgsql_error_lineno = yylineno;
+ elog(ERROR, "too many variables specified in SQL statement");
+ }
+