From: Jan Rękorajski Date: Sat, 8 May 2021 20:52:18 +0000 (+0200) Subject: - remove autoconf version check X-Git-Tag: auto/th/postgresql-11.5-10~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpostgresql.git;a=commitdiff_plain;h=25078e5003d71e3ef44202ea8ab5a8f0943469a2 - remove autoconf version check --- diff --git a/ac.patch b/ac.patch new file mode 100644 index 0000000..68873fe --- /dev/null +++ b/ac.patch @@ -0,0 +1,13 @@ +--- postgresql-11.5/configure.in~ 2021-05-08 22:49:16.000000000 +0200 ++++ postgresql-11.5/configure.in 2021-05-08 22:50:36.956514091 +0200 +@@ -19,10 +19,6 @@ + + AC_INIT([PostgreSQL], [11.5], [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.])]) + AC_COPYRIGHT([Copyright (c) 1996-2018, PostgreSQL Global Development Group]) + AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) + AC_CONFIG_AUX_DIR(config) diff --git a/postgresql.spec b/postgresql.spec index 1ba82b5..fa65a31 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -57,6 +57,7 @@ Patch5: %{name}-heimdal.patch Patch6: %{name}-link.patch Patch7: llvm10.patch Patch8: llvm11.patch +Patch9: ac.patch URL: http://www.postgresql.org/ BuildRequires: autoconf >= 2.69 BuildRequires: automake @@ -795,6 +796,7 @@ Różne moduły dołączone do PostgreSQL-a. %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 # force rebuild of bison/flex files find src -name \*.l -o -name \*.y | xargs touch