tntnet: update to tntnet-2.2. disable broken autoreconf. disable ssl

This commit is contained in:
Stefan Saraev 2013-10-06 14:41:04 +03:00
parent 4779a50864
commit 09db49f6a6
3 changed files with 22 additions and 4 deletions

View File

@ -34,7 +34,6 @@ mkdir -p .build-host && cd .build-host
--disable-static \
--enable-shared \
--with-server=no \
--with-cgi=no \
--with-sdk=yes \
--with-demos=no \
--with-epoll=yes \
@ -58,11 +57,12 @@ mkdir -p .build-target && cd .build-target
--sysconfdir=/etc \
--disable-static \
--enable-shared \
--with-sysroot=$SYSROOT_PREFIX \
--with-server=no \
--with-cgi=no \
--with-sdk=yes \
--with-demos=no \
--with-epoll=yes \
--with-ssl=no \
--with-stressjob=no
$MAKEINSTALL

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="tntnet"
PKG_VERSION="2.1"
PKG_VERSION="2.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL-2"
@ -33,4 +33,4 @@ PKG_SHORTDESC="tntnet: C++ Dynamite for the Web"
PKG_LONGDESC="Tntnet is a modular, multithreaded, high performance webapplicationserver for C++"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_AUTORECONF="no"

View File

@ -0,0 +1,18 @@
Description: Include unistd.h to fix FTBFS with gcc-4.7
tntnet (2.1-1ubuntu1) quantal; urgency=low
.
* Add missing header to fix FTBFS with gcc4.7 on non-amd64 archs
Author: Micah Gersten <micahg@ubuntu.com>
Index: tntnet-2.2/framework/defcomp/static.cpp
===================================================================
--- tntnet-2.2.orig/framework/defcomp/static.cpp 2013-04-21 22:13:57.000000000 +0300
+++ tntnet-2.2/framework/defcomp/static.cpp 2013-05-19 23:12:17.000000000 +0300
@@ -34,6 +34,7 @@
#include <tnt/http.h>
#include <tnt/httpheader.h>
#include <tnt/comploader.h>
+#include <unistd.h>
#include <fstream>
#include <cxxtools/log.h>
#include <cxxtools/systemerror.h>