summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-channels::h323::ast_h323.cxx
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2008-05-16 09:24:29 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2008-05-16 09:24:29 +0000
commit285e2c278ab94c27d91796679099a77878524cdf (patch)
treefdb5db734e5d21b486bc025816887cd269754368 /net/asterisk/files/patch-channels::h323::ast_h323.cxx
parentKradview is a GPLed viewer of images obtained for some different (diff)
o Update to 1.4.19.2;
o move all additional functionality into separate patches and make it opt in. It has been concern of asterisks devs that the FreeBSD pacakage adds functionalty not present in the original version, whch could be confusing.
Notes
Notes: svn path=/head/; revision=213118
Diffstat (limited to 'net/asterisk/files/patch-channels::h323::ast_h323.cxx')
-rw-r--r--net/asterisk/files/patch-channels::h323::ast_h323.cxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/asterisk/files/patch-channels::h323::ast_h323.cxx b/net/asterisk/files/patch-channels::h323::ast_h323.cxx
new file mode 100644
index 000000000000..bfc819452128
--- /dev/null
+++ b/net/asterisk/files/patch-channels::h323::ast_h323.cxx
@@ -0,0 +1,29 @@
+--- channels/h323/ast_h323.cxx.orig 2008-04-08 15:08:37.000000000 +0300
++++ channels/h323/ast_h323.cxx 2008-04-08 15:08:51.000000000 +0300
+@@ -81,8 +81,6 @@
+ /** PWLib entry point */
+ static MyProcess *localProcess = NULL;
+
+-static int _timerChangePipe[2];
+-
+ static unsigned traceOptions = PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine;
+
+ class PAsteriskLog : public PObject, public iostream {
+@@ -191,8 +189,6 @@
+
+ MyProcess::~MyProcess()
+ {
+- _timerChangePipe[0] = timerChangePipe[0];
+- _timerChangePipe[1] = timerChangePipe[1];
+ }
+
+ void MyProcess::Main()
+@@ -2460,8 +2456,6 @@
+ if (localProcess) {
+ delete localProcess;
+ localProcess = NULL;
+- close(_timerChangePipe[0]);
+- close(_timerChangePipe[1]);
+ }
+ if (logstream) {
+ PTrace::SetLevel(0);