Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/codeworker/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile	28 Oct 2018 09:02:40 -0000	1.14
+++ Makefile	13 Dec 2018 02:11:11 -0000
@@ -4,7 +4,7 @@ COMMENT =		universal parsing tool & sour
 
 V =			4.5.4
 PKGNAME =		codeworker-${V}
-REVISION =		5
+REVISION =		6
 
 CATEGORIES =		devel
 
Index: patches/patch-CGRuntime_h
===================================================================
RCS file: patches/patch-CGRuntime_h
diff -N patches/patch-CGRuntime_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-CGRuntime_h	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+Fix a lot of include errors with ports-gcc
+Index: CGRuntime.h
+--- CGRuntime.h.orig
++++ CGRuntime.h
+@@ -24,6 +24,8 @@ To contact the author: codeworker@free.fr
+ 
+ #include <string>
+ #include <list>
++#include <stdlib.h>
++#include <string.h>
+ 
+ #include "UtlException.h"
+ #include "CppParsingTree.h"
Index: patches/patch-CppParsingTree_cpp
===================================================================
RCS file: patches/patch-CppParsingTree_cpp
diff -N patches/patch-CppParsingTree_cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-CppParsingTree_cpp	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+CppParsingTree.cpp:113:22: error: 'atoi' was not declared in this scope
+Index: CppParsingTree.cpp
+--- CppParsingTree.cpp.orig
++++ CppParsingTree.cpp
+@@ -25,6 +25,7 @@ To contact the author: codeworker@free.fr
+ 
+ #ifndef WIN32
+ #	include <cstdio> // for Debian/gcc 2.95.4
++#	include <stdlib.h>
+ #endif
+ 
+ #include "ScpStream.h"
Index: patches/patch-ScpStream_cpp
===================================================================
RCS file: patches/patch-ScpStream_cpp
diff -N patches/patch-ScpStream_cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-ScpStream_cpp	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+Fix numerous include errors with ports-gcc
+Index: ScpStream.cpp
+--- ScpStream.cpp.orig
++++ ScpStream.cpp
+@@ -28,6 +28,8 @@ To contact the author: codeworker@free.fr
+ #	include <sys/stat.h>
+ 	// functions 'ntohl()' and 'htonl()'
+ #	include <netinet/in.h>
++#	include <string.h>
++#	include <stdlib.h>
+ #endif
+ 
+ #include "UtlException.h"
Index: patches/patch-UtlDate_cpp
===================================================================
RCS file: patches/patch-UtlDate_cpp
diff -N patches/patch-UtlDate_cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-UtlDate_cpp	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+Fix several include errors with ports-gcc
+Index: UtlDate.cpp
+--- UtlDate.cpp.orig
++++ UtlDate.cpp
+@@ -26,6 +26,8 @@ To contact the author: codeworker@free.fr
+ #include <stdio.h>
+ #include <math.h>
+ #include <time.h>
++#include <string.h>
++#include <stdlib.h>
+ 
+ #ifdef WIN32
+ #	include <windows.h>
Index: patches/patch-UtlDirectory_cpp
===================================================================
RCS file: patches/patch-UtlDirectory_cpp
diff -N patches/patch-UtlDirectory_cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-UtlDirectory_cpp	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+fix various include errors with ports-gcc
+Index: UtlDirectory.cpp
+--- UtlDirectory.cpp.orig
++++ UtlDirectory.cpp
+@@ -30,6 +30,8 @@ To contact the author: codeworker@free.fr
+ #	include <sys/stat.h>
+ #	include <unistd.h>
+ #	include <glob.h>
++#	include <stdlib.h>
++#	include <string.h>
+ #endif
+ 
+ #include "UtlException.h"
Index: patches/patch-UtlTrace_cpp
===================================================================
RCS file: patches/patch-UtlTrace_cpp
diff -N patches/patch-UtlTrace_cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-UtlTrace_cpp	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+fix several include errors with ports-gcc
+Index: UtlTrace.cpp
+--- UtlTrace.cpp.orig
++++ UtlTrace.cpp
+@@ -24,6 +24,7 @@ To contact the author: codeworker@free.fr
+ #endif
+ 
+ #include <stdarg.h>
++#include <string.h>
+ #include "ScpStream.h"
+ #include "UtlTrace.h"
+ 
Index: patches/patch-UtlXMLStream_cpp
===================================================================
RCS file: patches/patch-UtlXMLStream_cpp
diff -N patches/patch-UtlXMLStream_cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-UtlXMLStream_cpp	13 Dec 2018 02:11:11 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+fix several include errors with ports-gcc
+Index: UtlXMLStream.cpp
+--- UtlXMLStream.cpp.orig
++++ UtlXMLStream.cpp
+@@ -28,6 +28,7 @@ To contact the author: codeworker@free.fr
+ #include "UtlException.h"
+ #include "ScpStream.h"
+ #include "UtlXMLStream.h"
++#include <string.h> 
+ 
+ namespace CodeWorker {
+ 	UtlXMLStream::UtlXMLStream(const std::string& sFileName, const bool bModeRead) : _bOwnerOfFileStream(true), _pInputStream(NULL), _pOutputStream(NULL) {
