diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:34:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:34:44 +0000 |
commit | b08293e544fb5eb5e004f02139e4aa06660395b6 (patch) | |
tree | 4b00360b4f034158a87d15d0d6dd797c42270717 /debian/patches/watch_hostname_max_define | |
parent | Adding upstream version 2:4.0.4. (diff) | |
download | procps-b08293e544fb5eb5e004f02139e4aa06660395b6.tar.xz procps-b08293e544fb5eb5e004f02139e4aa06660395b6.zip |
Adding debian version 2:4.0.4-4.debian/2%4.0.4-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/watch_hostname_max_define')
-rw-r--r-- | debian/patches/watch_hostname_max_define | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/watch_hostname_max_define b/debian/patches/watch_hostname_max_define new file mode 100644 index 0000000..4bb59b7 --- /dev/null +++ b/debian/patches/watch_hostname_max_define @@ -0,0 +1,13 @@ +--- a/src/watch.c ++++ b/src/watch.c +@@ -63,6 +63,10 @@ + # define isprint(x) ( (x>=' '&&x<='~') || (x>=0xa0) ) + #endif + ++#ifndef HOST_NAME_MAX ++#define HOST_NAME_MAX 64 ++#endif ++ + /* Boolean command line options */ + static int flags; + #define WATCH_DIFF (1 << 1) |