add missing include for ports-gcc

This commit is contained in:
naddy 2018-11-30 21:49:54 +00:00
parent 6b15e95c3a
commit b56ece5da3
2 changed files with 15 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2018/10/29 06:29:36 bentley Exp $
# $OpenBSD: Makefile,v 1.20 2018/11/30 21:49:54 naddy Exp $
COMMENT = extensible C++ library for XMPP clients and components
DISTNAME = gloox-1.0.21
REVISION = 0
SHARED_LIBS += gloox 2.0 # 8.0
CATEGORIES = net devel

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_connectiontcpserver_cpp,v 1.1 2018/11/30 21:49:54 naddy Exp $
Index: src/connectiontcpserver.cpp
--- src/connectiontcpserver.cpp.orig
+++ src/connectiontcpserver.cpp
@@ -51,6 +51,7 @@
#endif
#include <cstdlib>
+#include <cstring>
#include <string>
#ifndef _WIN32_WCE