Accepting request 1073093 from GNOME:Next
- Add fa1546614190942ab266832e7470a6debf8c32cb.patch: test: Port to g_inet_address_new_loopback. OBS-URL: https://build.opensuse.org/request/show/1073093 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp-igd?expand=0&rev=54
This commit is contained in:
parent
afe6d13251
commit
c63af315c5
34
fa1546614190942ab266832e7470a6debf8c32cb.patch
Normal file
34
fa1546614190942ab266832e7470a6debf8c32cb.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From fa1546614190942ab266832e7470a6debf8c32cb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= <olivier.crete@collabora.com>
|
||||
Date: Sun, 6 Nov 2022 16:12:29 -0500
|
||||
Subject: [PATCH] test: Port to g_inet_address_new_loopback
|
||||
|
||||
---
|
||||
tests/gtest/gupnp-simple-igd.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/gtest/gupnp-simple-igd.c b/tests/gtest/gupnp-simple-igd.c
|
||||
index ec770ca..1f30b27 100644
|
||||
--- a/tests/gtest/gupnp-simple-igd.c
|
||||
+++ b/tests/gtest/gupnp-simple-igd.c
|
||||
@@ -290,13 +290,16 @@ run_gupnp_simple_igd_test (GMainContext *mainctx, GUPnPSimpleIgd *igd,
|
||||
GUPnPDeviceInfo *subdev2;
|
||||
const gchar *xml_path = ".";
|
||||
GError *error = NULL;
|
||||
+ GInetAddress *loopback = NULL;
|
||||
|
||||
g_signal_connect (igd, "context-available",
|
||||
G_CALLBACK (ignore_non_localhost), NULL);
|
||||
|
||||
if (mainctx)
|
||||
g_main_context_push_thread_default (mainctx);
|
||||
- context = gupnp_context_new ("lo", 0, NULL);
|
||||
+ loopback = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4);
|
||||
+ context = gupnp_context_new_for_address (loopback, 0, GSSDP_UDA_VERSION_1_0, NULL);
|
||||
+ g_object_unref (loopback);
|
||||
g_assert (context);
|
||||
|
||||
if (g_getenv ("XML_PATH"))
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 09:06:37 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add fa1546614190942ab266832e7470a6debf8c32cb.patch: test: Port to
|
||||
g_inet_address_new_loopback.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 27 21:54:20 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gupnp-igd
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,6 +27,8 @@ Source: http://download.gnome.org/sources/gupnp-igd/1.2/%{name}-%{versio
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM 79a1e4cf8c256132978a1d8ab718c8ad132386de.patch -- Port to GUPnP 1.6 API
|
||||
Patch0: 79a1e4cf8c256132978a1d8ab718c8ad132386de.patch
|
||||
# PATCH-FIX-UPSTREAM fa1546614190942ab266832e7470a6debf8c32cb.patch -- test: Port to g_inet_address_new_loopback
|
||||
Patch1: fa1546614190942ab266832e7470a6debf8c32cb.patch
|
||||
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
|
Loading…
Reference in New Issue
Block a user