diff options
Diffstat (limited to 'recipes/glib-networking/0004-libproxy-proxy-module-Mark-plugin-functions-as-expor.patch')
-rw-r--r-- | recipes/glib-networking/0004-libproxy-proxy-module-Mark-plugin-functions-as-expor.patch | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/recipes/glib-networking/0004-libproxy-proxy-module-Mark-plugin-functions-as-expor.patch b/recipes/glib-networking/0004-libproxy-proxy-module-Mark-plugin-functions-as-expor.patch deleted file mode 100644 index 5054d484..00000000 --- a/recipes/glib-networking/0004-libproxy-proxy-module-Mark-plugin-functions-as-expor.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 16249aa6a36e75a5e9cb1587dc05fa97da61cdbe Mon Sep 17 00:00:00 2001 -From: "L. E. Segovia" <amy@centricular.com> -Date: Tue, 5 Mar 2024 16:39:12 -0300 -Subject: [PATCH 4/5] libproxy-proxy-module: Mark plugin functions as exports - on Windows - -Related: #185 ---- - proxy/libproxy/glibproxyresolver.h | 4 ++++ - proxy/libproxy/libproxy-module.c | 7 ++++--- - 2 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/proxy/libproxy/glibproxyresolver.h b/proxy/libproxy/glibproxyresolver.h -index c27cdb3..d5b481d 100644 ---- a/proxy/libproxy/glibproxyresolver.h -+++ b/proxy/libproxy/glibproxyresolver.h -@@ -26,12 +26,16 @@ - #include <glib-object.h> - #include <gio/gio.h> - -+#include "visibility.h" -+ - G_BEGIN_DECLS - - #define G_TYPE_LIBPROXY_RESOLVER (g_libproxy_resolver_get_type ()) - -+GLIB_NETWORKING_EXPORT - G_DECLARE_FINAL_TYPE (GLibproxyResolver, g_libproxy_resolver, G, LIBPROXY_RESOLVER, GObject) - -+GLIB_NETWORKING_EXPORT - void g_libproxy_resolver_register (GIOModule *module); - - G_END_DECLS -diff --git a/proxy/libproxy/libproxy-module.c b/proxy/libproxy/libproxy-module.c -index 8fcaf9e..b1e9210 100644 ---- a/proxy/libproxy/libproxy-module.c -+++ b/proxy/libproxy/libproxy-module.c -@@ -26,9 +26,10 @@ - #include <glib/gi18n-lib.h> - - #include "glibproxyresolver.h" -+#include "visibility.h" - - --void -+GLIB_NETWORKING_EXPORT void - g_io_libproxy_load (GIOModule *module) - { - gchar *locale_dir; -@@ -51,12 +52,12 @@ g_io_libproxy_load (GIOModule *module) - g_free (locale_dir); - } - --void -+GLIB_NETWORKING_EXPORT void - g_io_libproxy_unload (GIOModule *module) - { - } - --gchar ** -+GLIB_NETWORKING_EXPORT gchar ** - g_io_libproxy_query (void) - { - gchar *eps[] = { --- -2.42.0.windows.2 - |