summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-29 15:12:51 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-29 15:12:51 +0200
commitdd52419b82ae922b54c7a79e1ff02bba20fa0a7d (patch)
treeeb0950d352f461b14b0e27f77d32a069ce484394 /dev-libs/tntnet/files
parentdev-python/cython: Stabilize 0.29.21 arm, #737740 (diff)
downloadgentoo-dd52419b82ae922b54c7a79e1ff02bba20fa0a7d.tar.gz
gentoo-dd52419b82ae922b54c7a79e1ff02bba20fa0a7d.tar.bz2
gentoo-dd52419b82ae922b54c7a79e1ff02bba20fa0a7d.zip
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 <soap@gentoo.org>
Diffstat (limited to 'dev-libs/tntnet/files')
-rw-r--r--dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch12
1 files changed, 6 insertions, 6 deletions
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