Add patch to fix build

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=201
This commit is contained in:
Peter Varkoly 2018-06-20 12:49:57 +00:00 committed by Git OBS Bridge
parent c906f55d9e
commit 4c8b88f4d2
2 changed files with 15 additions and 0 deletions

13
fix-build.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/Makefile.am b/Makefile.am
index 9539b3c..8e76a03 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -975,6 +975,7 @@ libsss_cert_la_LIBADD = \
$(TALLOC_LIBS) \
$(TEVENT_LIBS) \
libsss_crypt.la \
+ libsss_child.la \
libsss_debug.la \
libsss_certmap.la \
$(NULL)

View File

@ -30,6 +30,7 @@ Source2: http://releases.pagure.org/SSSD/sssd/%name-%version.tar.gz.asc
Source3: baselibs.conf
Source4: sssd.service
Source5: %name.keyring
Patch1: fix-build.patch
BuildRoot: %_tmppath/%name-%version-build
%define servicename sssd
@ -364,6 +365,7 @@ Security Services Daemon (sssd).
%prep
%setup -q
%patch1 -p1
%build
%if 0%{?suse_version} < 1210