summaryrefslogtreecommitdiff
path: root/package/tntnet
diff options
context:
space:
mode:
Diffstat (limited to 'package/tntnet')
-rw-r--r--package/tntnet/Makefile4
-rw-r--r--package/tntnet/patches/patch-framework_common_gnutls_cpp10
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")
+