From ba551e9b92e2d11547abbf23f1d799749f4b2d04 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 16 Feb 2023 19:11:24 -0800 Subject: configure: raise minimum autoconf requirement to 2.70 Needed for builds on NetBSD to work correctly, since it depends on AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the prototype for reallocarray() in the system headers. Signed-off-by: Alan Coopersmith --- .gitlab-ci.yml | 9 +++++---- configure.ac | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5bbb0b..ef25a82 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ # Please see the ci-templates documentation for details: # https://freedesktop.pages.freedesktop.org/ci-templates/ -.templates_sha: &template_sha 34f4ade99434043f88e164933f570301fd18b125 # see https://docs.gitlab.com/ee/ci/yaml/#includefile +.templates_sha: &template_sha fddab8aa63e89a8e65214f59860d9c0f030360c9 # see https://docs.gitlab.com/ee/ci/yaml/#includefile include: @@ -27,12 +27,13 @@ stages: variables: FDO_UPSTREAM_REPO: 'xorg/lib/libXmu' - FDO_DISTRIBUTION_VERSION: 'stable' + # 'testing' needed to get autoconf >= 2.70 in Debian as of 2023-02-16 + FDO_DISTRIBUTION_VERSION: 'testing' # The tag should be updated each time the list of packages is updated. # Changing a tag forces the associated image to be rebuilt. # Note: the tag has no meaning, we use a date format purely for readability - FDO_DISTRIBUTION_TAG: '2022-07-17.0' - FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake libtool make xutils-dev x11proto-dev libx11-dev libxext-dev libxt-dev xmlto xorg-sgml-doctools w3m xsltproc fop' + FDO_DISTRIBUTION_TAG: '2023-02-16.0' + FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake libtool make xutils-dev x11proto-dev libx11-dev libxext-dev libxt-dev xmlto xorg-sgml-doctools w3m xsltproc fop xz-utils' # diff --git a/configure.ac b/configure.ac index 7b99b44..0dfd86a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Initialize Autoconf -AC_PREREQ([2.60]) +AC_PREREQ([2.70]) AC_INIT([libXmu], [1.1.4], [https://gitlab.freedesktop.org/xorg/lib/libxmu/-/issues], [libXmu]) AC_CONFIG_SRCDIR([Makefile.am]) -- cgit v1.2.1