changeset 6426:6fcbbbd97e40

postgresql: Add autoconf patch * src/postgresql-1-autoconf.patch: new file * dist-files.mk: add ref to patch
author John Donoghue <john.donoghue@ieee.org>
date Fri, 23 Sep 2022 21:39:35 -0400
parents c332b13228e8
children 152618b5b2a1
files dist-files.mk src/postgresql-1-autoconf.patch
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dist-files.mk	Fri Sep 23 18:32:11 2022 +0200
+++ b/dist-files.mk	Fri Sep 23 21:39:35 2022 -0400
@@ -607,6 +607,7 @@
   popt.mk \
   portaudio-test.c \
   portaudio.mk \
+  postgresql-1-autoconf.patch \
   postgresql.mk \
   proj.mk \
   protobuf-test.cpp \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/postgresql-1-autoconf.patch	Fri Sep 23 21:39:35 2022 -0400
@@ -0,0 +1,18 @@
+diff -ur postgresql-9.4.26.orig/configure.in postgresql-9.4.26/configure.in
+--- postgresql-9.4.26.orig/configure.in	2022-09-23 21:36:35.767240767 -0400
++++ postgresql-9.4.26/configure.in	2022-09-23 21:36:59.182663392 -0400
+@@ -19,10 +19,10 @@
+ 
+ AC_INIT([PostgreSQL], [9.4.26], [pgsql-bugs@postgresql.org])
+ 
+-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
+-Untested combinations of 'autoconf' and PostgreSQL versions are not
+-recommended.  You can remove the check from 'configure.in' but it is then
+-your responsibility whether the result works or not.])])
++#m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
++#Untested combinations of 'autoconf' and PostgreSQL versions are not
++#recommended.  You can remove the check from 'configure.in' but it is then
++#your responsibility whether the result works or not.])])
+ AC_COPYRIGHT([Copyright (c) 1996-2014, PostgreSQL Global Development Group])
+ AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
+ AC_CONFIG_AUX_DIR(config)