[postgresql-plruby/f16] Included postgres.h

Jan Horak hhorak at fedoraproject.org
Wed Mar 21 09:26:08 UTC 2012


commit 2e9523e5e009a5e6d9f26847823604762a4b7b5c
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Wed Mar 21 08:42:10 2012 +0100

    Included postgres.h

 postgresql-plruby-headers.patch |   12 ++++++++++++
 postgresql-plruby.spec          |    3 +++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/postgresql-plruby-headers.patch b/postgresql-plruby-headers.patch
new file mode 100644
index 0000000..599ba3d
--- /dev/null
+++ b/postgresql-plruby-headers.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	2007-12-26 16:58:02.000000000 +0100
++++ plruby-0.5.3/src/plruby.h	2012-02-15 17:17:32.650551398 +0100
+@@ -2,6 +2,8 @@
+ #include <fcntl.h>
+ #include <setjmp.h>
+ 
++#include "postgres.h"
++
+ #include "executor/spi.h"
+ #include "commands/trigger.h"
+ #include "utils/elog.h"
diff --git a/postgresql-plruby.spec b/postgresql-plruby.spec
index 2718e9e..276d3c0 100644
--- a/postgresql-plruby.spec
+++ b/postgresql-plruby.spec
@@ -14,6 +14,7 @@ BuildRequires:	ruby >= 1.8 ruby-devel >= 1.8 postgresql-devel >= 8.1
 Requires:	postgresql-libs, ruby(abi) = 1.8
 
 Patch0: postgresql-plruby-bitopers.patch
+Patch1: postgresql-plruby-headers.patch
 
 %description
 PL/Ruby is a loadable procedural language for the PostgreSQL database
@@ -31,6 +32,7 @@ Documentation for plruby.
 %prep
 %setup -q -n %{sname}-%{version}
 %patch0 -p1 -b .biopers
+%patch1 -p1 -b .headers
 
 unset FILE
 for f in %{_includedir}/pg_config_*.h
@@ -69,6 +71,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Mar 21 2012 Honza Horak <hhorak at redhat.com> - 0.5.3-5
 - Reflected a name change of and/or bit operand functions in Postgresql
+- Included postgres.h
 
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list