freebsd-ports/devel/clanlib1/files/patch-libc++
Baptiste Daroussin 0c660d1e10 Fix build with libc++
While I'm here add PKGNAMESUFFIX to that pkg install clanlib won't try to install of different clanglib.
Modernize LIB_DEPENDS
Remove now useless LATEST_LINK
Convert USE_GMAKE to USES=gmake
2013-09-16 11:30:07 +00:00

20 lines
688 B
Text

--- Sources/GL/canvas_opengl.cpp.orig 2007-10-21 02:14:01.000000000 +0200
+++ Sources/GL/canvas_opengl.cpp 2013-09-16 13:21:42.874065134 +0200
@@ -27,6 +27,7 @@
** (if your name is missing here, please add it)
*/
+#include <stdlib.h>
#include "Display/display_precomp.h"
#include "canvas_opengl.h"
#include "API/Core/System/error.h"
--- Sources/Network/Socket/ip_address_getaddr.cpp.orig 2007-10-21 02:14:01.000000000 +0200
+++ Sources/Network/Socket/ip_address_getaddr.cpp 2013-09-16 13:22:11.882067224 +0200
@@ -29,6 +29,7 @@
#ifdef USE_GETADDR
+#include <stdlib.h>
#include "ip_address_getaddr.h"
#include "API/Core/System/error.h"
#include "API/Core/System/mutex.h"