summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-03-05 18:34:21 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-03-05 18:34:21 +0000
commitc78c5736d759257cb27fb30e79adf278cd696a2e (patch)
tree2b6f876c210fce599ffd6c67533f03c495b9de0f /net-libs/h323plus
parentStable for HPPA (bug #459870). (diff)
downloadgentoo-2-c78c5736d759257cb27fb30e79adf278cd696a2e.tar.gz
gentoo-2-c78c5736d759257cb27fb30e79adf278cd696a2e.tar.bz2
gentoo-2-c78c5736d759257cb27fb30e79adf278cd696a2e.zip
Add patch for ptlib-2.10.10 compatibility.
(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-libs/h323plus')
-rw-r--r--net-libs/h323plus/ChangeLog6
-rw-r--r--net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch15
-rw-r--r--net-libs/h323plus/h323plus-1.25.0.ebuild3
3 files changed, 22 insertions, 2 deletions
diff --git a/net-libs/h323plus/ChangeLog b/net-libs/h323plus/ChangeLog
index ea1d0f097079..b24990b41df4 100644
--- a/net-libs/h323plus/ChangeLog
+++ b/net-libs/h323plus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/h323plus
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/ChangeLog,v 1.1 2013/02/22 19:04:21 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/ChangeLog,v 1.2 2013/03/05 18:34:21 chithanh Exp $
+
+ 05 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/h323plus-1.25.0-ptlib-2.10.10.patch, h323plus-1.25.0.ebuild:
+ Add patch for ptlib-2.10.10 compatibility.
*h323plus-1.25.0 (22 Feb 2013)
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/h323plus-1.25.0.ebuild b/net-libs/h323plus/h323plus-1.25.0.ebuild
index 70e9e2df6aea..00c62ceec8df 100644
--- a/net-libs/h323plus/h323plus-1.25.0.ebuild
+++ b/net-libs/h323plus/h323plus-1.25.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/h323plus-1.25.0.ebuild,v 1.1 2013/02/22 19:04:21 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/h323plus-1.25.0.ebuild,v 1.2 2013/03/05 18:34:21 chithanh Exp $
EAPI=5
@@ -35,6 +35,7 @@ S="${WORKDIR}/${PN}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-param.patch
epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-debugoptionlist.patch
+ epatch "${FILESDIR}"/${PN}-1.25.0-ptlib-2.10.10.patch
}
src_configure() {