aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-04-23 21:46:23 +0200
committerUlrich Müller <ulm@gentoo.org>2024-04-23 21:46:23 +0200
commit7fb4448355df1d5c0c4cb9eef58fac4c91397f6c (patch)
tree1195b8b5b79357012a7e4b9b6afe081f38adbcdb
parent26.3, 27.2, 28.2: Backport security fixes from 29.3 (diff)
downloademacs-patches-7fb4448355df1d5c0c4cb9eef58fac4c91397f6c.tar.gz
emacs-patches-7fb4448355df1d5c0c4cb9eef58fac4c91397f6c.tar.bz2
emacs-patches-7fb4448355df1d5c0c4cb9eef58fac4c91397f6c.zip
26.3, 27.2, 28.2, 29.3: Compatibility fix for autoconf-2.72
Bug: https://bugs.gentoo.org/930502 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--emacs/26.3/09_all_autoconf-2.72.patch24
-rw-r--r--emacs/27.2/11_all_autoconf-2.72.patch24
-rw-r--r--emacs/28.2/13_all_autoconf-2.72.patch24
-rw-r--r--emacs/29.3/03_all_autoconf-2.72.patch24
4 files changed, 96 insertions, 0 deletions
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 <eggert@cs.ucla.edu>
+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 <eggert@cs.ucla.edu>
+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 <eggert@cs.ucla.edu>
+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 <eggert@cs.ucla.edu>
+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.