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} \