render / rpms / libvirt

Forked from rpms/libvirt 7 months ago
Clone
43fe83
From 2c7f80e73aa2de65dd92ad3f0d7c7be9dcf7048a Mon Sep 17 00:00:00 2001
43fe83
Message-Id: <2c7f80e73aa2de65dd92ad3f0d7c7be9dcf7048a.1383321464.git.jdenemar@redhat.com>
43fe83
From: Jim Fehlig <jfehlig@suse.com>
43fe83
Date: Wed, 30 Oct 2013 17:01:46 +0000
43fe83
Subject: [PATCH] build: fix build of virt-login-shell on systems with older
43fe83
 gnutls
43fe83
43fe83
For
43fe83
43fe83
  https://bugzilla.redhat.com/show_bug.cgi?id=1015247
43fe83
43fe83
On systems where gnutls uses libgcrypt, I'm seeing the following
43fe83
build failure
43fe83
43fe83
libvirt.c:314: error: variable 'virTLSThreadImpl' has initializer but incomplete type
43fe83
libvirt.c:319: error: 'GCRY_THREAD_OPTION_PTHREAD' undeclared here (not in a function)
43fe83
...
43fe83
43fe83
Fix by undefining WITH_GNUTLS_GCRYPT in config-post.h
43fe83
(cherry picked from commit 843bdb2f8a3364637cda2911624149525188843f)
43fe83
43fe83
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
43fe83
---
43fe83
 config-post.h | 1 +
43fe83
 1 file changed, 1 insertion(+)
43fe83
43fe83
diff --git a/config-post.h b/config-post.h
43fe83
index d371e8c..8367200 100644
43fe83
--- a/config-post.h
43fe83
+++ b/config-post.h
43fe83
@@ -34,6 +34,7 @@
43fe83
 # undef WITH_CURL
43fe83
 # undef WITH_DTRACE_PROBES
43fe83
 # undef WITH_GNUTLS
43fe83
+# undef WITH_GNUTLS_GCRYPT
43fe83
 # undef WITH_MACVTAP
43fe83
 # undef WITH_NUMACTL
43fe83
 # undef WITH_SASL
43fe83
-- 
43fe83
1.8.4.2
43fe83