another patch for adding libcurl to the linking phase of libvirtd
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 20 Feb 2013 16:31:38 +0000 (17:31 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 20 Feb 2013 16:31:38 +0000 (17:31 +0100)
libcurl-daemon.patch [new file with mode: 0644]
libvirt.spec

diff --git a/libcurl-daemon.patch b/libcurl-daemon.patch
new file mode 100644 (file)
index 0000000..92bcbf9
--- /dev/null
@@ -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
index cfbaadd..a35d73a 100644 (file)
@@ -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}