1 |
commit: 749c26be5e5cf37aaaf445af0d174f8fc31f1a8c |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 24 09:47:51 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 24 09:49:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749c26be |
7 |
|
8 |
net-libs/libsoup-2.66.2: fix build with USE=samba |
9 |
|
10 |
Closes: https://bugs.gentoo.org/692814 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
13 |
|
14 |
.../libsoup/files/2.66.2-meson-ntlm_auth-fix.patch | 28 ++++++++++++++++++++++ |
15 |
net-libs/libsoup/libsoup-2.66.2.ebuild | 1 + |
16 |
2 files changed, 29 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..04c9cccfeec |
21 |
--- /dev/null |
22 |
+++ b/net-libs/libsoup/files/2.66.2-meson-ntlm_auth-fix.patch |
23 |
@@ -0,0 +1,28 @@ |
24 |
+From ecd64363f82eb9d6cea07674f49c2d2869e5b62b Mon Sep 17 00:00:00 2001 |
25 |
+From: Claudio Saavedra <csaavedra@××××××.com> |
26 |
+Date: Tue, 20 Aug 2019 16:04:06 +0300 |
27 |
+Subject: [PATCH] NTLM: Fix build with ntlm enabled |
28 |
+ |
29 |
+Just realized that build with NTLM enabled was broken (!?) |
30 |
+ |
31 |
+(cherry picked from commit bab0db142d508e92e72970db72cbbce3c13a526a) |
32 |
+--- |
33 |
+ meson.build | 2 +- |
34 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
35 |
+ |
36 |
+diff --git a/meson.build b/meson.build |
37 |
+index f0e34cb0..346ed2fd 100644 |
38 |
+--- a/meson.build |
39 |
++++ b/meson.build |
40 |
+@@ -271,7 +271,7 @@ if host_machine.system() != 'windows' |
41 |
+ |
42 |
+ if ntlm_auth.found() |
43 |
+ add_project_arguments('-DUSE_NTLM_AUTH=1', language : 'c') |
44 |
+- add_project_arguments('-DNTLM_AUTH=' + ntlm_auth.path(), language : 'c') |
45 |
++ add_project_arguments('-DNTLM_AUTH="' + ntlm_auth.path() + '"', language : 'c') |
46 |
+ endif |
47 |
+ endif |
48 |
+ endif |
49 |
+-- |
50 |
+2.20.1 |
51 |
+ |
52 |
|
53 |
diff --git a/net-libs/libsoup/libsoup-2.66.2.ebuild b/net-libs/libsoup/libsoup-2.66.2.ebuild |
54 |
index 57963364f49..238bf9bb966 100644 |
55 |
--- a/net-libs/libsoup/libsoup-2.66.2.ebuild |
56 |
+++ b/net-libs/libsoup/libsoup-2.66.2.ebuild |
57 |
@@ -49,6 +49,7 @@ PATCHES=( |
58 |
"${FILESDIR}"/disable-apache-tests.patch |
59 |
# Fix libsoup-2.4.vapi to be compatible with vala:0.46 and onwards. Included in 2.67.2 |
60 |
"${FILESDIR}"/${PV}-vala-0.46-compat.patch |
61 |
+ "${FILESDIR}"/${PV}-meson-ntlm_auth-fix.patch |
62 |
) |
63 |
|
64 |
src_prepare() { |