URL: <https://savannah.gnu.org/bugs/?68134>
Summary: Fails to build with
-Werror=implicit-function-declaration
Group: GNU Screen
Submitter: None
Submitted: Mon 09 Mar 2026 11:48:21 AM UTC
Category: Build/Install
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Release: 5.0.1
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 09 Mar 2026 11:48:21 AM UTC By: Anonymous
Debian enables -Werror=implicit-function-declaration in its builds.
glibc fails to build when configure sets HAVE_OPENPTY without providing a
visible prototype.
This patch Pulls in <termios.h>/<pty.h> and declares the fallback prototype so
the build succeeds.
(Patch headers not updated with bug reference/link yet, since I won't know
what that is until submitting this).
Patch also in Debian Salsa:
https://salsa.debian.org/peterdey/screen/-/blob/unstable/debian/patches/90-include-pty-header-when-openpty.patch
Currently being reviewed in this MR:
https://salsa.debian.org/debian/screen/-/merge_requests/4#note_732743
_______________________________________________________
File Attachments:
Name: include-pty-header-when-openpty.patch Size: 1.2KiB
<https://file.savannah.gnu.org/file/include-pty-header-when-openpty.patch?file_id=58323>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-5479f0ac3e1f014845fd281c379bc3ccb7a72723.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68134>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
