Mercurial > gub
view patches/glib-2.44.1-darwin-x86-zlib.patch @ 6429:145eca92e235
Update glib to 2.44.1 or 2.38.2
freebsd: 2.38.2
others: 2.44.1
author | Masamichi Hosoda <trueroad@trueroad.jp> |
---|---|
date | Sat, 29 Aug 2015 13:44:49 +0900 |
parents | |
children |
line wrap: on
line source
--- glib-2.44.1/gio/gzlibcompressor.c.org 2014-12-20 06:49:48.000000000 +0900 +++ glib-2.44.1/gio/gzlibcompressor.c 2015-08-30 12:07:36.581817200 +0900 @@ -71,7 +71,7 @@ g_zlib_compressor_set_gzheader (GZlibCompressor *compressor) { /* On win32, these functions were not exported before 1.2.4 */ -#if !defined (G_OS_WIN32) || ZLIB_VERNUM >= 0x1240 +#if 0 const gchar *filename; if (compressor->format != G_ZLIB_COMPRESSOR_FORMAT_GZIP || --- glib-2.44.1/gio/gzlibdecompressor.c.org 2014-12-20 06:49:48.000000000 +0900 +++ glib-2.44.1/gio/gzlibdecompressor.c 2015-08-30 12:07:36.597442900 +0900 @@ -74,7 +74,7 @@ g_zlib_decompressor_set_gzheader (GZlibDecompressor *decompressor) { /* On win32, these functions were not exported before 1.2.4 */ -#if !defined (G_OS_WIN32) || ZLIB_VERNUM >= 0x1240 +#if 0 if (decompressor->format != G_ZLIB_COMPRESSOR_FORMAT_GZIP) return;