* [gentoo-commits] proj/xen-gentoo-patches:main commit in: /
@ 2022-07-07 6:40 Florian Schmaus
0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-07-07 6:40 UTC (permalink / raw
To: gentoo-commits
commit: 992365953b0a83da95fcafa9b76b55b68d77f696
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 06:32:18 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 06:32:18 2022 +0000
URL: https://gitweb.gentoo.org/proj/xen-gentoo-patches.git/commit/?id=99236595
Drop qemu-bridge.patch
The patch is replaced by an sed in the ebuild, which is assumed to be
more robust and less high maintenance.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
xen-tools-4.16.0-qemu-bridge.patch | 69 --------------------------------------
1 file changed, 69 deletions(-)
diff --git a/xen-tools-4.16.0-qemu-bridge.patch b/xen-tools-4.16.0-qemu-bridge.patch
deleted file mode 100644
index 886be18..0000000
--- a/xen-tools-4.16.0-qemu-bridge.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff --git a/tools/qemu-xen/include/net/net.h b/tools/qemu-xen/include/net/net.h
-index 5d150808..1de01433 100644
---- a/tools/qemu-xen/include/net/net.h
-+++ b/tools/qemu-xen/include/net/net.h
-@@ -221,7 +221,7 @@ NetClientState *net_hub_port_find(int hub_id);
-
- #define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifup"
- #define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifdown"
--#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
-+#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/xen-bridge-helper"
- #define DEFAULT_BRIDGE_INTERFACE "br0"
-
- void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd);
-diff --git a/tools/qemu-xen/meson.build b/tools/qemu-xen/meson.build
-index b3e7ec0e..9cd36a43 100644
---- a/tools/qemu-xen/meson.build
-+++ b/tools/qemu-xen/meson.build
-@@ -2759,7 +2759,7 @@ if have_tools
- endif
-
- if targetos == 'linux'
-- executable('qemu-bridge-helper', files('qemu-bridge-helper.c'),
-+ executable('xen-bridge-helper', files('xen-bridge-helper.c'),
- dependencies: [qemuutil, libcap_ng],
- install: true,
- install_dir: get_option('libexecdir'))
-diff --git a/tools/qemu-xen/qemu-bridge-helper.c b/tools/qemu-xen/qemu-bridge-helper.c
-index a26e1663..8abc0e74 100644
---- a/tools/qemu-xen/qemu-bridge-helper.c
-+++ b/tools/qemu-xen/qemu-bridge-helper.c
-@@ -68,7 +68,7 @@ typedef QSIMPLEQ_HEAD(ACLList, ACLRule) ACLList;
- static void usage(void)
- {
- fprintf(stderr,
-- "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
-+ "Usage: xen-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n");
- }
-
- static int parse_acl_file(const char *filename, ACLList *acl_list)
-diff --git a/tools/qemu-xen/qemu-options.hx b/tools/qemu-xen/qemu-options.hx
-index 83aa59a9..87a898bd 100644
---- a/tools/qemu-xen/qemu-options.hx
-+++ b/tools/qemu-xen/qemu-options.hx
-@@ -2910,7 +2910,7 @@ SRST
- If running QEMU as an unprivileged user, use the network helper
- to configure the TAP interface and attach it to the bridge.
- The default network helper executable is
-- ``/path/to/qemu-bridge-helper`` and the default bridge device is
-+ ``/path/to/xen-bridge-helper`` and the default bridge device is
- ``br0``.
-
- ``fd``\ =h can be used to specify the handle of an already opened
-@@ -2936,14 +2936,14 @@ SRST
- #launch a QEMU instance with the default network helper to
- #connect a TAP device to bridge br0
- |qemu_system| linux.img -device virtio-net-pci,netdev=n1 \\
-- -netdev tap,id=n1,"helper=/path/to/qemu-bridge-helper"
-+ -netdev tap,id=n1,"helper=/path/to/xen-bridge-helper"
-
- ``-netdev bridge,id=id[,br=bridge][,helper=helper]``
- Connect a host TAP network interface to a host bridge device.
-
- Use the network helper helper to configure the TAP interface and
- attach it to the bridge. The default network helper executable is
-- ``/path/to/qemu-bridge-helper`` and the default bridge device is
-+ ``/path/to/xen-bridge-helper`` and the default bridge device is
- ``br0``.
-
- Examples:
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/xen-gentoo-patches:main commit in: /
@ 2022-07-07 6:40 Florian Schmaus
0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-07-07 6:40 UTC (permalink / raw
To: gentoo-commits
commit: e186376f6a6f1e787523b60f6b93a28b999dc56e
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 06:38:39 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 06:40:22 2022 +0000
URL: https://gitweb.gentoo.org/proj/xen-gentoo-patches.git/commit/?id=e186376f
commit-and-tag: only commit if there is something to commit
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
commit-and-tag | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/commit-and-tag b/commit-and-tag
index f9b1f38..0e2ba26 100755
--- a/commit-and-tag
+++ b/commit-and-tag
@@ -10,9 +10,11 @@ OUR_PATCHES_VERSION="${2}"
TAG="${XEN_VERSION}-gentoo-patchset-${OUR_PATCHES_VERSION}"
DESCRIPTION="Gentoo specific patches for Xen ${XEN_VERSION} (or later)"
-git commit \
- --signoff \
- -m "${DESCRIPTION}"
+if [[ -n $(git status --porcelain) ]]; then
+ git commit \
+ --signoff \
+ -m "${DESCRIPTION}"
+fi
git tag \
-s \
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/xen-gentoo-patches:main commit in: /
@ 2022-07-07 6:40 Florian Schmaus
0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-07-07 6:40 UTC (permalink / raw
To: gentoo-commits
commit: 8fc78fcaa1addb01f40cb12b9cfc12ffadd32434
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 06:36:51 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 06:36:51 2022 +0000
URL: https://gitweb.gentoo.org/proj/xen-gentoo-patches.git/commit/?id=8fc78fca
commit-and-tag: mention for what the patches actually are :)
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
commit-and-tag | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commit-and-tag b/commit-and-tag
index 9db9661..f9b1f38 100755
--- a/commit-and-tag
+++ b/commit-and-tag
@@ -8,7 +8,7 @@ XEN_VERSION="${1}"
OUR_PATCHES_VERSION="${2}"
TAG="${XEN_VERSION}-gentoo-patchset-${OUR_PATCHES_VERSION}"
-DESCRIPTION="Gentoo specific patches for ${XEN_VERSION} (or later)"
+DESCRIPTION="Gentoo specific patches for Xen ${XEN_VERSION} (or later)"
git commit \
--signoff \
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/xen-gentoo-patches:main commit in: /
@ 2023-04-17 8:16 Florian Schmaus
0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2023-04-17 8:16 UTC (permalink / raw
To: gentoo-commits
commit: f174c5dec6b54bc91810986f2bf0bd76f9d33f6e
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Apr 14 18:50:03 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Apr 14 18:50:03 2023 +0000
URL: https://gitweb.gentoo.org/proj/xen-gentoo-patches.git/commit/?id=f174c5de
Gentoo specific patches for Xen 4.17.0 (or later)
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
xen-4.16-efi.patch | 12 -----
xen-4.17-efi.patch | 13 ++++++
xen-tools-4.16.0-xenstat.patch | 51 ----------------------
...-4.14-ar-cc.patch => xen-tools-4.17-ar-cc.patch | 23 +---------
4 files changed, 15 insertions(+), 84 deletions(-)
diff --git a/xen-4.16-efi.patch b/xen-4.16-efi.patch
deleted file mode 100644
index 0de5575..0000000
--- a/xen-4.16-efi.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile
---- a/xen/arch/x86/Makefile 2021-11-30 06:42:42.000000000 -0500
-+++ b/xen/arch/x86/Makefile 2022-02-17 07:43:06.597244620 -0500
-@@ -127,7 +127,7 @@
- CFLAGS-$(XEN_BUILD_EFI) += -DXEN_BUILD_EFI
-
- # Check if the linker supports PE.
--EFI_LDFLAGS = $(patsubst -m%,-mi386pep,$(XEN_LDFLAGS)) --subsystem=10
-+EFI_LDFLAGS = -mi386pep $(patsubst -m%,-mi386pep,$(XEN_LDFLAGS)) --subsystem=10
- XEN_BUILD_PE := $(if $(XEN_BUILD_EFI),$(call ld-option,$(EFI_LDFLAGS) --image-base=0x100000000 -o efi/check.efi efi/check.o))
- # If the above failed, it may be merely because of the linker not dealing well
- # with debug info. Try again with stripping it.
diff --git a/xen-4.17-efi.patch b/xen-4.17-efi.patch
new file mode 100644
index 0000000..d3c102d
--- /dev/null
+++ b/xen-4.17-efi.patch
@@ -0,0 +1,13 @@
+diff --git a/xen/arch/x86/arch.mk b/xen/arch/x86/arch.mk
+index 227d439a..41bc2e89 100644
+--- a/xen/arch/x86/arch.mk
++++ b/xen/arch/x86/arch.mk
+@@ -94,7 +94,7 @@ $(shell mkdir -p $(dir $(efi-check)))
+ XEN_BUILD_EFI := $(call if-success,$(CC) $(CFLAGS) -c $(srctree)/$(efi-check).c -o $(efi-check).o,y)
+
+ # Check if the linker supports PE.
+-EFI_LDFLAGS := $(patsubst -m%,-mi386pep,$(LDFLAGS)) --subsystem=10
++EFI_LDFLAGS := -mi386pep $(patsubst -m%,-mi386pep,$(LDFLAGS)) --subsystem=10
+ LD_PE_check_cmd = $(call ld-option,$(EFI_LDFLAGS) --image-base=0x100000000 -o $(efi-check).efi $(efi-check).o)
+ XEN_BUILD_PE := $(LD_PE_check_cmd)
+
diff --git a/xen-tools-4.16.0-xenstat.patch b/xen-tools-4.16.0-xenstat.patch
deleted file mode 100644
index c47b3dc..0000000
--- a/xen-tools-4.16.0-xenstat.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff --git a/tools/libs/stat/Makefile b/tools/libs/stat/Makefile
-index c99508ae..b54b700c 100644
---- a/tools/libs/stat/Makefile
-+++ b/tools/libs/stat/Makefile
-@@ -51,23 +51,23 @@ install-bindings: install-perl-bindings install-python-bindings
- .PHONY: uninstall-bindings
- uninstall-bindings: uninstall-perl-bindings uninstall-python-bindings
-
--$(BINDINGS): $(SHLIB) $(SHLIB_LINKS) include/xenstat.h
-+$(BINDINGS): $(SHLIB) $(SHLIB_LINKS) ../../include/xenstat.h
-
--SWIG_FLAGS=-module xenstat -Iinclude -I.
-+SWIG_FLAGS=-module xenstat -Iinclude -I. -I../../include/
-
- # Python bindings
--PYTHON_VERSION=$(PYTHON:python%=%)
--PYTHON_FLAGS=-I/usr/include/python$(PYTHON_VERSION) -lpython$(PYTHON_VERSION)
-+PYTHON_FLAGS=`$(PYTHON) -c 'import distutils.sysconfig; print("-I" + distutils.sysconfig.get_python_inc(True) + " " + distutils.sysconfig.get_config_var("BLDLIBRARY"))'`
-+PYTHON_FLAGS+=-Wno-error=missing-prototypes -fPIC -lxenstat
- $(PYMOD): $(PYSRC)
- $(PYSRC): bindings/swig/xenstat.i
- swig -python $(SWIG_FLAGS) -outdir $(@D) -o $(PYSRC) $<
-
- $(PYLIB): $(PYSRC)
-- $(CC) $(CFLAGS) $(LDFLAGS) $(PYTHON_FLAGS) $(SHLIB_LDFLAGS) -lxenstat -o $@ $< $(APPEND_LDFLAGS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(PYTHON_FLAGS) $(SHLIB_LDFLAGS) -o $@ $< $(SHLIB) $(LDLIBS-y) $(APPEND_LDFLAGS)
-
- python-bindings: $(PYLIB) $(PYMOD)
-
--pythonlibdir=$(prefix)/lib/python$(PYTHON_VERSION)/site-packages
-+pythonlibdir=`$(PYTHON) -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())'`
- install-python-bindings: $(PYLIB) $(PYMOD)
- $(INSTALL_PROG) $(PYLIB) $(DESTDIR)$(pythonlibdir)/_xenstat.so
- $(INSTALL_PROG) $(PYMOD) $(DESTDIR)$(pythonlibdir)/xenstat.py
-@@ -91,13 +91,14 @@ $(PERLSRC): bindings/swig/xenstat.i
- swig -perl $(SWIG_FLAGS) -outdir $(@D) -o $(PERLSRC) $<
-
- $(PERLLIB): $(PERLSRC)
-- $(CC) $(CFLAGS) $(LDFLAGS) $(PERL_FLAGS) $(SHLIB_LDFLAGS) -lxenstat -o $@ $< $(APPEND_LDFLAGS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(PERL_FLAGS) $(SHLIB_LDFLAGS) -o $@ $< $(SHLIB) $(LDLIBS-y) $(APPEND_LDFLAGS)
-+
-
- .PHONY: perl-bindings
- perl-bindings: $(PERLLIB) $(PERLMOD)
-
- .PHONY: install-perl-bindings
--perllibdir=$(prefix)/lib/perl5
-+perllibdir=$(prefix)/$(libdir)/perl5
- perlmoddir=$(prefix)/share/perl5
- install-perl-bindings: $(PERLLIB) $(PERLMOD)
- $(INSTALL_PROG) $(PERLLIB) $(DESTDIR)$(perllibdir)/xenstat.so
diff --git a/xen-tools-4.14-ar-cc.patch b/xen-tools-4.17-ar-cc.patch
similarity index 85%
rename from xen-tools-4.14-ar-cc.patch
rename to xen-tools-4.17-ar-cc.patch
index 616f8f4..e1d5ea2 100644
--- a/xen-tools-4.14-ar-cc.patch
+++ b/xen-tools-4.17-ar-cc.patch
@@ -1,24 +1,5 @@
-diff --git a/tools/debugger/gdbsx/gx/Makefile b/tools/debugger/gdbsx/gx/Makefile
-index 3b8467f..dec7bfa 100644
---- a/tools/debugger/gdbsx/gx/Makefile
-+++ b/tools/debugger/gdbsx/gx/Makefile
-@@ -3,6 +3,7 @@ include ../Rules.mk
-
- GX_OBJS := gx_comm.o gx_main.o gx_utils.o gx_local.o
- GX_HDRS := $(wildcard *.h)
-+AR="ar"
-
- .PHONY: all
- all: gx_all.a
-@@ -18,5 +19,5 @@ distclean: clean
- # $(CC) -c $(CFLAGS) -o $@ $<
-
- gx_all.a: $(GX_OBJS) Makefile $(GX_HDRS)
-- ar cr $@ $(GX_OBJS) # problem with ld using -m32
-+ $(AR) cr $@ $(GX_OBJS) # problem with ld using -m32
-
diff --git a/tools/firmware/rombios/Makefile b/tools/firmware/rombios/Makefile
-index 02abdb3..5a9e7fa 100644
+index 02abdb30..14b6b531 100644
--- a/tools/firmware/rombios/Makefile
+++ b/tools/firmware/rombios/Makefile
@@ -2,6 +2,7 @@ XEN_ROOT = $(CURDIR)/../../..
@@ -47,7 +28,7 @@ index 02abdb3..5a9e7fa 100644
-include $(DEPS_INCLUDE)
diff --git a/tools/firmware/vgabios/Makefile b/tools/firmware/vgabios/Makefile
-index 3284812..ca4f42d 100644
+index 3284812f..ca4f42d2 100644
--- a/tools/firmware/vgabios/Makefile
+++ b/tools/firmware/vgabios/Makefile
@@ -40,7 +40,7 @@ release:
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/xen-gentoo-patches:main commit in: /
@ 2023-05-16 9:28 Florian Schmaus
0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2023-05-16 9:28 UTC (permalink / raw
To: gentoo-commits
commit: b4c1a86ca8bc0f0885c8ae5b13a3fd201b24d9f9
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 09:28:31 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue May 16 09:28:37 2023 +0000
URL: https://gitweb.gentoo.org/proj/xen-gentoo-patches.git/commit/?id=b4c1a86c
add xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
| 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
--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
new file mode 100644
index 0000000..170ec2c
--- /dev/null
+++ b/xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch
@@ -0,0 +1,48 @@
+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
+
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/xen-gentoo-patches:main commit in: /
@ 2023-10-19 8:13 Florian Schmaus
0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2023-10-19 8:13 UTC (permalink / raw
To: gentoo-commits
commit: dbce818aec6dbfe9282269f2533f04abfeecb8db
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 08:11:55 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 08:13:00 2023 +0000
URL: https://gitweb.gentoo.org/proj/xen-gentoo-patches.git/commit/?id=dbce818a
Drop xen-tools-m4-ptyfuncs.m4-tools-configure-add-linux-headers-for.patch
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 <AT> gentoo.org>
| 48 ----------------------
1 file changed, 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
-
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-10-19 8:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07 6:40 [gentoo-commits] proj/xen-gentoo-patches:main commit in: / Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2023-10-19 8:13 Florian Schmaus
2023-05-16 9:28 Florian Schmaus
2023-04-17 8:16 Florian Schmaus
2022-07-07 6:40 Florian Schmaus
2022-07-07 6:40 Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox