Include cstdlib for free()/posix_memalign().

This commit is contained in:
bentley 2018-10-28 08:59:07 +00:00
parent 30048c9df8
commit 9ab3b32465
2 changed files with 16 additions and 3 deletions

View File

@ -1,18 +1,18 @@
# $OpenBSD: Makefile,v 1.20 2018/10/24 14:27:59 sthen Exp $
# $OpenBSD: Makefile,v 1.21 2018/10/28 08:59:07 bentley Exp $
COMMENT= GNU project portable class framework for C++
VER= 1.7.3
DISTNAME= commoncpp2-${VER}
PKGNAME= commoncpp-${VER}
REVISION= 9
REVISION= 10
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=commoncpp/}
SHARED_LIBS+= ccext2 2.0
SHARED_LIBS+= ccgnu2 2.0
HOMEPAGE= http://www.gnutelephony.org/index.php/GNU_Common_C++
HOMEPAGE= https://www.gnu.org/software/commoncpp/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_mempager_cpp,v 1.1 2018/10/28 08:59:08 bentley Exp $
Index: src/mempager.cpp
--- src/mempager.cpp.orig
+++ src/mempager.cpp
@@ -36,6 +36,7 @@
// If you do not wish that, delete this exception notice.
//
+#include <cstdlib>
#include <cc++/config.h>
#include <cc++/export.h>
#include <cc++/slog.h>