diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-24 20:33:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-24 20:33:52 +0200 |
commit | 07a156795982a897c4a30aa154e22038970af90f (patch) | |
tree | a4da545a4a9a41d43b265325da78a1920e209d13 /dev-qt/qtnetwork | |
parent | sys-kernel/gentoo-sources: add 6.3.4 (diff) | |
download | gentoo-07a156795982a897c4a30aa154e22038970af90f.tar.gz gentoo-07a156795982a897c4a30aa154e22038970af90f.tar.bz2 gentoo-07a156795982a897c4a30aa154e22038970af90f.zip |
dev-qt/qtnetwork: Fix build with >=net-libs/libproxy-0.5.1
Bug: https://bugs.gentoo.org/907047
Closes: https://bugs.gentoo.org/906879
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtnetwork')
-rw-r--r-- | dev-qt/qtnetwork/files/qtnetwork-5.15.9-libproxy-0.5-pkgconfig.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-qt/qtnetwork/files/qtnetwork-5.15.9-libproxy-0.5-pkgconfig.patch b/dev-qt/qtnetwork/files/qtnetwork-5.15.9-libproxy-0.5-pkgconfig.patch new file mode 100644 index 000000000000..d24553182e7d --- /dev/null +++ b/dev-qt/qtnetwork/files/qtnetwork-5.15.9-libproxy-0.5-pkgconfig.patch @@ -0,0 +1,32 @@ +From df809fd0b505b61d718fe1dc7fe19a79f9336cd9 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Wed, 24 May 2023 20:21:33 +0200 +Subject: [PATCH] Use pkgconfig in order to find libproxy configuration + +>=libproxy-0.5 moved proxy.h into a non-default include search path. + +See also: +https://github.com/libproxy/libproxy/issues/226#issuecomment-1557064225 +https://bugs.gentoo.org/906879 + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + src/network/configure.json | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/network/configure.json b/src/network/configure.json +index 271ff164ac..ffba2d1eea 100644 +--- a/src/network/configure.json ++++ b/src/network/configure.json +@@ -53,7 +53,7 @@ + }, + "headers": "proxy.h", + "sources": [ +- "-lproxy" ++ { "type": "pkgConfig", "args": "libproxy-1.0" } + ] + }, + "openssl_headers": { +-- +2.40.1 + |