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" nput type='submit' value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/irc.scm
AgeCommit message (Expand)Author
2019-11-10gnu: limnoria: Update to 2019.11.09 [security fix]....See <https://github.com/ProgVal/Limnoria/wiki/math-eval-vulnerability> (CVE number pending). * gnu/packages/irc.scm (limnoria): Update to 2019.11.09. Reported-by: Val Lorentz <progval@progval.net> Tobias Geerinckx-Rice
2019-09-10gnu: weechat: Update to 2.6....* gnu/packages/irc.scm (weechat): Update to 2.6. [source]: Remove obsolete patch. [inputs]: Replace python-2 with python(@3). [arguments]: Remove ‘wrap’ phase. * gnu/packages/patches/weechat-python.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice
2019-07-03gnu: irssi: Update to 1.1.3. [fixes CVE-2019-13045]....* gnu/packages/irc.scm (irssi): Update to 1.1.3. Leo Famulari
2019-06-20gnu: weechat: update to 2.5...* gnu/packages/irc.scm (weechat): update to 2.5 Signed-off-by: Gábor Boskovits <boskovits@gmail.com> Josh Holland