From 7fb4448355df1d5c0c4cb9eef58fac4c91397f6c Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 23 Apr 2024 21:46:23 +0200 Subject: 26.3, 27.2, 28.2, 29.3: Compatibility fix for autoconf-2.72 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/930502 Signed-off-by: Ulrich Müller --- emacs/26.3/09_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ emacs/27.2/11_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ emacs/28.2/13_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ emacs/29.3/03_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 emacs/26.3/09_all_autoconf-2.72.patch create mode 100644 emacs/27.2/11_all_autoconf-2.72.patch create mode 100644 emacs/28.2/13_all_autoconf-2.72.patch create mode 100644 emacs/29.3/03_all_autoconf-2.72.patch diff --git a/emacs/26.3/09_all_autoconf-2.72.patch b/emacs/26.3/09_all_autoconf-2.72.patch new file mode 100644 index 0000000..bce8495 --- /dev/null +++ b/emacs/26.3/09_all_autoconf-2.72.patch @@ -0,0 +1,24 @@ +Compatibility fix for autoconf-2.72 +Patch backported from master branch +https://bugs.gentoo.org/930502 + +commit e34ebc0ccc6c27e7e1217baad9ca74dd7bea4c37 +Author: Paul Eggert +Date: Wed Feb 7 13:17:57 2024 -0800 + + Port better to Autoconf 2.72 + + * configure.ac: Set ac_cv_type_gid_t=yes to pacify Autoconf 2.72 + AC_TYPE_GETGROUPS. Problem reported by Nick Bowler in: + https://lists.gnu.org/r/autoconf-patches/2024-02/msg00001.html + +--- emacs-26.3/configure.ac ++++ emacs-26.3/configure.ac +@@ -1538,6 +1538,7 @@ + AC_DEFUN([AC_TYPE_SIZE_T]) + # Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them. + AC_DEFUN([AC_TYPE_UID_T]) ++ac_cv_type_gid_t=yes # AC_TYPE_GETGROUPS needs this in Autoconf 2.72. + + # sqrt and other floating-point functions such as fmod and frexp + # are found in -lm on many systems. diff --git a/emacs/27.2/11_all_autoconf-2.72.patch b/emacs/27.2/11_all_autoconf-2.72.patch new file mode 100644 index 0000000..2343066 --- /dev/null +++ b/emacs/27.2/11_all_autoconf-2.72.patch @@ -0,0 +1,24 @@ +Compatibility fix for autoconf-2.72 +Patch backported from master branch +https://bugs.gentoo.org/930502 + +commit e34ebc0ccc6c27e7e1217baad9ca74dd7bea4c37 +Author: Paul Eggert +Date: Wed Feb 7 13:17:57 2024 -0800 + + Port better to Autoconf 2.72 + + * configure.ac: Set ac_cv_type_gid_t=yes to pacify Autoconf 2.72 + AC_TYPE_GETGROUPS. Problem reported by Nick Bowler in: + https://lists.gnu.org/r/autoconf-patches/2024-02/msg00001.html + +--- emacs-27.2/configure.ac ++++ emacs-27.2/configure.ac +@@ -1633,6 +1633,7 @@ + AC_DEFUN([AC_TYPE_SIZE_T]) + # Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them. + AC_DEFUN([AC_TYPE_UID_T]) ++ac_cv_type_gid_t=yes # AC_TYPE_GETGROUPS needs this in Autoconf 2.72. + + # sqrt and other floating-point functions such as fmod and frexp + # are found in -lm on many systems. diff --git a/emacs/28.2/13_all_autoconf-2.72.patch b/emacs/28.2/13_all_autoconf-2.72.patch new file mode 100644 index 0000000..110b647 --- /dev/null +++ b/emacs/28.2/13_all_autoconf-2.72.patch @@ -0,0 +1,24 @@ +Compatibility fix for autoconf-2.72 +Patch backported from master branch +https://bugs.gentoo.org/930502 + +commit e34ebc0ccc6c27e7e1217baad9ca74dd7bea4c37 +Author: Paul Eggert +Date: Wed Feb 7 13:17:57 2024 -0800 + + Port better to Autoconf 2.72 + + * configure.ac: Set ac_cv_type_gid_t=yes to pacify Autoconf 2.72 + AC_TYPE_GETGROUPS. Problem reported by Nick Bowler in: + https://lists.gnu.org/r/autoconf-patches/2024-02/msg00001.html + +--- emacs-28.2/configure.ac ++++ emacs-28.2/configure.ac +@@ -1590,6 +1590,7 @@ + AC_DEFUN([AC_TYPE_SIZE_T]) + # Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them. + AC_DEFUN([AC_TYPE_UID_T]) ++ac_cv_type_gid_t=yes # AC_TYPE_GETGROUPS needs this in Autoconf 2.72. + + # sqrt and other floating-point functions such as fmod and frexp + # are found in -lm on many systems. diff --git a/emacs/29.3/03_all_autoconf-2.72.patch b/emacs/29.3/03_all_autoconf-2.72.patch new file mode 100644 index 0000000..45ad85c --- /dev/null +++ b/emacs/29.3/03_all_autoconf-2.72.patch @@ -0,0 +1,24 @@ +Compatibility fix for autoconf-2.72 +Patch backported from master branch +https://bugs.gentoo.org/930502 + +commit e34ebc0ccc6c27e7e1217baad9ca74dd7bea4c37 +Author: Paul Eggert +Date: Wed Feb 7 13:17:57 2024 -0800 + + Port better to Autoconf 2.72 + + * configure.ac: Set ac_cv_type_gid_t=yes to pacify Autoconf 2.72 + AC_TYPE_GETGROUPS. Problem reported by Nick Bowler in: + https://lists.gnu.org/r/autoconf-patches/2024-02/msg00001.html + +--- emacs-29.3/configure.ac ++++ emacs-29.3/configure.ac +@@ -1661,6 +1661,7 @@ + AC_DEFUN([AC_TYPE_SIZE_T]) + # Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them. + AC_DEFUN([AC_TYPE_UID_T]) ++ac_cv_type_gid_t=yes # AC_TYPE_GETGROUPS needs this in Autoconf 2.72. + + # Check for all math.h functions that Emacs uses; on some platforms, + # -lm is needed for some of these functions. -- cgit v1.2.3-65-gdbad