summaryrefslogtreecommitdiff
path: root/devel/pwlib/files/patch-src-ptclib-ansper.cxx
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-02-05 13:39:41 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-02-05 13:39:41 +0000
commitb91fd53f32ad94577a37a5d3b15b8be9364b19c8 (patch)
tree00cae6ba9febbb13b10f4469fc28b9f64af3be36 /devel/pwlib/files/patch-src-ptclib-ansper.cxx
parentUpgrade to 1.72. (diff)
This is an initial port of newer versions of:
- pwlib -> 1.9.2 - openh323 -> 1.17.3 The decission of porting the development releases instead of the stable releases is based upon a discussion with the openh323 developers. They serve as a start to be able to porting newer versions of e.g. gnomemeeting et al. Further tweaks/improvements to them may be required when other ports start to use these versions. Unlike the previous versions of those ports, they install a shared lib now. So ports which depend upon them in the future should add a RUN_DEPENDS upon them. Additionally the build time for those ports will decrease, since they don't need to build pwlib/openh323 each time and grab them from the build directory. PR: 83396 Submitted by: Steve Ames <steve@energistic.com> In colaboration with: Steve Ames <steve@energistic.com>
Notes
Notes: svn path=/head/; revision=155259
Diffstat (limited to 'devel/pwlib/files/patch-src-ptclib-ansper.cxx')
-rw-r--r--devel/pwlib/files/patch-src-ptclib-ansper.cxx56
1 files changed, 0 insertions, 56 deletions
diff --git a/devel/pwlib/files/patch-src-ptclib-ansper.cxx b/devel/pwlib/files/patch-src-ptclib-ansper.cxx
deleted file mode 100644
index 27f09e7b8870..000000000000
--- a/devel/pwlib/files/patch-src-ptclib-ansper.cxx
+++ /dev/null
@@ -1,56 +0,0 @@
---- src/ptclib/asnper.cxx Fri Aug 1 02:11:38 2003
-+++ src/ptclib/asnper.cxx Fri Jun 3 14:32:55 2005
-@@ -1224,6 +1224,11 @@
- return -1;
-
- value += lower;
-+
-+ // clamp value to upper limit
-+ if (value > upper)
-+ value = upper;
-+
- return 0;
- }
-
-@@ -1268,7 +1273,14 @@
- unsigned base;
- if (!MultiBitDecode(CountBits(upper - lower + 1), base))
- return -1;
-- return lower + base; // 10.9.4.1
-+ len = lower + base; // 10.9.4.1
-+
-+ // clamp value to upper limit
-+ if (len > upper)
-+ len = upper;
-+
-+ return len;
-+
- }
-
- if (upper < 65536) // 10.9.3.3
-@@ -1279,13 +1291,20 @@
- if (IsAtEnd())
- return -1;
-
-- if (SingleBitDecode() == 0)
-- return MultiBitDecode(7, len) ? 0 : -1; // 10.9.3.6
-+ if (SingleBitDecode() == 0) {
-+ if (!MultiBitDecode(7, len)) // 10.9.3.6
-+ return -1; // 10.9.3.8 unsupported
-+ }
-+ else if (SingleBitDecode() == 0) {
-+ if (!MultiBitDecode(14, len)) // 10.9.3.7
-+ return -1; // 10.9.3.8 unsupported
-+ }
-
-- if (SingleBitDecode() == 0)
-- return MultiBitDecode(14, len) ? 0 : -1; // 10.9.3.7
-+ // clamp value to upper limit
-+ if (len > upper)
-+ len = upper;
-
-- return -1; // 10.9.3.8 unsupported
-+ return 0;
- }
-
-