Include cstdlib for atol and atof.

This commit is contained in:
bentley 2018-10-28 08:30:03 +00:00
parent 5daef90f74
commit 30048c9df8
2 changed files with 16 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.29 2018/10/24 14:27:59 sthen Exp $ # $OpenBSD: Makefile,v 1.30 2018/10/28 08:30:03 bentley Exp $
COMMENT= C++ reference implementation of the Atlas protocol COMMENT= C++ reference implementation of the Atlas protocol
VERSION= 0.4.3.1 VERSION= 0.4.3.1
DISTNAME= Atlas-C++-${VERSION} DISTNAME= Atlas-C++-${VERSION}
PKGNAME= ${DISTNAME:S/C++-//:L} PKGNAME= ${DISTNAME:S/C++-//:L}
REVISION = 8 REVISION = 9
SHARED_LIBS += Atlas 2.0 # .1.1 SHARED_LIBS += Atlas 2.0 # .1.1
SHARED_LIBS += AtlasObjects 2.0 # .1.1 SHARED_LIBS += AtlasObjects 2.0 # .1.1
SHARED_LIBS += AtlasObjectsEntity 2.0 # .1.1 SHARED_LIBS += AtlasObjectsEntity 2.0 # .1.1

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_Codecs_XML_cc,v 1.1 2018/10/28 08:30:03 bentley Exp $
Index: src/Codecs/XML.cc
--- src/Codecs/XML.cc.orig
+++ src/Codecs/XML.cc
@@ -4,6 +4,8 @@
#include "XML.h"
+#include <cstdlib>
+
namespace Atlas { namespace Codecs {
XML::XML(std::iostream& s, Atlas::Bridge* b)