Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
update postgresql-ip4r
To:
ports@openbsd.org
Date:
Tue, 25 Nov 2025 13:35:46 +0100

Download raw body.

Thread
  • Claudio Jeker:

    update postgresql-ip4r

postgresql-ip4r does not compile with modern postgres because it misses
varatt.h include. Instead of patching I think we should just update to
2.4.2 which fixes this already.

The files removed from the package are for postgresql <= 13.
-- 
:wq Claudio

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql-ip4r/Makefile,v
diff -u -p -r1.1.1.1 Makefile
--- Makefile	13 May 2022 12:21:45 -0000	1.1.1.1
+++ Makefile	25 Nov 2025 12:12:31 -0000
@@ -4,15 +4,18 @@ GH_ACCOUNT=	RhodiumToad
 GH_PROJECT=	ip4r
 
 # use a slightly newer commit including the license file
-#GH_TAGNAME=	2.4.1
-GH_COMMIT=	5f9ce88a353f241b7968b60835ba7186c8199162
-DISTNAME=	ip4r-2.4.1pl1
+GH_TAGNAME=	2.4.2
+#DISTNAME=	ip4r-2.4.1pl1
 
 PKGNAME=	postgresql-${DISTNAME}
 CATEGORIES=	databases net
 
 # PostgreSQL license (BSD)
 PERMIT_PACKAGE=	Yes
+
+# -Wvla and other unrecognized command line options
+COMPILER=	base-clang ports-gcc
+COMPILER_LANGS=	c
 
 WANTLIB += c
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/postgresql-ip4r/distinfo,v
diff -u -p -r1.1.1.1 distinfo
--- distinfo	13 May 2022 12:21:45 -0000	1.1.1.1
+++ distinfo	25 Nov 2025 12:12:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (ip4r-2.4.1pl1-5f9ce88a.tar.gz) = a9p8htxxUU+K21/hFgnZrlpQmGhqVTUb+YUeNn6Hk5A=
-SIZE (ip4r-2.4.1pl1-5f9ce88a.tar.gz) = 129118
+SHA256 (ip4r-2.4.2.tar.gz) = D3sfFZl09JpHhCqKtnUa7Moe0RQrbV442BsGSy6tG0s=
+SIZE (ip4r-2.4.2.tar.gz) = 132976
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/postgresql-ip4r/pkg/PLIST,v
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST	13 May 2022 12:21:45 -0000	1.1.1.1
+++ pkg/PLIST	25 Nov 2025 12:27:54 -0000
@@ -8,7 +8,4 @@ share/postgresql/extension/ip4r--2.0--2.
 share/postgresql/extension/ip4r--2.1--2.2.sql
 share/postgresql/extension/ip4r--2.2--2.4.sql
 share/postgresql/extension/ip4r--2.4.sql
-share/postgresql/extension/ip4r--unpackaged1--2.0.sql
-share/postgresql/extension/ip4r--unpackaged2.0--2.0.sql
-share/postgresql/extension/ip4r--unpackaged2.1--2.1.sql
 share/postgresql/extension/ip4r.control