diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-20 19:52:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-20 19:53:38 +0200 |
commit | 09db55c7705305777a33bd6b786e53bca5e19a84 (patch) | |
tree | ff853d99750f6d66b7b0f8514e4a077fa7b8cbc6 /package | |
parent | be33c79bb7ebbee032f8da93d791560e7b4fa267 (diff) |
fix gnutls support, hint from tommi
Diffstat (limited to 'package')
-rw-r--r-- | package/tntnet/Makefile | 4 | ||||
-rw-r--r-- | package/tntnet/patches/patch-framework_common_gnutls_cpp | 10 |
2 files changed, 11 insertions, 3 deletions
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 <sys/poll.h> + #include <errno.h> + #include <cxxtools/ioerror.h> ++#include <unistd.h> + + log_define("tntnet.ssl") + |