openbsd-ports/telephony/asterisk/patches/patch-channels_h323_ast_h323_cxx

20 lines
704 B
Plaintext

$OpenBSD: patch-channels_h323_ast_h323_cxx,v 1.6 2010/06/18 22:10:44 sthen Exp $
--- channels/h323/ast_h323.cxx.orig Mon May 24 23:07:11 2010
+++ channels/h323/ast_h323.cxx Wed Jun 9 15:03:28 2010
@@ -2366,6 +2366,7 @@ int h323_start_listener(int listenPort, struct sockadd
return 0;
};
+#ifndef __OpenBSD__
/* Addition of functions just to make the channel driver compile with H323Plus */
#if VERSION(OPENH323_MAJOR, OPENH323_MINOR, OPENH323_BUILD) > VERSION(1,19,4)
/* Alternate RTP port information for Same NAT */
@@ -2391,6 +2392,7 @@ BOOL MyH323_ExternalRTPChannel::OnReceivedAckAltPDU(co
return TRUE;
}
#endif
+#endif // __OpenBSD__
int h323_set_alias(struct oh323_alias *alias)