summaryrefslogtreecommitdiff
path: root/net-libs/h323plus/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/h323plus/files
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/h323plus/files')
-rw-r--r--net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch15
-rw-r--r--net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch13
-rw-r--r--net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch18
3 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch b/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch
new file mode 100644
index 000000000000..74856a099c0f
--- /dev/null
+++ b/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch
@@ -0,0 +1,15 @@
+Fix macro definition for ptlib-2.10.10 compatibility
+http://lists.packetizer.com/pipermail/h323plus/2012-December/002543.html
+
+diff -ur a/include/openh323buildopts.h.in b/include/openh323buildopts.h.in
+--- a/include/openh323buildopts.h.in 2012-09-21 05:53:21.000000000 +0200
++++ b/include/openh323buildopts.h.in 2013-03-05 19:26:25.251373540 +0100
+@@ -35,7 +35,7 @@
+ #include <ptbuildopts.h>
+ #include <ptlib/../../revision.h>
+
+-#if PTLIB_MAJOR == 2 && PTLIB_MINOR < 10
++#if PTLIB_MAJOR == 2 && PTLIB_MINOR <= 10
+ #define PTLIB_VER ( PTLIB_MAJOR*100 + PTLIB_MINOR*10 + PTLIB_BUILD )
+ #else
+ #define PTLIB_VER ( PTLIB_MAJOR*1000 + PTLIB_MINOR*10 + PTLIB_BUILD )
diff --git a/net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch
new file mode 100644
index 000000000000..7e800f490f19
--- /dev/null
+++ b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-debugoptionlist.patch
@@ -0,0 +1,13 @@
+diff -ur a/src/h323pluginmgr.cxx b/src/h323pluginmgr.cxx
+--- a/src/h323pluginmgr.cxx 2012-11-29 17:23:26.000000000 +0100
++++ b/src/h323pluginmgr.cxx 2013-02-22 18:56:33.100356993 +0100
+@@ -1543,7 +1543,9 @@
+ PopulateMediaFormatOptions(codecDefn, fmt);
+ PopulateMediaFormatFromGenericData(fmt,
+ (PluginCodec_H323GenericCodecData *)codecDefn->h323CapabilityData);
++#if PTRACING
+ OpalMediaFormat::DebugOptionList(fmt);
++#endif
+ return true;
+ }
+
diff --git a/net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch
new file mode 100644
index 000000000000..c69e703f42c0
--- /dev/null
+++ b/net-libs/h323plus/files/h323plus-1.25.0-ptrace-param.patch
@@ -0,0 +1,18 @@
+diff -ur a/src/rtp.cxx b/src/rtp.cxx
+--- a/src/rtp.cxx 2012-12-10 18:56:08.000000000 +0100
++++ b/src/rtp.cxx 2013-02-22 18:54:35.360358638 +0100
+@@ -1164,9 +1164,13 @@
+ return e_ProcessPacket;
+ }
+
+-
++#if PTRACING
+ void RTP_Session::OnRxSenderReport(const SenderReport & PTRACE_PARAM(sender),
+ const ReceiverReportArray & PTRACE_PARAM(reports))
++#else
++void RTP_Session::OnRxSenderReport(const SenderReport & sender,
++ const ReceiverReportArray & reports)
++#endif
+ {
+ userData->OnRxSenderReport(sessionID,sender,reports);
+