diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-04-25 15:39:43 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-04-25 15:39:43 +0200 |
commit | 1edcc5bf1014e9f83eaee4e5f241cb53b8799297 (patch) | |
tree | 11c5c244c4a4da4784440ebc3f54b69e39e6b7eb /debian/patches | |
parent | a30a5b85d80e5ab58fe7241e8f337492f0c949eb (diff) |
Add HOST_NAME_MAX to debian/patches/0155-hurd_PATH_MAX.patch
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0155-hurd_PATH_MAX.patch | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/debian/patches/0155-hurd_PATH_MAX.patch b/debian/patches/0155-hurd_PATH_MAX.patch index 88a2614..4a76248 100644 --- a/debian/patches/0155-hurd_PATH_MAX.patch +++ b/debian/patches/0155-hurd_PATH_MAX.patch @@ -1,6 +1,6 @@ Description: Add PATH_MAX if undefined Author: Jörg Frings-Fürst <debian@jff.email> -Last-Update: 2020-04-01 +Last-Update: 2020-04-17 Index: trunk/backend/escl/escl_capabilities.c =================================================================== --- trunk.orig/backend/escl/escl_capabilities.c @@ -345,3 +345,20 @@ Index: trunk/backend/test.c static SANE_Bool inited = SANE_FALSE; static SANE_Device **sane_device_list = 0; static Test_Device *first_test_device = 0; +Index: trunk/backend/pixma/pixma_bjnp.c +=================================================================== +--- trunk.orig/backend/pixma/pixma_bjnp.c ++++ trunk/backend/pixma/pixma_bjnp.c +@@ -110,6 +110,12 @@ + # define SSIZE_MAX LONG_MAX + #endif + ++#ifndef HOST_NAME_MAX ++ #define HOST_NAME_MAX 64 ++#endif ++ ++ ++ + /* static data */ + static bjnp_device_t device[BJNP_NO_DEVICES]; + static int bjnp_no_devices = 0; |