net-libs/libsoup-2.66.2: fix build with USE=samba
authorMart Raudsepp <leio@gentoo.org>
Sat, 24 Aug 2019 09:47:51 +0000 (12:47 +0300)
committerMart Raudsepp <leio@gentoo.org>
Sat, 24 Aug 2019 09:49:59 +0000 (12:49 +0300)
Closes: https://bugs.gentoo.org/692814
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
net-libs/libsoup/files/2.66.2-meson-ntlm_auth-fix.patch [new file with mode: 0644]
net-libs/libsoup/libsoup-2.66.2.ebuild

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 (file)
index 0000000..04c9ccc
--- /dev/null
@@ -0,0 +1,28 @@
+From ecd64363f82eb9d6cea07674f49c2d2869e5b62b Mon Sep 17 00:00:00 2001
+From: Claudio Saavedra <csaavedra@igalia.com>
+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
+
index 57963364f4947153793b16b174fb9a210a615142..238bf9bb9666f1bbbbe02a6842e68b80d9e92cfe 100644 (file)
@@ -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() {