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 A133215838C for ; Tue, 16 Jan 2024 03:19:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC303E2B87; Tue, 16 Jan 2024 03:19:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 8F7A2E2B87 for ; Tue, 16 Jan 2024 03:19:26 +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 81EDA343296 for ; Tue, 16 Jan 2024 03:19:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE3A513E9 for ; Tue, 16 Jan 2024 03:19:23 +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: <1705374879.6a20a163ee9cabbe8fc4c6903abdbf1f5baf230b.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/libxml2-2.12.patch net-libs/libsoup/libsoup-2.74.3.ebuild X-VCS-Directories: net-libs/libsoup/files/ net-libs/libsoup/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6a20a163ee9cabbe8fc4c6903abdbf1f5baf230b X-VCS-Branch: master Date: Tue, 16 Jan 2024 03:19:23 +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: 278620c3-22c8-44a0-b6c6-6eacc924018c X-Archives-Hash: 2006e275417acff68eb4111c7fd4a15a commit: 6a20a163ee9cabbe8fc4c6903abdbf1f5baf230b Author: Sam James gentoo org> AuthorDate: Tue Jan 16 03:02:42 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 16 03:14:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a20a163 net-libs/libsoup: fix build w/ libxml2-2.12 Closes: https://bugs.gentoo.org/917556 Signed-off-by: Sam James gentoo.org> net-libs/libsoup/files/libxml2-2.12.patch | 36 +++++++++++++++++++++++++++++++ net-libs/libsoup/libsoup-2.74.3.ebuild | 4 +++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/net-libs/libsoup/files/libxml2-2.12.patch b/net-libs/libsoup/files/libxml2-2.12.patch new file mode 100644 index 000000000000..3190eeb6301c --- /dev/null +++ b/net-libs/libsoup/files/libxml2-2.12.patch @@ -0,0 +1,36 @@ +https://bugs.gentoo.org/917556 +https://gitlab.gnome.org/GNOME/libsoup/-/commit/ced3c5d8cad0177b297666343f1561799dfefb0d + +From ced3c5d8cad0177b297666343f1561799dfefb0d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 22 Nov 2023 18:49:10 -0800 +Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17 + +Fixes build errors about missing function prototypes with clang-17 + +Fixes +| ../libsoup-2.74.3/libsoup/soup-xmlrpc-old.c:512:8: error: call to undeclared function 'xmlParseMemory'; ISO C99 and later do not support implicit function declarations + +Signed-off-by: Khem Raj +--- a/libsoup/soup-xmlrpc-old.c ++++ b/libsoup/soup-xmlrpc-old.c +@@ -11,6 +11,7 @@ + + #include + ++#include + #include + + #include "soup-xmlrpc-old.h" +--- a/libsoup/soup-xmlrpc.c ++++ b/libsoup/soup-xmlrpc.c +@@ -17,6 +17,7 @@ + + #include + #include ++#include + #include + #include "soup-xmlrpc.h" + #include "soup.h" +-- +GitLab diff --git a/net-libs/libsoup/libsoup-2.74.3.ebuild b/net-libs/libsoup/libsoup-2.74.3.ebuild index 7e1740520995..4287161e6fb3 100644 --- a/net-libs/libsoup/libsoup-2.74.3.ebuild +++ b/net-libs/libsoup/libsoup-2.74.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,6 +53,8 @@ BDEPEND=" PATCHES=( # Disable apache tests until they are usable on Gentoo, bug #326957 "${FILESDIR}"/disable-apache-tests.patch + # libxml2-2.12 fix, bug #917556 + "${FILESDIR}"/libxml2-2.12.patch ) src_prepare() {