From 4fb9751b3cc95d296bc564377a740d64c7a70361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 26 Dec 2022 10:44:12 +0100 Subject: Add missing PATH_MAX for hurd-i386 --- debian/patches/0115-hurd_PATH_MAX.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/0115-hurd_PATH_MAX.patch (limited to 'debian/patches') diff --git a/debian/patches/0115-hurd_PATH_MAX.patch b/debian/patches/0115-hurd_PATH_MAX.patch new file mode 100644 index 0000000..83d30e5 --- /dev/null +++ b/debian/patches/0115-hurd_PATH_MAX.patch @@ -0,0 +1,21 @@ +Description: Add missing PATH_MAX for hurd-i386 +Author: Jörg Frings-Fürst +Forwarded: not-needed +Last-Update: 2022-12-26 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/include/ipmitool/ipmi_strings.h +=================================================================== +--- trunk.orig/include/ipmitool/ipmi_strings.h ++++ trunk/include/ipmitool/ipmi_strings.h +@@ -36,6 +36,10 @@ + + #define CC_STRING(cc) val2str(cc, completion_code_vals) + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + extern const struct valstr completion_code_vals[]; + extern const struct valstr entity_id_vals[]; + extern const struct valstr entity_device_type_vals[]; diff --git a/debian/patches/series b/debian/patches/series index 4286537..2af2f95 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 0100-fix_buf_overflow.patch 0010-utf8.patch 0110-unpdate_IANA_URL.patch +0115-hurd_PATH_MAX.patch -- cgit v1.2.3