From ae30e7d40cb0907cbbafdf0c38e95e6ec7f1d22e0bc818a9d93f47fb81e36ab3 Mon Sep 17 00:00:00 2001 From: Darin Perusich Date: Thu, 8 Aug 2013 14:08:55 +0000 Subject: [PATCH] - Update to version 9.2.4 * Fix insecure parsing of server command-line switches * Reset OpenSSL randomness state in each postmaster child process * Make REPLICATION privilege checks test current user not authenticated user * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's not appropriate to do so * Fix erroneous range-union and penalty logic in GiST indexes that use contrib/btree_gist for variable-width data types, that is text, bytea, bit, and numeric columns * Fix bugs in GiST page splitting code for multi-column indexes * Fix gist_point_consistent to handle fuzziness consistently * See the release notes for the rest of the changes: http://www.postgresql.org/docs/9.2/static/release-9-2-4.html /usr/share/doc/packages/postgresql/HISTORY ------------------------------------------------------------------ - Update to version 9.2.4 * Fix insecure parsing of server command-line switches * Reset OpenSSL randomness state in each postmaster child process * Make REPLICATION privilege checks test current user not authenticated user * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's not appropriate to do so * Fix erroneous range-union and penalty logic in GiST indexes that use contrib/btree_gist for variable-width data types, that is text, bytea, bit, and numeric columns * Fix bugs in GiST page splitting code for multi-column indexes * Fix gist_point_consistent to handle fuzziness consistently * See the release notes for the rest of the changes: http://www.postgresql.org/docs/9.2/static/release-9-2-4.html OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=4 --- orafce-orafce_sql_yyparse-bison26.patch | 19 +++++++++++++++++++ orafce.changes | 6 ++++++ orafce.spec.in | 3 +++ postgresql91-orafce.changes | 6 ++++++ postgresql91-orafce.spec | 3 +++ postgresql92-orafce.changes | 6 ++++++ postgresql92-orafce.spec | 3 +++ 7 files changed, 46 insertions(+) create mode 100644 orafce-orafce_sql_yyparse-bison26.patch diff --git a/orafce-orafce_sql_yyparse-bison26.patch b/orafce-orafce_sql_yyparse-bison26.patch new file mode 100644 index 0000000..54f5829 --- /dev/null +++ b/orafce-orafce_sql_yyparse-bison26.patch @@ -0,0 +1,19 @@ +diff -ru orafce-HEAD-36ccc5b/plvlex.h orafce-HEAD-36ccc5b-mod/plvlex.h +--- orafce-HEAD-36ccc5b/plvlex.h 2012-08-28 09:34:47.000000000 -0400 ++++ orafce-HEAD-36ccc5b-mod/plvlex.h 2013-08-08 09:24:00.209114601 -0400 +@@ -8,3 +8,5 @@ + char *modificator; + char *classname; + } orafce_lexnode; ++ ++#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */ +diff -ru orafce-HEAD-36ccc5b/sqlparse.y orafce-HEAD-36ccc5b-mod/sqlparse.y +--- orafce-HEAD-36ccc5b/sqlparse.y 2012-08-28 09:34:47.000000000 -0400 ++++ orafce-HEAD-36ccc5b-mod/sqlparse.y 2013-08-08 09:24:15.353229493 -0400 +@@ -1,6 +1,5 @@ + %{ + +-#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */ + #define YYDEBUG 1 + + #define YYLLOC_DEFAULT(Current, Rhs, N) \ diff --git a/orafce.changes b/orafce.changes index 94f8763..9732678 100644 --- a/orafce.changes +++ b/orafce.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net + +- patch for compilation error with Bison >=2.6 + See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633 + ------------------------------------------------------------------- Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net diff --git a/orafce.spec.in b/orafce.spec.in index da6141c..4a3aa18 100644 --- a/orafce.spec.in +++ b/orafce.spec.in @@ -12,6 +12,8 @@ License: BSD URL: http://pgfoundry.org/projects/orafce/ #Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz Source0: %{realname}-%{gitname}.tar.gz +# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4 +Patch1: orafce-orafce_sql_yyparse-bison26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex Requires: postgresql%{pgversion}-server @@ -25,6 +27,7 @@ for production work. %prep %setup -q -n %{realname}-%{gitname} +%patch1 -p1 #sed -i 's/\r//' doc/style.css %build diff --git a/postgresql91-orafce.changes b/postgresql91-orafce.changes index 94f8763..9732678 100644 --- a/postgresql91-orafce.changes +++ b/postgresql91-orafce.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net + +- patch for compilation error with Bison >=2.6 + See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633 + ------------------------------------------------------------------- Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net diff --git a/postgresql91-orafce.spec b/postgresql91-orafce.spec index f322303..279cb8b 100644 --- a/postgresql91-orafce.spec +++ b/postgresql91-orafce.spec @@ -12,6 +12,8 @@ License: BSD URL: http://pgfoundry.org/projects/orafce/ #Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz Source0: %{realname}-%{gitname}.tar.gz +# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4 +Patch1: orafce-orafce_sql_yyparse-bison26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex Requires: postgresql%{pgversion}-server @@ -25,6 +27,7 @@ for production work. %prep %setup -q -n %{realname}-%{gitname} +%patch1 -p1 #sed -i 's/\r//' doc/style.css %build diff --git a/postgresql92-orafce.changes b/postgresql92-orafce.changes index 94f8763..9732678 100644 --- a/postgresql92-orafce.changes +++ b/postgresql92-orafce.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net + +- patch for compilation error with Bison >=2.6 + See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633 + ------------------------------------------------------------------- Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net diff --git a/postgresql92-orafce.spec b/postgresql92-orafce.spec index b72d468..0186b25 100644 --- a/postgresql92-orafce.spec +++ b/postgresql92-orafce.spec @@ -12,6 +12,8 @@ License: BSD URL: http://pgfoundry.org/projects/orafce/ #Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz Source0: %{realname}-%{gitname}.tar.gz +# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4 +Patch1: orafce-orafce_sql_yyparse-bison26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex Requires: postgresql%{pgversion}-server @@ -25,6 +27,7 @@ for production work. %prep %setup -q -n %{realname}-%{gitname} +%patch1 -p1 #sed -i 's/\r//' doc/style.css %build