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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5585F138350 for ; Sun, 3 May 2020 15:05:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 887A1E0A5B; Sun, 3 May 2020 15:05:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D63AE0A5B for ; Sun, 3 May 2020 15:05:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F05334F44C for ; Sun, 3 May 2020 15:05:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BF741C8 for ; Sun, 3 May 2020 15:05:40 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1588518323.2ab08c4cff78184c68bc46730863d6427298e90d.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/files/, net-proxy/squid/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/squid/files/squid-4.11-missing-debug-extra.patch net-proxy/squid/squid-4.11.ebuild X-VCS-Directories: net-proxy/squid/ net-proxy/squid/files/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 2ab08c4cff78184c68bc46730863d6427298e90d X-VCS-Branch: master Date: Sun, 3 May 2020 15:05:40 +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: f85c54df-2eb2-4f29-b733-239769333a3d X-Archives-Hash: 334feb42793874e9be88fe036e9b8b54 commit: 2ab08c4cff78184c68bc46730863d6427298e90d Author: Christophe Lermytte lermytte be> AuthorDate: Sun May 3 09:53:08 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun May 3 15:05:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab08c4c net-proxy/squid: add patch for 4.11 (bug #719510) Patch originates from upstream bug (https://bugs.squid-cache.org/show_bug.cgi?id=5041) Package-Manager: Portage-2.3.90, Repoman-2.3.22 Closes: https://bugs.gentoo.org/719510 Signed-off-by: Christophe Lermytte lermytte.be> Closes: https://github.com/gentoo/gentoo/pull/15621 Signed-off-by: Mikle Kolyada gentoo.org> .../files/squid-4.11-missing-debug-extra.patch | 31 ++++++++++++++++++++++ net-proxy/squid/squid-4.11.ebuild | 1 + 2 files changed, 32 insertions(+) diff --git a/net-proxy/squid/files/squid-4.11-missing-debug-extra.patch b/net-proxy/squid/files/squid-4.11-missing-debug-extra.patch new file mode 100644 index 00000000000..cf4d3ebb9a5 --- /dev/null +++ b/net-proxy/squid/files/squid-4.11-missing-debug-extra.patch @@ -0,0 +1,31 @@ +From 0cbf89e7d266aabacc8651759a8509ebbe0f5c93 Mon Sep 17 00:00:00 2001 +From: Alex Rousskov +Date: Mon, 20 Apr 2020 15:32:48 -0400 +Subject: [PATCH] Bug 5041: Missing Debug::Extra breaks build on hosts with + systemd + +Master commit 6fa8c66 (i.e. Bug 5016 fix) relied on Debug::Extra added +by master commit (ccfbe8f) that was not ported to v4. The port of the +former master commit lacked the required piece of the latter commit. + +The problem is invisible on hosts without a systemd package (that Squid +can find/use) and with Squids explicitly ./configured --without-systemd. +--- + src/Debug.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/Debug.h b/src/Debug.h +index 6eecd01bf9..ddd9e38f8f 100644 +--- a/src/Debug.h ++++ b/src/Debug.h +@@ -99,6 +99,10 @@ class Debug + + /// configures the active debugging context to write syslog ALERT + static void ForceAlert(); ++ ++ /// prefixes each grouped debugs() line after the first one in the group ++ static std::ostream& Extra(std::ostream &os) { return os << "\n "; } ++ + private: + static Context *Current; ///< deepest active context; nil outside debugs() + }; diff --git a/net-proxy/squid/squid-4.11.ebuild b/net-proxy/squid/squid-4.11.ebuild index c63ab235d7d..b0fc4013b7d 100644 --- a/net-proxy/squid/squid-4.11.ebuild +++ b/net-proxy/squid/squid-4.11.ebuild @@ -78,6 +78,7 @@ pkg_pretend() { src_prepare() { eapply "${FILESDIR}/${PN}-4.3-gentoo.patch" + eapply "${FILESDIR}/${PN}-4.11-missing-debug-extra.patch" sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ INSTALL QUICKSTART \ scripts/fileno-to-pathname.pl \