From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/files/, net-proxy/squid/
Date: Sun, 3 May 2020 15:05:40 +0000 (UTC) [thread overview]
Message-ID: <1588518323.2ab08c4cff78184c68bc46730863d6427298e90d.zlogene@gentoo> (raw)
commit: 2ab08c4cff78184c68bc46730863d6427298e90d
Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
AuthorDate: Sun May 3 09:53:08 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> 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 <gentoo <AT> lermytte.be>
Closes: https://github.com/gentoo/gentoo/pull/15621
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
| 31 ++++++++++++++++++++++
net-proxy/squid/squid-4.11.ebuild | 1 +
2 files changed, 32 insertions(+)
--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 <rousskov@measurement-factory.com>
+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 \
next reply other threads:[~2020-05-03 15:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 15:05 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-01 19:26 [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/files/, net-proxy/squid/ Andreas K. Hüttel
2024-10-21 9:16 Sam James
2023-12-07 6:21 Arthur Zamarin
2023-08-09 4:49 Sam James
2023-06-18 4:25 Sam James
2023-03-23 7:20 Sam James
2022-09-23 7:42 Sam James
2022-03-22 0:50 Sam James
2022-02-19 10:32 Mikle Kolyada
2019-05-03 12:35 Mikle Kolyada
2017-06-16 6:26 Eray Aslan
2016-04-18 15:41 Eray Aslan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588518323.2ab08c4cff78184c68bc46730863d6427298e90d.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox