You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
4.5 KiB

Index: Makefile.in
--- Makefile.in.orig 2018-02-06 22:25:29.000000000 +0100
+++ Makefile.in 2018-09-10 21:47:26.287987000 +0200
@@ -833,7 +833,7 @@
@ENABLE_INSTALLED_TESTS_TRUE@installed_test_meta_DATA = $(installed_testcases:=.test)
ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
-SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs tests
+SUBDIRS = . m4macros glib gmodule gthread gobject gio po
DIST_SUBDIRS = $(SUBDIRS) build win32
bin_SCRIPTS = glib-gettextize
AM_CPPFLAGS = \
Index: gio/Makefile.in
--- gio/Makefile.in.orig 2018-02-06 22:25:30.000000000 +0100
+++ gio/Makefile.in 2018-09-10 21:47:26.288901000 +0200
@@ -1319,7 +1319,7 @@
@ENABLE_INSTALLED_TESTS_TRUE@installed_test_meta_DATA = $(installed_testcases:=.test)
SUBDIRS = gdbus-2.0/codegen $(am__append_15) $(am__append_19) \
- $(am__append_22) $(am__append_25) . tests $(am__append_28)
+ $(am__append_22) $(am__append_25) . $(am__append_28)
@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@install_ms_lib_cmd = $(INSTALL) gio-2.0.lib $(DESTDIR)$(libdir)
@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gio-2.0.lib
AM_CPPFLAGS = \
Index: gio/glib-compile-schemas.c
--- gio/glib-compile-schemas.c.orig 2018-01-08 22:34:19.000000000 +0100
+++ gio/glib-compile-schemas.c 2018-09-10 21:47:26.289205000 +0200
@@ -1576,7 +1576,7 @@
}
/* Text {{{2 */
static void
-text (GMarkupParseContext *context,
+XXXtext (GMarkupParseContext *context,
const gchar *text,
gsize text_len,
gpointer user_data,
@@ -1757,7 +1757,7 @@
parse_gschema_files (gchar **files,
gboolean strict)
{
- GMarkupParser parser = { start_element, end_element, text };
+ GMarkupParser parser = { start_element, end_element, XXXtext };
ParseState state = { 0, };
const gchar *filename;
GError *error = NULL;
Index: gio/tests/gdbus-peer.c
--- gio/tests/gdbus-peer.c.orig 2017-08-07 16:58:31.000000000 +0200
+++ gio/tests/gdbus-peer.c 2018-09-10 21:47:26.289484000 +0200
@@ -27,6 +27,7 @@
/* for open(2) */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/socket.h>
#include <fcntl.h>
#include <string.h>
Index: gio/tests/org.gtk.test.gschema.xml
Index: gio/xdgmime/xdgmimecache.h
--- gio/xdgmime/xdgmimecache.h.orig 2017-07-14 01:03:39.000000000 +0200
+++ gio/xdgmime/xdgmimecache.h 2018-09-10 21:47:26.289613000 +0200
@@ -44,6 +44,9 @@
#define _xdg_mime_cache_get_icon XDG_RESERVED_ENTRY(cache_get_icon)
#define _xdg_mime_cache_get_generic_icon XDG_RESERVED_ENTRY(cache_get_generic_icon)
#define _xdg_mime_cache_glob_dump XDG_RESERVED_ENTRY(cache_glob_dump)
+#define _xdg_mime_cache_is_valid_mime_type XDG_RESERVED_ENTRY(cache_is_valid_mime_type)
+#define _xdg_mime_cache_mime_type_equal XDG_RESERVED_ENTRY(cache_mime_type_equal)
+#define _xdg_mime_cache_media_type_equal XDG_RESERVED_ENTRY(cache_media_type_equal)
#endif
extern XdgMimeCache **_caches;
Index: glib/gatomic.c
--- glib/gatomic.c.orig 2017-07-14 01:03:39.000000000 +0200
+++ glib/gatomic.c 2018-09-10 21:47:26.289809000 +0200
@@ -19,6 +19,7 @@
#include "config.h"
+#include "gthread.h"
#include "gatomic.h"
/**
Index: glib/gmem.c
--- glib/gmem.c.orig 2018-02-06 16:44:20.000000000 +0100
+++ glib/gmem.c 2018-09-10 21:47:26.289963000 +0200
@@ -38,6 +38,7 @@
#include "gbacktrace.h"
#include "gtestutils.h"
#include "gthread.h"
+#include "gthreadprivate.h"
#include "glib_trace.h"
/* notes on macros:
Index: glib/gthread-posix.c
--- glib/gthread-posix.c.orig 2018-02-06 17:05:56.000000000 +0100
+++ glib/gthread-posix.c 2018-09-10 21:47:26.290251000 +0200
@@ -96,7 +96,7 @@
if G_UNLIKELY (mutex == NULL)
g_thread_abort (errno, "malloc");
-#ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
+#if defined(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP) && !defined(__FreeBSD__)
pthread_mutexattr_init (&attr);
pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
pattr = &attr;
Index: gmodule/gmodule-dl.c
--- gmodule/gmodule-dl.c.orig 2018-01-08 22:34:19.000000000 +0100
+++ gmodule/gmodule-dl.c 2018-09-10 21:47:26.290533000 +0200
@@ -106,6 +106,7 @@
static gpointer
_g_module_self (void)
{
+#ifndef __FreeBSD__
gpointer handle;
/* to query symbols from the program itself, special link options
@@ -128,6 +129,9 @@
g_module_set_error (fetch_dlerror (TRUE));
return handle;
+#else
+ return RTLD_DEFAULT;
+#endif
}
static void