Re: Bug#900718: rsyslog: FTBFS on hurd-i386
- To: debian-hurd@lists.debian.org
- Cc: 900718@bugs.debian.org
- Subject: Re: Bug#900718: rsyslog: FTBFS on hurd-i386
- From: Samuel Thibault <sthibault@debian.org>
- Date: Sun, 4 Nov 2018 20:04:09 +0100
- Message-id: <[🔎] 20181104190409.54bygl5o2dgucexg@function>
- Mail-followup-to: debian-hurd@lists.debian.org, 900718@bugs.debian.org
- In-reply-to: <20180611223515.zd2iezt2kf27er2e@var.youpi.perso.aquilenet.fr>
- References: <e1cc98c4-4ee9-d42a-5cd8-c9444e12f15f@debian.org> <20180603225026.2v63dc7sjvpzyit7@var.youpi.perso.aquilenet.fr> <20180607113126.m2crx5b5sqqpxv5h@var.youpi.perso.aquilenet.fr> <3a512793-53a8-420d-ab3b-1c21dcd6114c@debian.org> <20180603225026.2v63dc7sjvpzyit7@var.youpi.perso.aquilenet.fr> <20180607113726.azvmcjrrty4yy2ek@var.youpi.perso.aquilenet.fr> <8b5e5bdc-ad0a-3ec7-089e-6d137b65fcd1@debian.org> <20180603225026.2v63dc7sjvpzyit7@var.youpi.perso.aquilenet.fr> <20180611223515.zd2iezt2kf27er2e@var.youpi.perso.aquilenet.fr>
Hello,
Samuel Thibault, le mar. 12 juin 2018 00:35:15 +0200, a ecrit:
> Michael Biebl, le jeu. 07 juin 2018 13:40:45 +0200, a ecrit:
> > Am 07.06.2018 um 13:37 schrieb Samuel Thibault:
> > > Michael Biebl, le jeu. 07 juin 2018 13:34:48 +0200, a ecrit:
> > >> Anyway, such patches should best be sent upstream.
> > >
> > > We don't have the manpower to chase all upstream bugtrackers and
> > > whatnot.
> >
> > Same is true for me. I don't have the man power to keep maintaining
> > distro specific patches which belong upstream or playing bug proxy.
>
> So, does anybody on debian-hurd have time for upstreaming?
So, can anybody on debian-hurd *please* take some time to have a look at
this?
The more people contribute to this kind of work, the less time I have
to spend on it, the more time I have to spend on more difficult issues
(llvm-toolchain, rustc, php7.3, etc.)
I have attached a refreshed patch.
Samuel
Index: rsyslog-8.34.0/runtime/modules.c
===================================================================
--- rsyslog-8.34.0.orig/runtime/modules.c
+++ rsyslog-8.34.0/runtime/modules.c
@@ -51,7 +51,7 @@
#include <unistd.h>
#include <sys/file.h>
-#ifndef PATH_MAX
+#if !defined(PATH_MAX) && defined(MAXPATHLEN)
# define PATH_MAX MAXPATHLEN
#endif
Index: rsyslog-8.34.0/plugins/imfile/imfile.c
===================================================================
--- rsyslog-8.34.0.orig/plugins/imfile/imfile.c
+++ rsyslog-8.34.0/plugins/imfile/imfile.c
@@ -66,6 +66,10 @@
#include <regex.h>
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
MODULE_TYPE_INPUT
MODULE_TYPE_NOKEEP
MODULE_CNFNAME("imfile")
Reply to: