forked from pool/libvmime
MIME message parser OBS-URL: https://build.opensuse.org/request/show/105595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvmime?expand=0&rev=1
38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
From: Jan Engelhardt <jengelh@medozas.de>
|
|
Date: 2011-10-07 00:06:10.890341952 +0200
|
|
Upstream: tbd
|
|
|
|
build: resolve build error with libgnutls-3.x
|
|
|
|
The gnutls/extra.h include is gone in libgnutls 3.x, and it
|
|
does not seem like we need it for libgnutls 2.x anyway,
|
|
so just remove it.
|
|
|
|
GNUTLS_E_LZO_INIT_FAILED was removed too.. can probably live
|
|
without in gnutls2.
|
|
|
|
---
|
|
src/net/tls/TLSSession.cpp | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
Index: vmime/src/net/tls/TLSSession.cpp
|
|
===================================================================
|
|
--- vmime.orig/src/net/tls/TLSSession.cpp
|
|
+++ vmime/src/net/tls/TLSSession.cpp
|
|
@@ -22,7 +22,6 @@
|
|
//
|
|
|
|
#include <gnutls/gnutls.h>
|
|
-#include <gnutls/extra.h>
|
|
|
|
#include "vmime/config.hpp"
|
|
|
|
@@ -318,7 +317,6 @@ void TLSSession::throwTLSException(const
|
|
ERROR(GNUTLS_E_INIT_LIBEXTRA)
|
|
ERROR(GNUTLS_E_LIBRARY_VERSION_MISMATCH)
|
|
ERROR(GNUTLS_E_NO_TEMPORARY_RSA_PARAMS)
|
|
- ERROR(GNUTLS_E_LZO_INIT_FAILED)
|
|
ERROR(GNUTLS_E_NO_COMPRESSION_ALGORITHMS)
|
|
ERROR(GNUTLS_E_NO_CIPHER_SUITES)
|
|
ERROR(GNUTLS_E_OPENPGP_GETKEY_FAILED)
|