From f6de1ae168071e14ca518c8830a4dfe002ea9055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 11 Jan 2016 00:38:05 +0100 Subject: Rename patches --- debian/patches/0115_hurd_PATH_MAX.patch | 81 +++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 debian/patches/0115_hurd_PATH_MAX.patch (limited to 'debian/patches/0115_hurd_PATH_MAX.patch') diff --git a/debian/patches/0115_hurd_PATH_MAX.patch b/debian/patches/0115_hurd_PATH_MAX.patch new file mode 100644 index 0000000..3775edc --- /dev/null +++ b/debian/patches/0115_hurd_PATH_MAX.patch @@ -0,0 +1,81 @@ +Description: Add on hurdi386 missing PATH_MAX +Author: Jörg Frings-Fürst +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762774 +Last-Update: 2014-09-25 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/numlib/numsup.c +=================================================================== +--- trunk.orig/numlib/numsup.c ++++ trunk/numlib/numsup.c +@@ -47,6 +47,10 @@ + + /* Globals */ + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + char *exe_path = "\000"; /* Directory executable resides in ('/' dir separator) */ + //char *error_program = "Unknown"; /* Name to report as responsible for an error */ + +Index: trunk/spectro/mongoose.c +=================================================================== +--- trunk.orig/spectro/mongoose.c ++++ trunk/spectro/mongoose.c +@@ -46,6 +46,10 @@ + added to /usr/lib/firewalld/services + */ + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + #if defined(_WIN32) + #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005 + #else +Index: trunk/spectro/usbio_lx.c +=================================================================== +--- trunk.orig/spectro/usbio_lx.c ++++ trunk/spectro/usbio_lx.c +@@ -33,6 +33,10 @@ + #define poll_x poll + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + /* USB descriptors are little endian */ + + /* Take a word sized return buffer, and convert it to an unsigned int */ +Index: trunk/spectro/usbio_nt.c +=================================================================== +--- trunk.orig/spectro/usbio_nt.c ++++ trunk/spectro/usbio_nt.c +@@ -31,6 +31,10 @@ + #define LIBUSBW1_PATH_MAX 512 + #define LIBUSBW1_DEFAULT_TIMEOUT 5000 + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + /* USB descriptors are little endian */ + + /* Take a word sized return buffer, and convert it to an unsigned int */ +Index: trunk/spectro/hidio.c +=================================================================== +--- trunk.orig/spectro/hidio.c ++++ trunk/spectro/hidio.c +@@ -100,6 +100,10 @@ + #endif + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + #if defined(NT) + + /* Declartions to enable HID access without using the DDK */ -- cgit v1.2.3