From 09db55c7705305777a33bd6b786e53bca5e19a84 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 May 2014 19:52:35 +0200 Subject: fix gnutls support, hint from tommi --- package/tntnet/Makefile | 4 +--- package/tntnet/patches/patch-framework_common_gnutls_cpp | 10 ++++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 package/tntnet/patches/patch-framework_common_gnutls_cpp diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile index db8684ef5..8e25b1c29 100644 --- a/package/tntnet/Makefile +++ b/package/tntnet/Makefile @@ -15,11 +15,9 @@ PKG_URL:= http://www.tntnet.org/ PKG_SITES:= http://www.tntnet.org/download/ PKG_NEED_CXX:= 1 -PKG_ARCH_DEPENDS:= !arm !m68k DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz -PKG_CHOICES_TNTNET:= WITH_OPENSSL WITHOUT_SSL -#PKG_CHOICES_TNTNET:= WITH_GNUTLS WITH_OPENSSL WITHOUT_SSL +PKG_CHOICES_TNTNET:= WITH_GNUTLS WITH_OPENSSL WITHOUT_SSL PKGCD_WITHOUT_SSL:= use no SSL PKGCD_WITH_OPENSSL:= use OpenSSL for crypto PKGCS_WITH_OPENSSL:= libopenssl diff --git a/package/tntnet/patches/patch-framework_common_gnutls_cpp b/package/tntnet/patches/patch-framework_common_gnutls_cpp new file mode 100644 index 000000000..51037f74a --- /dev/null +++ b/package/tntnet/patches/patch-framework_common_gnutls_cpp @@ -0,0 +1,10 @@ +--- tntnet-2.2.1.orig/framework/common/gnutls.cpp 2013-12-26 15:08:34.000000000 +0100 ++++ tntnet-2.2.1/framework/common/gnutls.cpp 2014-05-20 06:44:01.000000000 +0200 +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + + log_define("tntnet.ssl") + -- cgit v1.2.3