From: | "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/h323plus/files: h323plus-1.25.0-ptlib-2.10.10.patch |
Date: | Tue, 05 Mar 2013 18:34:25 |
Message-Id: | 20130305183421.B89982171D@flycatcher.gentoo.org |
1 | chithanh 13/03/05 18:34:21 |
2 | |
3 | Added: h323plus-1.25.0-ptlib-2.10.10.patch |
4 | Log: |
5 | Add patch for ptlib-2.10.10 compatibility. |
6 | |
7 | (Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10.10.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: h323plus-1.25.0-ptlib-2.10.10.patch |
16 | =================================================================== |
17 | Fix macro definition for ptlib-2.10.10 compatibility |
18 | http://lists.packetizer.com/pipermail/h323plus/2012-December/002543.html |
19 | |
20 | diff -ur a/include/openh323buildopts.h.in b/include/openh323buildopts.h.in |
21 | --- a/include/openh323buildopts.h.in 2012-09-21 05:53:21.000000000 +0200 |
22 | +++ b/include/openh323buildopts.h.in 2013-03-05 19:26:25.251373540 +0100 |
23 | @@ -35,7 +35,7 @@ |
24 | #include <ptbuildopts.h> |
25 | #include <ptlib/../../revision.h> |
26 | |
27 | -#if PTLIB_MAJOR == 2 && PTLIB_MINOR < 10 |
28 | +#if PTLIB_MAJOR == 2 && PTLIB_MINOR <= 10 |
29 | #define PTLIB_VER ( PTLIB_MAJOR*100 + PTLIB_MINOR*10 + PTLIB_BUILD ) |
30 | #else |
31 | #define PTLIB_VER ( PTLIB_MAJOR*1000 + PTLIB_MINOR*10 + PTLIB_BUILD ) |