pkgsrc/devel/poco/patches/patch-ab
schnoebe f585e7443c Import Poco 1.4.0
The POCO C++ Libraries (POCO stands for POrtable COmponents) are
open source C++ class libraries that simplify and accelerate the
development of network-centric, portable applications in C++. The
libraries integrate perfectly with the C++ Standard Library and
fill many of the functional gaps left open by it. Their modular
and efficient design and implementation makes the POCO C++ Libraries
extremely well suited for embedded development, an area where the
C++ programming language is becoming increasingly popular, due to
its suitability for both low-level (device I/O, interrupt handlers,
etc.) and high-level object-oriented development. Of course, the
POCO C++ Libraries are also ready for enterprise-level challenges.
2011-02-06 05:55:14 +00:00

15 lines
458 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $
# include NetBSD with the HP-UX portion of the event handling
--- Foundation/src/NamedEvent_UNIX.cpp.orig 2008-10-09 18:14:00.000000000 +0200
+++ Foundation/src/NamedEvent_UNIX.cpp
@@ -60,7 +60,7 @@ namespace Poco {
unsigned short int* array;
struct seminfo* __buf;
};
-#elif defined(__hpux)
+#elif defined(__hpux) || defined(__NetBSD__)
union semun
{
int val;