summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-10-19 10:11:55 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-10-19 10:13:00 +0200
commitdbce818aec6dbfe9282269f2533f04abfeecb8db (patch)
treed4f4b878da8b8be284faff673970821e5cd8eb7b
parentadd xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch (diff)
downloadxen-gentoo-patches-dbce818aec6dbfe9282269f2533f04abfeecb8db.tar.gz
xen-gentoo-patches-dbce818aec6dbfe9282269f2533f04abfeecb8db.tar.bz2
xen-gentoo-patches-dbce818aec6dbfe9282269f2533f04abfeecb8db.zip
Drop xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch4.17.0-gentoo-patchset-2main
A similar patch is now in Xen 4.18 and 4.17. See, for example, 47ff4ab153e0 ("tools: drop bogus and obsolete ptyfuncs.m4") upstream. Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch b/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch
deleted file mode 100644
index 170ec2c..0000000
--- a/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 873d4759aa7b0581bf34e8a7ebfcbeca789ed6e1 Mon Sep 17 00:00:00 2001
-From: Florian Schmaus <flo@geekplace.eu>
-Date: Tue, 16 May 2023 09:56:48 +0200
-Subject: [PATCH] m4/ptyfuncs.m4 tools/configure: add linux headers for pty
- functions
-
-To avoid implicit function declarations, which will cause an error on
-modern compilers. See https://wiki.gentoo.org/wiki/Modern_C_porting
-
-Downstream Gentoo bug: https://bugs.gentoo.org/904449
-
-Signed-off-by: Florian Schmaus <flo@geekplace.eu>
----
- m4/ptyfuncs.m4 | 3 +++
- tools/configure | 3 +++
- 2 files changed, 6 insertions(+)
-
-diff --git a/m4/ptyfuncs.m4 b/m4/ptyfuncs.m4
-index 3e37b5a23c8b..d1a2208398e3 100644
---- a/m4/ptyfuncs.m4
-+++ b/m4/ptyfuncs.m4
-@@ -19,6 +19,9 @@ AC_DEFUN([AX_CHECK_PTYFUNCS], [
- AC_LINK_IFELSE([AC_LANG_SOURCE([
- #ifdef INCLUDE_LIBUTIL_H
- #include INCLUDE_LIBUTIL_H
-+#else
-+#include <pty.h>
-+#include <utmp.h>
- #endif
- int main(void) {
- openpty(0,0,0,0,0);
-diff --git a/tools/configure b/tools/configure
-index 5df30df9b35c..01f57b20c318 100755
---- a/tools/configure
-+++ b/tools/configure
-@@ -9002,6 +9002,9 @@ See \`config.log' for more details" "$LINENO" 5; }
-
- #ifdef INCLUDE_LIBUTIL_H
- #include INCLUDE_LIBUTIL_H
-+#else
-+#include <pty.h>
-+#include <utmp.h>
- #endif
- int main(void) {
- openpty(0,0,0,0,0);
---
-2.39.3
-