From 2eec5446486315a9d15d9407ef7f4392ff3bfdfd Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 20 Feb 2013 17:31:38 +0100 Subject: [PATCH] another patch for adding libcurl to the linking phase of libvirtd --- libcurl-daemon.patch | 12 ++++++++++++ libvirt.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 libcurl-daemon.patch diff --git a/libcurl-daemon.patch b/libcurl-daemon.patch new file mode 100644 index 0000000..92bcbf9 --- /dev/null +++ b/libcurl-daemon.patch @@ -0,0 +1,12 @@ +--- a/src/Makefile.am 2013-01-30 09:19:50.000000000 +0100 ++++ b/src/Makefile.am 2013-02-20 17:28:21.755826555 +0100 +@@ -120,7 +120,8 @@ + $(SASL_LIBS) \ + $(DBUS_LIBS) \ + $(POLKIT_LIBS) \ +- $(LIBNL_LIBS) ++ $(LIBNL_LIBS) \ ++ $(CURL_LIBS) + + if WITH_DTRACE_PROBES + libvirtd_LDADD += ../src/libvirt_probes.lo diff --git a/libvirt.spec b/libvirt.spec index cfbaadd..a35d73a 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -380,7 +380,8 @@ URL: http://libvirt.org/ %endif Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz Patch1: libcurl.patch -Patch2: securityselinuxlabeltest.patch +Patch2: libcurl-daemon.patch +Patch3: securityselinuxlabeltest.patch %if %{with_libvirtd} Requires: libvirt-daemon = %{version}-%{release} @@ -1112,6 +1113,7 @@ of recent versions of Linux (and other OSes). %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %if ! %{with_xen} -- 2.43.0