git: c4970e66ddc9 - main - databases/pg_citus: update to 11.2.1

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Thu, 27 Apr 2023 07:35:52 UTC
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c4970e66ddc95110357d4361edeb612dbf5e46ab

commit c4970e66ddc95110357d4361edeb612dbf5e46ab
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-04-27 07:33:28 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-04-27 07:35:47 +0000

    databases/pg_citus: update to 11.2.1
    
    Delete patch file now incorporated upstream.
    
    Changes:        https://github.com/citusdata/citus/blob/v11.2.1/CHANGELOG.md
    Reported by:    portscout
---
 databases/pg_citus/Makefile                        |  3 +--
 databases/pg_citus/distinfo                        |  6 ++---
 .../files/patch-src_include_pg__version__compat.h  | 28 ----------------------
 databases/pg_citus/pkg-plist                       |  1 +
 4 files changed, 5 insertions(+), 33 deletions(-)

diff --git a/databases/pg_citus/Makefile b/databases/pg_citus/Makefile
index b45d5a4d83fd..2fe3f219001e 100644
--- a/databases/pg_citus/Makefile
+++ b/databases/pg_citus/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	citus
-PORTVERSION=	11.2.0
-PORTREVISION=	1
+PORTVERSION=	11.2.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	databases
 PKGNAMEPREFIX=	pg_
diff --git a/databases/pg_citus/distinfo b/databases/pg_citus/distinfo
index a991e0d741b0..f65fa17e0172 100644
--- a/databases/pg_citus/distinfo
+++ b/databases/pg_citus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675541952
-SHA256 (citusdata-citus-v11.2.0_GH0.tar.gz) = a23c56015b1a7fda5bef0102fce81adcf75a8ab75c4f53760795b6a64e951761
-SIZE (citusdata-citus-v11.2.0_GH0.tar.gz) = 6486177
+TIMESTAMP = 1682486932
+SHA256 (citusdata-citus-v11.2.1_GH0.tar.gz) = d500f216f233068f9643136759c0b029a0c940734a07fc309aad49a213f5169b
+SIZE (citusdata-citus-v11.2.1_GH0.tar.gz) = 6491149
diff --git a/databases/pg_citus/files/patch-src_include_pg__version__compat.h b/databases/pg_citus/files/patch-src_include_pg__version__compat.h
deleted file mode 100644
index a421c728c951..000000000000
--- a/databases/pg_citus/files/patch-src_include_pg__version__compat.h
+++ /dev/null
@@ -1,28 +0,0 @@
---- src/include/pg_version_compat.h.orig	2023-02-15 11:30:17 UTC
-+++ src/include/pg_version_compat.h
-@@ -54,7 +54,14 @@ pg_strtoint64(char *s)
- 	return result;
- }
- 
--
-+/*
-+ * RelationGetSmgr got backported in 13.10 and 14.7 so redefining it for any
-+ * version higher causes compilation errors due to redefining of the function.
-+ * We want to use it in all versions. So we backport it ourselves in earlier
-+ * versions, and rely on the Postgres provided version in the later versions.
-+ */
-+#if PG_VERSION_NUM >= PG_VERSION_13 && PG_VERSION_NUM < 130010 \
-+	|| PG_VERSION_NUM >= PG_VERSION_14 && PG_VERSION_NUM < 140007
- static inline SMgrRelation
- RelationGetSmgr(Relation rel)
- {
-@@ -64,6 +71,9 @@ RelationGetSmgr(Relation rel)
- 	}
- 	return rel->rd_smgr;
- }
-+
-+
-+#endif
- 
- 
- #define CREATE_SEQUENCE_COMMAND \
diff --git a/databases/pg_citus/pkg-plist b/databases/pg_citus/pkg-plist
index c35441c2afa5..084933c3f5c3 100644
--- a/databases/pg_citus/pkg-plist
+++ b/databases/pg_citus/pkg-plist
@@ -149,6 +149,7 @@ share/postgresql/extension/citus--11.0-3--11.0-4.sql
 share/postgresql/extension/citus--11.0-4--11.0-3.sql
 share/postgresql/extension/citus--11.0-4--11.1-1.sql
 share/postgresql/extension/citus--11.1-1--11.2-1.sql
+share/postgresql/extension/citus--11.2-1--11.2-2.sql
 share/postgresql/extension/citus--8.0-1--8.0-2.sql
 share/postgresql/extension/citus--8.0-1.sql
 share/postgresql/extension/citus--8.0-10--8.0-11.sql