From 749c26be5e5cf37aaaf445af0d174f8fc31f1a8c Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sat, 24 Aug 2019 12:47:51 +0300 Subject: net-libs/libsoup-2.66.2: fix build with USE=samba Closes: https://bugs.gentoo.org/692814 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Mart Raudsepp --- .../libsoup/files/2.66.2-meson-ntlm_auth-fix.patch | 28 ++++++++++++++++++++++ net-libs/libsoup/libsoup-2.66.2.ebuild | 1 + 2 files changed, 29 insertions(+) create mode 100644 net-libs/libsoup/files/2.66.2-meson-ntlm_auth-fix.patch (limited to 'net-libs') diff --git a/net-libs/libsoup/files/2.66.2-meson-ntlm_auth-fix.patch b/net-libs/libsoup/files/2.66.2-meson-ntlm_auth-fix.patch new file mode 100644 index 000000000000..04c9cccfeec0 --- /dev/null +++ b/net-libs/libsoup/files/2.66.2-meson-ntlm_auth-fix.patch @@ -0,0 +1,28 @@ +From ecd64363f82eb9d6cea07674f49c2d2869e5b62b Mon Sep 17 00:00:00 2001 +From: Claudio Saavedra +Date: Tue, 20 Aug 2019 16:04:06 +0300 +Subject: [PATCH] NTLM: Fix build with ntlm enabled + +Just realized that build with NTLM enabled was broken (!?) + +(cherry picked from commit bab0db142d508e92e72970db72cbbce3c13a526a) +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f0e34cb0..346ed2fd 100644 +--- a/meson.build ++++ b/meson.build +@@ -271,7 +271,7 @@ if host_machine.system() != 'windows' + + if ntlm_auth.found() + add_project_arguments('-DUSE_NTLM_AUTH=1', language : 'c') +- add_project_arguments('-DNTLM_AUTH=' + ntlm_auth.path(), language : 'c') ++ add_project_arguments('-DNTLM_AUTH="' + ntlm_auth.path() + '"', language : 'c') + endif + endif + endif +-- +2.20.1 + diff --git a/net-libs/libsoup/libsoup-2.66.2.ebuild b/net-libs/libsoup/libsoup-2.66.2.ebuild index 57963364f494..238bf9bb9666 100644 --- a/net-libs/libsoup/libsoup-2.66.2.ebuild +++ b/net-libs/libsoup/libsoup-2.66.2.ebuild @@ -49,6 +49,7 @@ PATCHES=( "${FILESDIR}"/disable-apache-tests.patch # Fix libsoup-2.4.vapi to be compatible with vala:0.46 and onwards. Included in 2.67.2 "${FILESDIR}"/${PV}-vala-0.46-compat.patch + "${FILESDIR}"/${PV}-meson-ntlm_auth-fix.patch ) src_prepare() { -- cgit v1.2.3-65-gdbad