From dc581898ce300be2b16f33ebbed4b9f583c69250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 30 Mar 2020 22:22:23 +0200 Subject: Fix missing PATH_MAX; Fix tests on i385 --- debian/patches/0155-hurd_PATH_MAX.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 debian/patches/0155-hurd_PATH_MAX.patch (limited to 'debian/patches/0155-hurd_PATH_MAX.patch') diff --git a/debian/patches/0155-hurd_PATH_MAX.patch b/debian/patches/0155-hurd_PATH_MAX.patch new file mode 100644 index 0000000..13e3392 --- /dev/null +++ b/debian/patches/0155-hurd_PATH_MAX.patch @@ -0,0 +1,15 @@ +Index: trunk/backend/escl/escl_capabilities.c +=================================================================== +--- trunk.orig/backend/escl/escl_capabilities.c ++++ trunk/backend/escl/escl_capabilities.c +@@ -35,6 +35,10 @@ + + #include "../include/sane/saneopts.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 4096 ++#endif ++ + struct cap + { + char *memory; -- cgit v1.2.3 From 16b6a12d9b6bd75f04cc1611a766740642eee55c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 1 Apr 2020 22:31:54 +0200 Subject: Add dep3 header into new patches --- debian/patches/0155-hurd_PATH_MAX.patch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/patches/0155-hurd_PATH_MAX.patch') diff --git a/debian/patches/0155-hurd_PATH_MAX.patch b/debian/patches/0155-hurd_PATH_MAX.patch index 13e3392..b1d6056 100644 --- a/debian/patches/0155-hurd_PATH_MAX.patch +++ b/debian/patches/0155-hurd_PATH_MAX.patch @@ -1,3 +1,6 @@ +Description: Add PATH_MAX if undefined +Author: Jörg Frings-Fürst +Last-Update: 2020-04-01 Index: trunk/backend/escl/escl_capabilities.c =================================================================== --- trunk.orig/backend/escl/escl_capabilities.c -- cgit v1.2.3