[postgresql-plruby] Fix includes to avoid incomplete type errors

Honza Horak hhorak at fedoraproject.org
Tue Mar 5 12:02:23 UTC 2013


commit ae79eff9f48f5f507b40887f14180b1ac718e4bc
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Tue Mar 5 13:01:38 2013 +0100

    Fix includes to avoid incomplete type errors

 postgresql-plruby-includes.patch |   12 ++++++++++++
 postgresql-plruby.spec           |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/postgresql-plruby-includes.patch b/postgresql-plruby-includes.patch
new file mode 100644
index 0000000..f2e9e6b
--- /dev/null
+++ b/postgresql-plruby-includes.patch
@@ -0,0 +1,12 @@
+diff -up plruby-0.5.3/src/plruby.h.debug plruby-0.5.3/src/plruby.h
+--- plruby-0.5.3/src/plruby.h.debug	2013-03-05 12:43:39.107105360 +0100
++++ plruby-0.5.3/src/plruby.h	2013-03-05 12:46:11.769101158 +0100
+@@ -8,6 +8,8 @@
+ #include "commands/trigger.h"
+ #include "utils/elog.h"
+ #include "utils/builtins.h"
++#include "utils/rel.h"
++#include "utils/relcache.h"
+ #include "fmgr.h"
+ #include "access/heapam.h"
+ 
diff --git a/postgresql-plruby.spec b/postgresql-plruby.spec
index 77f8f64..edb9130 100644
--- a/postgresql-plruby.spec
+++ b/postgresql-plruby.spec
@@ -3,7 +3,7 @@
 Summary:	PostgreSQL Ruby Procedural Language
 Name:		postgresql-%{sname}
 Version:	0.5.3
-Release:	8%{?dist}
+Release:	9%{?dist}
 Source0:	ftp://moulon.inra.fr/pub/ruby/%{sname}-%{version}.tar.gz
 License:	Ruby or GPL+
 Group:		Applications/Databases
@@ -15,6 +15,7 @@ Requires:	postgresql-libs, ruby(abi) = 1.9.1
 Patch0: postgresql-plruby-bitopers.patch
 Patch1: postgresql-plruby-headers.patch
 Patch2: postgresql-plruby-retval.patch
+Patch3: postgresql-plruby-includes.patch
 
 %description
 PL/Ruby is a loadable procedural language for the PostgreSQL database
@@ -34,6 +35,7 @@ Documentation for plruby.
 %patch0 -p1 -b .biopers
 %patch1 -p1 -b .headers
 %patch2 -p1 -b .retval
+%patch3 -p1 -b .debug
 
 unset FILE
 for f in %{_includedir}/pg_config_*.h
@@ -70,6 +72,9 @@ rm -rf %{buildroot}
 %doc docs/plruby.rb
 
 %changelog
+* Tue Mar  5 2013 Honza Horak <hhorak at redhat.com> - 0.5.3-9
+- Fix includes to avoid incomplete type errors
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.3-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list