Package: mysql-dfsg-5.0 Severity: important Tags: patch Hi,
please find attached an update of the file: debian/patches/86_PATH_MAX.dpatch which is a workaround to unconditional use of PATH_MAX, as described by Michael Banck in #348182. Cheers, -- Cyril Brulebois
Index: build/mysql-dfsg-5.0-5.0.22/debian/patches/86_PATH_MAX.dpatch =================================================================== --- build.orig/mysql-dfsg-5.0-5.0.22/debian/patches/86_PATH_MAX.dpatch 1970-01-01 12:44:32.000000000 +0000 +++ build/mysql-dfsg-5.0-5.0.22/debian/patches/86_PATH_MAX.dpatch 2006-07-17 05:07:42.000000000 +0000 @@ -111,3 +111,29 @@ static const char * delimiter = ";"; // Delimiter in file dump const int FileNameLenC = 256; +--- old/ndb/include/util/File.hpp ++++ old/ndb/include/util/File.hpp +@@ -19,6 +19,10 @@ + + #include <ndb_global.h> + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + /** + * This class provides a file abstraction . It has operations + * to create, read, write and delete a file. +--- old/ndb/src/common/portlib/NdbConfig.c ++++ old/ndb/src/common/portlib/NdbConfig.c +@@ -20,6 +20,10 @@ + #include <NdbMem.h> + #include <basestring_vsnprintf.h> + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + static const char *datadir_path= 0; + + const char *