diff options
author | roger <roger@FreeBSD.org> | 2000-08-19 13:03:53 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2000-08-19 13:03:53 +0800 |
commit | f647bff550bb5bfe6ca7d005ddb326644ef01dff (patch) | |
tree | 3b3d72768637c59878070ea639481a6c46b73d79 /net/gatekeeper | |
parent | 295c42a0fe915fb29054f470f28647a89ce861fc (diff) | |
download | freebsd-ports-gnome-f647bff550bb5bfe6ca7d005ddb326644ef01dff.tar.gz freebsd-ports-gnome-f647bff550bb5bfe6ca7d005ddb326644ef01dff.tar.zst freebsd-ports-gnome-f647bff550bb5bfe6ca7d005ddb326644ef01dff.zip |
Add patch to allow source to work with latest OpenH323 library (1.1beta3)
Diffstat (limited to 'net/gatekeeper')
-rw-r--r-- | net/gatekeeper/files/patch-aa | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/gatekeeper/files/patch-aa b/net/gatekeeper/files/patch-aa new file mode 100644 index 000000000000..49b97934993f --- /dev/null +++ b/net/gatekeeper/files/patch-aa @@ -0,0 +1,30 @@ +--- SignalConnection.cxx.orig Sat Aug 19 05:48:21 2000 ++++ SignalConnection.cxx Sat Aug 19 05:52:48 2000 +@@ -292,10 +292,10 @@ + PTRACE(4, "GK\tMessage type : " << (int)m_q931.GetMessageType()); + PTRACE(5, ANSI::BYEL << "Q931: " << m_q931 << ANSI::OFF << endl); + +- if(m_q931.HasField(GkQ931::UserUserField)) { ++ if(m_q931.HasIE(GkQ931::UserUserIE)) { + H225_H323_UserInformation signal; + +- PPER_Stream q = m_q931.GetField(GkQ931::UserUserField); ++ PPER_Stream q = m_q931.GetIE(GkQ931::UserUserIE); + if ( ! signal.Decode(q) ) { + PTRACE(4, "GK\tERROR DECODING Q931.UserInformation!"); + return false; +@@ -354,11 +354,11 @@ + signal.Encode(sb); + sb.CompleteEncoding(); + +- m_q931.SetField(GkQ931::UserUserField, sb); ++ m_q931.SetIE(GkQ931::UserUserIE, sb); + } + +- if (m_q931.HasField(GkQ931::CalledPartyNumberField)) { +- PBYTEArray n_array = m_q931.GetField(GkQ931::CalledPartyNumberField); ++ if (m_q931.HasIE(GkQ931::CalledPartyNumberIE)) { ++ PBYTEArray n_array = m_q931.GetIE(GkQ931::CalledPartyNumberIE); + const char* n_bytes = (const char*) (n_array.GetPointer()); + PString n_string(n_bytes+1, n_array.GetSize()-1); + if(Toolkit::Instance()->RewritePString(n_string)) |