freebsd-ports/sysutils/openhpi/files/patch-baselib-session.cpp
Tijl Coosemans e5d688c99e Add sysutils/openhpi.
OpenHPI provides an open source implementation of the Service Availability
Forum (SAF) Hardware Platform Interface (HPI).

HPI is an abstracted interface for managing computer hardware, typically
chassis and rack based servers.  HPI includes resource modeling; access to
and control over sensor, control, watchdog, and inventory data associated
with resources; abstracted System Event Log interfaces; hardware events and
alarms; and a managed hotswap interface.
2016-03-21 21:14:05 +00:00

11 lines
350 B
C++

--- baselib/session.cpp.orig 2015-09-14 22:48:33 UTC
+++ baselib/session.cpp
@@ -118,7 +118,7 @@ cSession::cSession()
m_remote_sid( 0 )
{
#if GLIB_CHECK_VERSION (2, 32, 0)
- m_sockets = G_PRIVATE_INIT (g_free);
+ m_sockets = (GPrivate) G_PRIVATE_INIT (g_free);
#else
wrap_g_static_private_init( &m_sockets );
#endif