diff options
author | Matteo Bernardini | 2021-04-10 17:02:43 +0200 |
---|---|---|
committer | Matteo Bernardini | 2021-04-10 17:02:43 +0200 |
commit | 97e000b8ce16626a160e2196627fb0c884dbcfbf (patch) | |
tree | c8bf51d3d2d2b60a4ca906996a8c17ed9cb3ffb9 /multimedia/gst0-plugins-good/patches/01-souptest.patch | |
parent | cf65c072371dbcb73b7ea6d75de27bb6b96899f7 (diff) | |
download | slackbuilds-3a2b8a8aed7f2c7ccd1bda16ca4ca65d13b87e11.tar.gz |
20210410.1 global branch merge.current-20210410.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/gst0-plugins-good/patches/01-souptest.patch')
-rw-r--r-- | multimedia/gst0-plugins-good/patches/01-souptest.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/gst0-plugins-good/patches/01-souptest.patch b/multimedia/gst0-plugins-good/patches/01-souptest.patch new file mode 100644 index 0000000000..a025eb6b98 --- /dev/null +++ b/multimedia/gst0-plugins-good/patches/01-souptest.patch @@ -0,0 +1,28 @@ +From 5765db50a19498e3d1576b4279cb2ca984da9dcd Mon Sep 17 00:00:00 2001 +From: Edward Hervey <bilboed@bilboed.com> +Date: Tue, 23 Sep 2014 09:47:31 +0200 +Subject: check/soup: Temporarily disable G_ENABLE_DIAGNOSTIC + +The SOUP_SERVER_PORT property has been deprecated in recent libsoup +versions. + +diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c +index 33431ac..dfb682b 100644 +--- a/tests/check/elements/souphttpsrc.c ++++ b/tests/check/elements/souphttpsrc.c +@@ -602,7 +602,12 @@ run_server (guint * http_port, guint * https_port) + + *http_port = *https_port = 0; + ++ /* The G_ENABLE_DIAGNOSTIC is temporarily overriden to avoid ++ * property deprecation warnings (for the SOUP_SERVER_PORT ++ * property) */ ++ g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE); + server = soup_server_new (SOUP_SERVER_PORT, port, NULL); ++ g_setenv ("G_ENABLE_DIAGNOSTIC", "1", TRUE); + if (!server) { + GST_DEBUG ("Unable to bind to server port %u", port); + return FALSE; +-- +cgit v0.10.2 + |