From 1857cc32c4c45d9d46a7591e7e03caab99010536 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Fri, 16 Mar 2018 20:48:24 +0100 Subject: [PATCH] upgrading package: postgresql-pglogical 2.1.1 -> 2.2.0 --- postgresql-pglogical/postgresql-pglogical.patch | 13 +++++++++++++ postgresql-pglogical/postgresql-pglogical.spec | 8 +++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 postgresql-pglogical/postgresql-pglogical.patch diff --git a/postgresql-pglogical/postgresql-pglogical.patch b/postgresql-pglogical/postgresql-pglogical.patch new file mode 100644 index 0000000000..9515cfa061 --- /dev/null +++ b/postgresql-pglogical/postgresql-pglogical.patch @@ -0,0 +1,13 @@ +Index: pglogical_fe.c +--- pglogical_fe.c.orig 2018-03-05 13:51:07.000000000 +0100 ++++ pglogical_fe.c 2018-03-16 20:43:51.403142000 +0100 +@@ -10,6 +10,9 @@ + * + *------------------------------------------------------------------------- + */ ++ ++#include ++#include + #include "postgres_fe.h" + + #include "pglogical_fe.h" diff --git a/postgresql-pglogical/postgresql-pglogical.spec b/postgresql-pglogical/postgresql-pglogical.spec index a493785e22..d4ef9cb262 100644 --- a/postgresql-pglogical/postgresql-pglogical.spec +++ b/postgresql-pglogical/postgresql-pglogical.spec @@ -22,8 +22,8 @@ ## # package version -%define V_opkg 2.1.1 -%define V_dist 2_1_1 +%define V_opkg 2.2.0 +%define V_dist 2_2_0 # package information Name: postgresql-pglogical @@ -36,10 +36,11 @@ Class: EVAL Group: Database License: BSD Version: %{V_opkg} -Release: 20180111 +Release: 20180316 # list of sources Source0: https://github.com/2ndQuadrant/pglogical/archive/REL%{V_dist}.tar.gz +Patch0: postgresql-pglogical.patch # build information BuildPreReq: OpenPKG, openpkg >= 20160101 @@ -61,6 +62,7 @@ PreReq: postgresql %prep %setup -q -n pglogical-REL%{V_dist} + %patch -p0 %build %{l_make} %{l_mflags} \