Mercurial > mxe-octave
view src/bzip2-1-fixes.patch @ 4545:0e56fe2d2ef5
Makefile.in: add update-build-tools target
* Makefile.in: add update-build-tools target
* src/build-autoconf.mk, src/build-automake.mk,
src/build-bison.mk, src/build-gawk.mk,
src/build-gcc.mk, src/build-gettext.mk,
src/build-gperf.mk, src/build-m4.mk,
src/build-texinfo.mk, src/build-libtool.mk
: update PKG_UPDATE for getting latest version from gnu.org
* src/build-cmake.mk, src/build-flex.mk,
src/build-lzip.mk, src/build-pkg-config.mk,
src/pkg-config.mk, src/build-scons.mk
: add implemented PKG_UPDATE macro
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 23 Nov 2017 12:05:29 -0500 |
parents | 6409a12147fd |
children | 6a63ec73029d |
line wrap: on
line source
This file is part of MXE. See index.html for further information. diff -uNr bzip2-1.0.6.orig/bzip2.c bzip2-1.0.6/bzip2.c --- bzip2-1.0.6.orig/bzip2.c 2010-09-11 01:04:53.000000000 +0200 +++ bzip2-1.0.6/bzip2.c 2013-01-30 16:24:00.170396872 +0100 @@ -128,7 +128,7 @@ #if BZ_LCCWIN32 # include <io.h> # include <fcntl.h> -# include <sys\stat.h> +# include <sys/stat.h> # define NORETURN /**/ # define PATH_SEP '\\' diff -uNr bzip2-1.0.6.orig/bzlib.h bzip2-1.0.6/bzlib.h --- bzip2-1.0.6.orig/bzlib.h 2010-09-11 01:08:42.000000000 +0200 +++ bzip2-1.0.6/bzlib.h 2013-01-30 16:22:10.514401460 +0100 @@ -75,7 +75,7 @@ #include <stdio.h> #endif -#ifdef _WIN32 +#if 0 # include <windows.h> # ifdef small /* windows.h define small to char */ @@ -116,7 +116,7 @@ BZ_EXTERN int BZ_API(BZ2_bzDecompressInit) ( bz_stream *strm, int verbosity, - int small + int small_ ); BZ_EXTERN int BZ_API(BZ2_bzDecompress) ( @@ -140,7 +140,7 @@ int* bzerror, FILE* f, int verbosity, - int small, + int small_, void* unused, int nUnused ); @@ -216,7 +216,7 @@ unsigned int* destLen, char* source, unsigned int sourceLen, - int small, + int small_, int verbosity );