root@localhost:~/t2-trunk/package# cat
../package/archiver/gzip/MB_LEN_MAX.patch
--- gzip-1.9/lib/chdir-long.h.vanilla 2018-12-17 16:19:09.782715314 -0600
+++ gzip-1.9/lib/chdir-long.h 2018-12-17 16:19:24.898525282 -0600
@@ -15,7 +15,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/* Written by Jim Meyering. */
-
+#define MB_LEN_MAX 16
#include <unistd.h>
#include <limits.h>
--- gzip-1.9/lib/vasnprintf.h.vanilla 2018-12-17 16:20:50.425450063 -0600
+++ gzip-1.9/lib/vasnprintf.h 2018-12-17 16:21:13.205163683 -0600
@@ -16,7 +16,7 @@
#ifndef _VASNPRINTF_H
#define _VASNPRINTF_H
-
+#define MB_LEN_MAX 16
/* Get va_list. */
#include <stdarg.h>
--- gzip-1.9/lib/openat-priv.h.vanilla 2018-12-17 16:20:06.841997981 -0600
+++ gzip-1.9/lib/openat-priv.h 2018-12-17 16:20:31.237691286 -0600
@@ -19,7 +19,7 @@
#ifndef _GL_HEADER_OPENAT_PRIV
#define _GL_HEADER_OPENAT_PRIV
-
+#define MB_LEN_MAX 16
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
--- gzip-1.9/gzip.h.vanilla 2018-12-17 16:21:55.308634371 -0600
+++ gzip-1.9/gzip.h 2018-12-17 16:22:20.116322496 -0600
@@ -30,7 +30,7 @@
# define __attribute__(x)
# endif
#endif
-
+#define MB_LEN_MAX 16
/* I don't like nested includes, but the following headers are used
* too often
*/
--- gzip-1.9/util.c.vanilla 2018-12-17 16:22:47.999971951 -0600
+++ gzip-1.9/util.c 2018-12-17 16:23:05.511751798 -0600
@@ -18,6 +18,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+#define MB_LEN_MAX 16
#include <config.h>
#include <ctype.h>
#include <errno.h>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2