From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AFB9615A7D9 for ; Sun, 19 Mar 2023 00:25:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A83DAE0896; Sun, 19 Mar 2023 00:25:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7713EE0896 for ; Sun, 19 Mar 2023 00:25:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89E50335D35 for ; Sun, 19 Mar 2023 00:25:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F36958B7 for ; Sun, 19 Mar 2023 00:25:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679185493.4c8133327f5ef5aa53610089f13c2c5ea7c3976c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsoup/, net-libs/libsoup/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libsoup/files/strict-prototypes.patch net-libs/libsoup/files/unsigned-char-http2.patch net-libs/libsoup/libsoup-3.4.0-r1.ebuild net-libs/libsoup/libsoup-3.4.0.ebuild X-VCS-Directories: net-libs/libsoup/ net-libs/libsoup/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4c8133327f5ef5aa53610089f13c2c5ea7c3976c X-VCS-Branch: master Date: Sun, 19 Mar 2023 00:25:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0400c0a-0ca9-415c-a22d-d1cbbaea6775 X-Archives-Hash: bdc7f29f1339a2c4b15ee642b16b83d1 commit: 4c8133327f5ef5aa53610089f13c2c5ea7c3976c Author: Sam James gentoo org> AuthorDate: Sun Mar 19 00:23:33 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 19 00:24:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c813332 net-libs/libsoup: fix HTTP/2 on unsigned char arches, -Wstrict-prototype Signed-off-by: Sam James gentoo.org> net-libs/libsoup/files/strict-prototypes.patch | 20 ++++++++++++++++++++ net-libs/libsoup/files/unsigned-char-http2.patch | 21 +++++++++++++++++++++ ...libsoup-3.4.0.ebuild => libsoup-3.4.0-r1.ebuild} | 4 ++++ 3 files changed, 45 insertions(+) diff --git a/net-libs/libsoup/files/strict-prototypes.patch b/net-libs/libsoup/files/strict-prototypes.patch new file mode 100644 index 000000000000..e9a84257ccb5 --- /dev/null +++ b/net-libs/libsoup/files/strict-prototypes.patch @@ -0,0 +1,20 @@ +https://gitlab.gnome.org/GNOME/libsoup/-/commit/146f1c96f741fb9ab62d74d99585b2e859f6cb5f + +From 146f1c96f741fb9ab62d74d99585b2e859f6cb5f Mon Sep 17 00:00:00 2001 +From: Patrick Griffis +Date: Fri, 17 Mar 2023 19:10:40 -0500 +Subject: [PATCH] Fix strict-prototype warning + +--- a/libsoup/http2/soup-body-input-stream-http2.c ++++ b/libsoup/http2/soup-body-input-stream-http2.c +@@ -72,7 +72,7 @@ static guint signals [LAST_SIGNAL] = { 0 }; + * Returns: a new #GInputStream + */ + GInputStream * +-soup_body_input_stream_http2_new () ++soup_body_input_stream_http2_new (void) + { + return G_INPUT_STREAM (g_object_new (SOUP_TYPE_BODY_INPUT_STREAM_HTTP2, NULL)); + } +-- +GitLab diff --git a/net-libs/libsoup/files/unsigned-char-http2.patch b/net-libs/libsoup/files/unsigned-char-http2.patch new file mode 100644 index 000000000000..ceee9d360e4b --- /dev/null +++ b/net-libs/libsoup/files/unsigned-char-http2.patch @@ -0,0 +1,21 @@ +https://gitlab.gnome.org/GNOME/libsoup/-/commit/d1509188ebd2219db1a147e9d77ffd5b4d161a2e + +From d1509188ebd2219db1a147e9d77ffd5b4d161a2e Mon Sep 17 00:00:00 2001 +From: Patrick Griffis +Date: Fri, 17 Mar 2023 19:05:35 -0500 +Subject: [PATCH] Fix regression breaking HTTP/2 on platforms with unsigned + char + +--- a/libsoup/soup-connection-manager.c ++++ b/libsoup/soup-connection-manager.c +@@ -378,7 +378,7 @@ static SoupConnection * + soup_connection_manager_get_connection_locked (SoupConnectionManager *manager, + SoupMessageQueueItem *item) + { +- static gchar env_force_http1 = -1; ++ static int env_force_http1 = -1; + SoupMessage *msg = item->msg; + gboolean need_new_connection; + SoupConnection *conn; +-- +GitLab diff --git a/net-libs/libsoup/libsoup-3.4.0.ebuild b/net-libs/libsoup/libsoup-3.4.0-r1.ebuild similarity index 94% rename from net-libs/libsoup/libsoup-3.4.0.ebuild rename to net-libs/libsoup/libsoup-3.4.0-r1.ebuild index 73364f0a5c02..af164f1c1964 100644 --- a/net-libs/libsoup/libsoup-3.4.0.ebuild +++ b/net-libs/libsoup/libsoup-3.4.0-r1.ebuild @@ -54,6 +54,10 @@ BDEPEND=" PATCHES=( # Disable apache tests until they are usable on Gentoo, bug #326957 "${FILESDIR}"/disable-apache-tests.patch + # Upstream patch to fix HTTP/2 on platforms w/ unsigned char + "${FILESDIR}"/unsigned-char-http2.patch + # Upstream patch to fix -Wstrict-prototypes + "${FILESDIR}"/strict-prototypes.patch ) src_prepare() {