Workaround for PATH_MAX usage on the Hurd. Taken from https://salsa.debian.org/debian/screen/-/blob/master/debian/patches/61-default-PATH_MAX-if-undefined-for-hurd.patch Description: Set PATH_MAX to 4096 if undefined Fixes FTBFS since 4.4.0 on GNU/Hurd. Updated to add one more occurrence for 4.5.0. Author: Axel Beckert Bug: https://savannah.gnu.org/bugs/?50089 Last-Updated: 2017-01-18 --- a/tty.sh +++ b/tty.sh @@ -1478,6 +1478,13 @@ return 0; } +/* + * Define PATH_MAX to 4096 if it's not defined, like on GNU/Hurd + */ + +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif int CheckTtyname (char *tty) { --- a/screen.h +++ b/screen.h @@ -109,6 +109,13 @@ # define DEFAULT_BUFFERFILE "/tmp/screen-exchange" #endif +/* + * Define PATH_MAX to 4096 if it's not defined, like on GNU/Hurd + */ + +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif #if defined(hpux) && !(defined(VSUSP) && defined(VDSUSP) && defined(VWERASE) && defined(VLNEXT)) # define HPUX_LTCHARS_HACK about/'>aboutsummaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Expand)Author
2020-10-22git: Require Guile-Git 0.3.0 or later....Ludovic Courtès
2020-09-08Remove (guix json) and require Guile-JSON 4.3.0+....Ludovic Courtès
2020-08-29build: Remove check for Guile 2.2.1 bug....Ludovic Courtès
2020-08-24Use "guile-zlib" and "guile-lzlib" instead of (guix config)....Mathieu Othacehe
2020-07-20ssh: Speed up RPCs by using #:nodelay....Lars-Dominik Braun
2020-05-28doc: Remove explicit support for mips64el-linux....Efraim Flashner
2020-05-28maint: Check whether Guile-Gcrypt is recent enough....Ludovic Courtès
2020-02-22build: Depend on guile-ssh 0.12.0...Lars-Dominik Braun
2019-08-17build: 'GUIX_CHECK_GUILE_JSON' really checks for Guile-JSON 3.x....Ludovic Courtès
2019-07-25maint: Switch to Guile-JSON 3.x....Ludovic Courtès
2019-05-06Add (guix lzlib)....Pierre Neidhardt
2018-11-23Update Guile-SQLite3 URL everywhere....Ludovic Courtès