1 --- misc/glib-2.28.1/gio/gzlibcompressor.c 2011-02-11 16:23:12.000000000 +0100
2 +++ misc/build/glib-2.28.1/gio/gzlibcompressor.c 2011-02-25 15:59:17.000000000 +0100
4 g_zlib_compressor_set_gzheader (GZlibCompressor *compressor)
6 /* On win32, these functions were not exported before 1.2.4 */
7 -#if !defined (G_OS_WIN32) || ZLIB_VERNUM >= 0x1240
8 +#if (!defined (G_OS_WIN32) && ! defined(BUILD_OS_APPLEOSX)) || ZLIB_VERNUM >= 0x1240
11 if (compressor->format != G_ZLIB_COMPRESSOR_FORMAT_GZIP ||
12 --- misc/glib-2.28.1/gio/gzlibdecompressor.c 2011-02-11 16:23:12.000000000 +0100
13 +++ misc/build/glib-2.28.1/gio/gzlibdecompressor.c 2011-02-25 16:00:43.000000000 +0100
15 g_zlib_decompressor_set_gzheader (GZlibDecompressor *decompressor)
17 /* On win32, these functions were not exported before 1.2.4 */
18 -#if !defined (G_OS_WIN32) || ZLIB_VERNUM >= 0x1240
19 +#if (!defined (G_OS_WIN32) && !defined(BUILD_OS_APPLEOSX)) || ZLIB_VERNUM >= 0x1240
20 if (decompressor->format != G_ZLIB_COMPRESSOR_FORMAT_GZIP)
24 *bytes_read = inbuf_size - decompressor->zstream.avail_in;
25 *bytes_written = outbuf_size - decompressor->zstream.avail_out;
27 -#if !defined (G_OS_WIN32) || ZLIB_VERNUM >= 0x1240
28 +#if (!defined (G_OS_WIN32) && !defined(BUILD_OS_APPLEOSX)) || ZLIB_VERNUM >= 0x1240
29 if (decompressor->header_data != NULL &&
30 decompressor->header_data->gzheader.done == 1)
32 --- misc/glib-2.28.1/glib/gatomic.c 2011-02-11 16:23:12.000000000 +0100
33 +++ misc/build/glib-2.28.1/glib/gatomic.c 2011-02-25 15:51:45.000000000 +0100
39 #include "gthreadprivate.h"
42 --- misc/glib-2.28.1/glib/gconvert.c
43 +++ misc/build/glib-2.28.1/glib/gconvert.c
48 -#if defined(USE_LIBICONV_GNU) && !defined (_LIBICONV_H)
49 -#error GNU libiconv in use but included iconv.h not from libiconv
51 -#if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
52 -#error GNU libiconv not in use but included iconv.h is from libiconv
59 --- misc/glib-2.28.1/configure
60 +++ misc/build/glib-2.28.1/configure
66 # Need suitable python path for greport
78 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
82 for ac_header in locale.h
84 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
87 LIBS="$INTLLIBS $LIBS"
91 GETTEXT_PACKAGE=glib20
94 --- misc/glib-2.28.1/Makefile.in
95 +++ misc/build/glib-2.28.1/Makefile.in
97 gio-2.0-uninstalled.pc.in gio-unix-2.0-uninstalled.pc.in
99 ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
100 -SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs
101 +SUBDIRS = . m4macros glib gmodule gthread gobject gio tests
102 DIST_SUBDIRS = $(SUBDIRS) build
103 bin_SCRIPTS = glib-gettextize
105 --- misc/glib-2.28.1/glib/gi18n.h
106 +++ misc/build/glib-2.28.1/glib/gi18n.h
113 -#include <libintl.h>
116 -#define _(String) gettext (String)
117 -#define Q_(String) g_dpgettext (NULL, String, 0)
118 -#define N_(String) (String)
119 -#define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
120 +#define _(String) (String)
121 +#define Q_(String) (String)
122 +#define N_(String) (String)
123 +#define C_(Context,String) (String)
124 #define NC_(Context, String) (String)
126 #endif /* __G_I18N_H__ */
127 --- misc/glib-2.28.1/gio/tests/gsettings.c
128 +++ misc/build/glib-2.28.1/gio/tests/gsettings.c
134 -#include <libintl.h>
136 +#include "glibintl.h"
138 #define G_SETTINGS_ENABLE_BACKEND
139 #include <gio/gsettingsbackend.h>
140 --- misc/glib-2.28.1/gio/tests/gschema-compile.c
141 +++ misc/build/glib-2.28.1/gio/tests/gschema-compile.c
148 -#include <libintl.h>
150 +#include "glibintl.h"