openbsd-ports/devel/ptlib/patches/patch-src_ptlib_unix_tlib_cxx
ajacoutot 540c1f4f5f Import ptlib-2.6.5
PTLib is a moderately large C++ class library that originated many years
ago as a method to produce applications that run on both Microsoft
Windows and Unix X-Windows systems. It also was to have a Macintosh port
as well, but this never eventuated. In those days it was called the
PWLib the Portable Windows Library.

Since then, the availability of multi-platform GUI toolkits such as KDE
and wxWindows, and the development of the OpenH323 and OPAL projects as
primary user of the library, has emphasised the focus on networking, I/O
portability, multi-threading and protocol portability. Mostly, the
library is used to create high performance and highly portable
network-centric applications. So all the GUI abstractions ahave been
dropped and it was renamed the Portable Tools Library that you see
today.
2010-03-23 21:10:17 +00:00

15 lines
592 B
Plaintext

$OpenBSD: patch-src_ptlib_unix_tlib_cxx,v 1.1.1.1 2010/03/23 21:10:17 ajacoutot Exp $
--- src/ptlib/unix/tlib.cxx.orig Thu Jun 4 06:03:05 2009
+++ src/ptlib/unix/tlib.cxx Thu Jun 4 06:03:45 2009
@@ -70,6 +70,10 @@
#include <sys/mman.h>
#endif
+#ifdef P_OPENBSD
+#include <sys/stdint.h>
+#endif
+
#if defined(P_LINUX) || defined(P_SUN4) || defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined (P_AIX) || defined(P_BEOS) || defined(P_IRIX) || defined(P_QNX)
#include <sys/utsname.h>
#define HAS_UNAME