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 Updated: 2017-01-18 Updated: 2024-08-30 Update for Screen 5.0.0 diff --git a/screen.h b/screen.h index 308c365..e71bd7f 100644 --- a/screen.h +++ b/screen.h @@ -63,6 +63,22 @@ struct mode { #endif }; +/* + * Define PATH_MAX to 4096 if it's not defined, like on GNU/Hurd + */ + +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + +/* + * similarly for MAXPATHLEN + */ + +#ifndef MAXPATHLEN +#define MAXPATHLEN PATH_MAX +#endif + #include "ansi.h" #include "image.h" lect> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/getmail.scm
AgeCommit message (Expand)Author
2020-01-30services: getmail: Fix spelling of "address"....* gnu/services/getmail (getmail-retriever-configuration): Fix typo. Vagrant Cascadian
2020-01-20services: getmail: Adjust a couple of default configuration values....Change the message-log-syslog and message-log-verbose configuration values to match the Getmail defaults. * gnu/services/getmail.scm (getmail-options-configuration): Change defaults for message-log-syslog and message-log-verbose * doc/guix.texi (Mail Services): Update the Getmail documentation accordingly. Christopher Baines
2020-01-20services: getmail: Fix some configuration documentation strings....* gnu/services/getmail.scm (getmail-retriever-configuration): Specify proper documentation strings for some of the fields. * doc/guix.texi (Mail Services): Update the documentation accordingly. Christopher Baines
2020-01-20services: getmail: Fix stopping the shepherd service....* gnu/services/getmail.scm (getmail-shepherd-services): Add a stop component to the shepherd services. Christopher Baines
2019-10-18Fix documentation of delete_after in the getmail service....* doc/guix.texi (Getmail service): Remove the word `not'. * gnu/services/getmail.scm (getmail-options-configuration): Ditto. Florian Pelz
2019-05-31services: Add getmail....Getmail is a mail retriever written in Python, this commit adds a service-type to run getmail. I'm looking at this, as it's a convinient way of getting mailing list messages in to Patchwork. I initially tried putting this in the (gnu services mail) module, but due to also trying to use the define-configuration pattern, it conflicted with the dovecot service. * gnu/services/getmail.scm: New file. * gnu/local.mk: Add it. * gnu/tests/mail.scm (%getmail-os, %test-getmail): New variables. (run-getmail-test): New procedure. Christopher Baines