From 4c8b88f4d23bc104462263b83511f78b8235765f7f0d9a5ff5506698da9bdd37 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Wed, 20 Jun 2018 12:49:57 +0000 Subject: [PATCH] Add patch to fix build OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=201 --- fix-build.patch | 13 +++++++++++++ sssd.spec | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 fix-build.patch diff --git a/fix-build.patch b/fix-build.patch new file mode 100644 index 0000000..9903e33 --- /dev/null +++ b/fix-build.patch @@ -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) + diff --git a/sssd.spec b/sssd.spec index f0f514c..7188389 100644 --- a/sssd.spec +++ b/sssd.spec @@ -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