From dd52419b82ae922b54c7a79e1ff02bba20fa0a7d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 29 Aug 2020 15:12:51 +0200 Subject: dev-libs/tntnet: [QA] Many fixes * Do not build static archives * Add missing `|| die` * Add missing sub-slot operators * Clean examples properly * Rebase patch * Use `default` correctly * Remove `eutils.eclass` * Use bash-arrays for `econf` arguments Closes: https://bugs.gentoo.org/737184 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert --- dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dev-libs/tntnet/files') diff --git a/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch b/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch index 07b4836319d4..5e0465060898 100644 --- a/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch +++ b/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch @@ -8,9 +8,9 @@ AC_LANG(C++) ACX_PTHREAD -@@ -25,6 +26,12 @@ - AC_CHECK_HEADER([zlib.h], , AC_MSG_ERROR([zlib not found])) - AC_CHECK_HEADER([cxxtools/net/tcpsocket.h], , AC_MSG_ERROR([cxxtools headers not found])) +@@ -40,6 +41,12 @@ + AC_CHECK_FUNCS([fopen64], ,[AM_CFLAGS=-DUSE_FILE32API]) + AC_SUBST(AM_CFLAGS) +PKG_CHECK_MODULES([MINIZIP], [minizip], + [HAVE_MINIZIP=true], [HAVE_MINIZIP=false]) @@ -23,7 +23,7 @@ [epoll_option=$withval], --- a/framework/common/Makefile.am +++ b/framework/common/Makefile.am -@@ -23,7 +23,6 @@ libtntnet_la_SOURCES = \ +@@ -23,7 +23,6 @@ httpparser.cpp \ httprequest.cpp \ httpreply.cpp \ @@ -31,7 +31,7 @@ job.cpp \ langlib.cpp \ listener.cpp \ -@@ -41,16 +40,13 @@ libtntnet_la_SOURCES = \ +@@ -40,16 +39,13 @@ stringlessignorecase.cpp \ tntconfig.cpp \ tntnet.cpp \ @@ -49,7 +49,7 @@ nobase_include_HEADERS = \ tnt/applicationunlocker.h \ -@@ -145,3 +141,13 @@ noinst_HEADERS += \ +@@ -144,3 +140,13 @@ tnt/stressjob.h endif -- cgit v1.2.3-65-gdbad