[Pkg-voip-commits] [ptlib] 03/06: Imported Debian patch 2.10.10~dfsg-4.1
Victor Seva Lopez
maniac-guest at moszumanska.debian.org
Sun Aug 16 06:23:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
maniac-guest pushed a commit to branch master
in repository ptlib.
commit 2e5a4cd2063d87670560453899d9374860f74223
Merge: 6dd6685 5af8e90
Author: YunQiang Su <syq at debian.org>
Date: Wed Oct 8 10:18:48 2014 +0800
Imported Debian patch 2.10.10~dfsg-4.1
ChangeLog-ptlib-v2_10_4.txt | 421 -
configure | 514 +-
configure.ac | 79 +-
debian/changelog | 68 +
debian/control | 18 +-
.../{libpt2.10.4.install => libpt2.10.10.install} | 0
debian/patches/bison-fix | 2887 ++
debian/patches/hurd-fix | 13 +
debian/patches/ppc64el-arm64-mips64.diff | 62 +
debian/patches/series | 3 +
debian/rules | 2 +-
debian/watch | 2 +-
include/ptbuildopts.h.in | 18 +-
include/ptclib/http.h | 97 +-
include/ptclib/lua.h | 5 +-
include/ptclib/pdns.h | 74 +-
include/ptclib/pldap.h | 8 +-
include/ptclib/psockbun.h | 16 +-
include/ptclib/pvfiledev.h | 6 +-
include/ptclib/pwavfile.h | 7 +-
include/ptclib/pwavfiledev.h | 7 +-
include/ptclib/pxml.h | 90 +-
include/ptclib/url.h | 8 +-
include/ptclib/vsdl.h | 13 +-
include/ptclib/vxml.h | 21 +-
include/ptlib/Nucleus++/ptlib/pmachdep.h | 195 +-
include/ptlib/Nucleus++/ptlib/ptlib.inl | 13 +-
include/ptlib/critsec.h | 167 +-
include/ptlib/dict.h | 31 +-
include/ptlib/icmpsock.h | 6 +-
include/ptlib/ipsock.h | 50 +-
include/ptlib/msos/AUTOEXP.DAT | 13 +-
include/ptlib/msos/CopyDTF_2003.bat | 7 -
include/ptlib/msos/ptlib.dtf | 5050 --
include/ptlib/msos/ptlib/contain.h | 8 +-
include/ptlib/msos/ptlib/ptlib.inl | 3 -
include/ptlib/msos/ptlib/sound_win32.h | 7 +-
include/ptlib/msos/ptlib/thread.h | 8 +-
include/ptlib/msos/ptlib_2003.dtf | 17398 -------
include/ptlib/msos/ptlib_2005.dtf | 10194 ++--
include/ptlib/msos/ptlib_2005_wm.dtf | 6684 +--
include/ptlib/msos/ptlib_2005_wm6.dtf | 6684 +--
include/ptlib/msos/ptlib_2008.dtf | 8276 ++--
include/ptlib/msos/ptlib_2010.dtf | 42173 ++++++++---------
include/ptlib/msos/ptlibd_2003.dtf | 18340 --------
include/ptlib/msos/ptlibd_2005.dtf | 11185 ++---
include/ptlib/msos/ptlibd_2005_wm.dtf | 6969 +--
include/ptlib/msos/ptlibd_2005_wm6.dtf | 6969 +--
include/ptlib/msos/ptlibd_2008.dtf | 8953 ++--
include/ptlib/msos/ptlibd_2010.dtf | 45919 ++++++++++---------
include/ptlib/msos/ptlibn_2003.dtf | 17342 -------
include/ptlib/msos/ptlibn_2005.dtf | 10150 ++--
include/ptlib/msos/ptlibn_2005_wm.dtf | 6642 +--
include/ptlib/msos/ptlibn_2005_wm6.dtf | 6642 +--
include/ptlib/msos/ptlibn_2008.dtf | 8231 ++--
include/ptlib/msos/ptlibn_2010.dtf | 41889 ++++++++---------
include/ptlib/object.h | 12 +-
include/ptlib/pprocess.h | 74 +-
include/ptlib/pstring.h | 16 +-
include/ptlib/psync.h | 11 +-
include/ptlib/safecoll.h | 49 +-
include/ptlib/socket.h | 14 +-
include/ptlib/sound.h | 41 +-
include/ptlib/thread.h | 30 +-
include/ptlib/unix/ptlib/mutex.h | 21 +-
include/ptlib/unix/ptlib/pmachdep.h | 29 +-
include/ptlib/unix/ptlib/ptlib.inl | 11 +-
include/ptlib/unix/ptlib/thread.h | 19 +-
make/plugins.mak | 8 +-
make/ptbuildopts.mak.in | 1 -
make/unix.mak | 52 +-
msvc6_upgrade.bat | 4 -
plugins/configure.in | 4 +-
plugins/sound_alsa/sound_alsa.cxx | 21 +-
plugins/sound_pulse/sound_pulse.cxx | 21 +-
plugins/sound_pulse/sound_pulse.h | 5 +
plugins/vidinput_v4l2/vidinput_v4l2.cxx | 561 +-
plugins/vidinput_v4l2/vidinput_v4l2.h | 28 +-
ptlib.dsw | 332 -
ptlib.m4 | 13 +-
ptlib.pc.in | 1 -
ptlib.vcp | 10336 -----
ptlib_2003.sln | 70 -
ptlib_samples_2003.sln | 308 -
ptlib_samples_2010.sln | 4 +-
revision.h.in | 8 +-
samples/ODBC/odbctest.dsp | 102 -
samples/ODBC/odbctest.dsw | 29 -
samples/ODBC/odbctest.vcproj | 168 -
{tools => samples}/StringTest/Makefile | 0
{tools => samples}/StringTest/StringTest.vcproj | 0
{tools => samples}/StringTest/main.cxx | 0
{tools => samples}/StringTest/main.h | 0
{tools => samples}/StringTest/version.h | 0
samples/ThreadSafe/ThreadSafe.dsp | 115 -
samples/ThreadSafe/ThreadSafe.vcproj | 282 -
samples/aggtest/aggtest.vcproj | 202 -
samples/audio/audio.cxx | 24 +-
samples/dnstest/dnstest.dsp | 115 -
samples/dnstest/dnstest.dsw | 44 -
samples/dnstest/dnstest.vcproj | 281 -
samples/dtmftest/dtmftest.dsp | 123 -
samples/dtmftest/dtmftest.dsw | 29 -
samples/dtmftest/dtmftest.vcproj | 290 -
samples/emailtest/emailtest.dsp | 123 -
samples/emailtest/emailtest.dsw | 29 -
samples/emailtest/emailtest.vcproj | 299 -
samples/factory/factory.dsp | 182 -
samples/factory/factory.vcproj | 329 -
samples/find_ip/find_ip.dsp | 99 -
samples/find_ip/find_ip.vcproj | 270 -
samples/ipv6test/ipv6test.dsp | 123 -
samples/ipv6test/ipv6test.dsw | 29 -
samples/ipv6test/ipv6test.vcproj | 290 -
samples/ldaptest/ldaptest.dsp | 124 -
samples/ldaptest/ldaptest.vcproj | 293 -
samples/lua/lua.cxx | 6 +-
samples/netif/netif_2003.vcproj | 219 -
{tools => samples}/plugintest/Makefile | 0
{tools => samples}/plugintest/main.cxx | 0
{tools => samples}/plugintest/main.h | 0
{tools => samples}/plugintest/plugintest.vcproj | 0
samples/ptimer/ptimer.dsp | 123 -
samples/ptimer/ptimer.dsw | 29 -
samples/ptimer/ptimer.vcproj | 287 -
samples/pxml/PxmlTest.dsp | 116 -
samples/pxml/PxmlTest.dsw | 29 -
samples/pxml/PxmlTest.vcproj | 281 -
samples/pxml/main.cxx | 182 +-
samples/queue/queue.dsp | 148 -
samples/queue/queue.dsw | 29 -
samples/queue/queue.vcproj | 283 -
samples/safetest/safetest.dsp | 123 -
samples/safetest/safetest.dsw | 29 -
samples/safetest/safetest.vcproj | 284 -
samples/sockbundle/sockbundle.vcproj | 276 -
samples/sockbundle/sockbundle_2003.vcproj | 240 -
samples/sortedlist/SortedListTest.dsp | 115 -
samples/sortedlist/SortedListTest.vcproj | 279 -
samples/stunclient/stunclient.dsp | 118 -
samples/stunclient/stunclient.vcproj | 284 -
samples/threadex/threadex.dsp | 123 -
samples/threadex/threadex.dsw | 29 -
samples/threadex/threadex.vcproj | 287 -
samples/timing/timing.dsp | 99 -
samples/timing/timing.vcproj | 271 -
samples/vidtest/main.cxx | 43 +-
samples/vidtest/vidtest.dsp | 123 -
samples/vidtest/vidtest.dsw | 29 -
samples/vidtest/vidtest.vcproj | 290 -
samples/vidtest/vidtest_2008.vcproj | 244 +-
samples/vxmltest/vxmltest.dsp | 116 -
samples/vxmltest/vxmltest.vcproj | 281 -
samples/wavfile/wavfile.dsp | 124 -
samples/wavfile/wavfile.vcproj | 240 -
samples/xmlrpc/xmlrpc.dsp | 117 -
samples/xmlrpc/xmlrpc.dsw | 44 -
samples/xmlrpc/xmlrpc.vcproj | 252 -
samples/xmlrpcsrvr/xmlrpcsrvr.dsp | 194 -
samples/xmlrpcsrvr/xmlrpcsrvr.dsw | 68 -
samples/xmlrpcsrvr/xmlrpcsrvr.vcproj | 355 -
samples/xmpptest/xmpptest.dsp | 149 -
samples/xmpptest/xmpptest.vcproj | 362 -
src/Makefile | 2 +-
src/ptclib/httpclnt.cxx | 100 +-
src/ptclib/lua.cxx | 12 +-
src/ptclib/pdns.cxx | 189 +-
src/ptclib/pldap.cxx | 15 +-
src/ptclib/psockbun.cxx | 17 +-
src/ptclib/pvfiledev.cxx | 39 +-
src/ptclib/pwavfile.cxx | 21 +-
src/ptclib/pwavfiledev.cxx | 25 +-
src/ptclib/pxml.cxx | 303 +-
src/ptclib/url.cxx | 20 +-
src/ptclib/vsdl.cxx | 133 +-
src/ptclib/vxml.cxx | 621 +-
src/ptlib/Nucleus++/NucleusProcess.cxx | 3 +
src/ptlib/common/collect.cxx | 36 +-
src/ptlib/common/contain.cxx | 34 +-
src/ptlib/common/osutils.cxx | 107 +-
src/ptlib/common/safecoll.cxx | 72 +-
src/ptlib/common/sockets.cxx | 91 +-
src/ptlib/common/sound.cxx | 265 +-
src/ptlib/common/syslog.cxx | 6 +-
src/ptlib/msos/Console_2010.vcxproj | 3 +
src/ptlib/msos/PTLib_2008.vcproj | 56 +-
src/ptlib/msos/directshow.cxx | 35 +-
src/ptlib/msos/sound_directsound.cxx | 120 +-
src/ptlib/msos/sound_win32.cxx | 202 +-
src/ptlib/msos/svcproc.cxx | 123 +-
src/ptlib/msos/vfw.cxx | 307 +-
src/ptlib/msos/win32.cxx | 73 +-
src/ptlib/msos/winsock.cxx | 10 +-
src/ptlib/unix/assert.cxx | 18 +-
src/ptlib/unix/channel.cxx | 7 +-
src/ptlib/unix/osutil.cxx | 30 +-
src/ptlib/unix/serchan.cxx | 13 +-
src/ptlib/unix/svcproc.cxx | 6 +-
src/ptlib/unix/tlib.cxx | 18 +-
src/ptlib/unix/tlibbe.cxx | 7 +-
src/ptlib/unix/tlibmpthrd.cxx | 7 +-
src/ptlib/unix/tlibthrd.cxx | 389 +-
src/ptlib/unix/tlibvx.cxx | 7 +-
src/ptlib/unix/udll.cxx | 67 +-
tools/MergeSym/MergeSym.cxx | 252 +-
tools/MergeSym/MergeSym.dsp | 99 -
tools/MergeSym/MergeSym.dsw | 29 -
tools/MergeSym/MergeSym.vcproj | 211 -
tools/StringTest/StringTest.dsp | 115 -
tools/StringTest/StringTest.dsw | 29 -
tools/Uninstall/resource.h | 20 -
tools/Uninstall/uninstall.c | 620 -
tools/Uninstall/uninstall.def | 11 -
tools/Uninstall/uninstall.dsp | 171 -
tools/Uninstall/uninstall.dsw | 29 -
tools/Uninstall/uninstall.rc | 78 -
tools/asnparser/asnparser.dsp | 196 -
tools/asnparser/asnparser.dsw | 41 -
tools/asnparser/asnparser_2003.sln | 21 -
tools/asnparser/asnparser_2008.sln | 20 +
.../{asnparser.vcproj => asnparser_2008.vcproj} | 276 +-
tools/configure/configure.dsp | 97 -
tools/configure/configure.vcproj | 224 -
tools/msvc6chk/msvc6chk.cpp | 337 -
tools/msvc6chk/msvc6chk.dsp | 113 -
tools/msvc6chk/msvc6chk.dsw | 29 -
tools/msvc6chk/upgrades/deque | 633 -
tools/msvc6chk/upgrades/fstream | 395 -
tools/msvc6chk/upgrades/list | 486 -
tools/msvc6chk/upgrades/vector | 640 -
tools/msvc6chk/upgrades/xmemory | 130 -
tools/msvc6chk/upgrades/xstring | 638 -
tools/msvc6chk/upgrades/xtree | 658 -
tools/plugintest/plugintest.dsp | 115 -
version.h | 2 +-
235 files changed, 121535 insertions(+), 202844 deletions(-)
diff --cc debian/changelog
index 0dcc53d,0000000..1d85dbe
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,1728 -1,0 +1,1796 @@@
++ptlib (2.10.10~dfsg-4.1) unstable; urgency=low
++
++ * Non-mantainer upload.
++ * Define P_64BIT and LIB64 for arm64, mips64(el) and ppc64el (Closes: #748911).
++
++ -- YunQiang Su <syq at debian.org> Wed, 08 Oct 2014 10:18:48 +0800
++
++ptlib (2.10.10~dfsg-4) unstable; urgency=medium
++
++ * patches/bison-fix: Update patch to fix crash (Closes: Bug#735600).
++
++ -- Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr> Fri, 17 Jan 2014 08:50:49 +0100
++
++ptlib (2.10.10~dfsg-3) unstable; urgency=low
++
++ * patches/bison-fix: Fix build with bison 3.0 (Closes: Bug#733396).
++ * Ack NMU, thanks Samuel!
++
++ -- Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr> Wed, 08 Jan 2014 14:50:49 +0100
++
++ptlib (2.10.10~dfsg-2.1) unstable; urgency=low
++
++ * NMU with agreement of maintainer.
++ * patches/hurd-fix: Fix hurd build (Closes: Bug#729184).
++ * control: Bump doxygen version to 1.8.5-1 to avoid its hang bug
++ (Closes: #729243).
++
++ -- Samuel Thibault <sthibault at debian.org> Sun, 10 Nov 2013 20:50:49 +0100
++
++ptlib (2.10.10~dfsg-2) unstable; urgency=low
++
++ * Upload to Unstable
++
++ -- Mark Purcell <msp at debian.org> Sun, 05 May 2013 21:39:44 +1000
++
++ptlib (2.10.10~dfsg-1) experimental; urgency=low
++
++ [ Eugen Dedu ]
++ * New upstream release
++
++ -- Mark Purcell <msp at debian.org> Sat, 23 Feb 2013 09:43:13 +1100
++
++ptlib (2.10.9~dfsg-1) experimental; urgency=low
++
++ [ Eugen Dedu ]
++ * New upstream release
++ - fixes GNU/Hurd build
++ * NEW package libpt2.10.9 - match-soname
++ * Remove some unneeded Build-Conflicts
++
++ -- Mark Purcell <msp at debian.org> Tue, 27 Nov 2012 20:28:07 +1100
++
++ptlib (2.10.7~dfsg-1) experimental; urgency=low
++
++ * New upstream release
++ - Fixes " FTBFS on Debian GNU/Hurd [patch attached]" (Closes: #681645)
++ * NEW package libpt2.10.7 - match-soname
++ * Update debian/watch
++
++ -- Mark Purcell <msp at debian.org> Sat, 01 Sep 2012 10:09:01 +1000
++
++ptlib (2.10.5~dfsg-1) experimental; urgency=low
++
++ * New Upstream Release
++ * NEW package libpt2.10.5 - match-soname
++
++ -- Mark Purcell <msp at debian.org> Wed, 23 May 2012 07:59:30 +1000
++
+ptlib (2.10.4~dfsg-1) unstable; urgency=low
+
+ * New upstream release
+
+ [ Eugen Dedu ]
+ * Replace !kfreebsd* Build-Depends with linux-any to easy ports (Closes:
+ #634502)
+
+ [ Mark Purcell ]
+ * NEW package libpt2.10.4 - soname bump
+ * Upload to unstable - coordinated through debian-release
+ * Ack NMU - Thks Robert
+ * Fixed upstream "RTF_WASCLONED macro" (Closes: #637944)
+ * Drop symbol support - few rdepends and exporting lots of symbols (C++)
+
+ -- Mark Purcell <msp at debian.org> Sat, 03 Mar 2012 08:38:24 +1100
+
+ptlib (2.6.7-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix for missing RTF_WASCLONED macro on GNU/kFreeBSD. (Closes: #637944)
+ * Replace hard-coded non-Linux architectures with "linux-any".
+ (Closes: #634502)
+
+ -- Robert Millan <rmh at debian.org> Sat, 22 Oct 2011 17:28:09 +0200
+
+ptlib (2.10.2~dfsg-0ubuntu1) oneiric; urgency=low
+
+ * Merge with Debian experimental. (LP: #836915) Remaining Ubuntu changes:
+ - debian/rules: Configure with --enable-exceptions, to avoid
+ -fno-exceptions leaking into pkg-config.
+ * New upstream bug fix release
+ * Drop pluginmgr.patch, dlclose_fix.patch: Included upstream.
+ * debian/rules: Disable failing and rather dubious "compiled static" test,
+ as this makes no actual effort of checking the binary. (The binary is
+ really compiled dynamically)
+
+ -- Martin Pitt <martin.pitt at ubuntu.com> Sat, 10 Sep 2011 09:12:12 +0200
+
+ptlib (2.10.1~dfsg-1) experimental; urgency=low
+
+ * New upstream release: 2.10.1 (Luyten)
+ Closes: #622012, #598986
+ * Re-Add myself to Uploaders
+ * Bump debhelper compat to 8
+ * Fix debian/watch to allow double digit minor versions
+ * Drop Changelog-ptlib from docs as upstream doesn't ship it
+ * Bump Standards-Version to 3.9.2 - no changes required
+ * Update VCS browser field to anonscm.d.o
+ * Repack as DFSG to remove upstream's windows binaries
+ * Fix debian/watch to add ~dfsg version mangle
+ * Remove unused ${shlibs:Depends} from libpt-dev, libpt-dbg and libpt-doc
+ * Re-Add more complete clean target and debian/clean for dh_clean to wipe
+ out leftover files
+ * Replace jquery.js with Debian's version to make lintian happy
+ * Add symbols file for libpt2.10.1 (but don't fail builds while we're in
+ experimental)
+ * Add pkg-kde-tools to take advantage of pkgkde-symbolshelper which is
+ better suited for C++ libs - thanks to Modestas Vainius!
+ (this makes c++ symbol files somewhat less painful. But still different
+ g++ versions emit a bit different symbol sets so ftbfs'es happen)
+ * Register API documentation with doc-base
+ * Add dlclose fixes from upstream to unloading plugins without ld.so issuing
+ an error
+
+ -- Kilian Krause <kilian at debian.org> Tue, 12 Jul 2011 08:41:14 +0200
+
+ptlib (2.8.4-1) experimental; urgency=low
+
+ * New upstream release
+ * NEW package libpt2.8.4 - soname bump
+
+ -- Mark Purcell <msp at debian.org> Tue, 01 Mar 2011 07:58:50 +1100
+
+ptlib (2.8.3-1) experimental; urgency=low
+
+ * New upstream release
+ * NEW package libpt2.8.3 - soname bump
+ * Add Build-Depends: libpulse-dev - Pulse audio support
+ * dh_installchangelogs ChangeLog-ptlib-*.txt
+
+ -- Mark Purcell <msp at debian.org> Sat, 29 Jan 2011 19:43:33 +1100
+
+ptlib (2.8.2-1) experimental; urgency=low
+
+ * New upstream release
+ - NEW packages libpt[2.8.2,-dbg] - soname bump
+ * Standards Version 3.9.1 - no changes
+ * source/format -> 3.0 (quilt)
+
+ -- Mark Purcell <msp at debian.org> Sat, 31 Jul 2010 12:55:13 +1000
+
+ptlib (2.8.1-1) experimental; urgency=low
+
+ * New upstream release
+ - NEW packages libpt2.8.1[-dbg] - soname bump
+ * Sync from branches/ptlib-2.6
+
+ -- Mark Purcell <msp at debian.org> Sun, 30 May 2010 13:37:37 +1000
+
+ptlib (2.6.7-2) unstable; urgency=low
+
+ * Add source/format '3.0 (quilt)'
+ * libpt-dbg package - versioning removed
+ * Update +Vcs-Svn: +Vcs-Browser:
+ * Drop unsupported SSLv2_method - removed from openssl
+ - Fixes "FTBFS: ptclib/pssl.cxx:810:27: error: 'SSLv2_method' was not
+ declared in this scope" (Closes: #622012)
+
+ -- Mark Purcell <msp at debian.org> Sat, 02 Jul 2011 16:08:39 +1000
+
+ptlib (2.6.7-1) unstable; urgency=low
+
+ [Mark Purcell]
+ * New upstream release
+ - NEW package libpt2.6.7 - soname bump
+ - Fix FTBFS on GNU/kFreeBSD (Closes: #545948)
+ * Constrain debian/watch to just track 2.6 series (Lalande release)
+ - Move to svn://svn.debian.org/pkg-voip/ptlib/branches/ptlib-2.6
+ * Switch to dh (7) - drop cdbs
+ * Depreciate libptX.X.X-plugins -> libptX.X.X
+ - Makes dependent packages binNMU safe
+ * Reinstate get-orig-source target - uscan
+
+ [Eugen Dedu]
+ * Remove Build-Conflict with its own runtime (Closes: #459712)
+
+ -- Mark Purcell <msp at debian.org> Thu, 27 May 2010 22:27:41 +1000
+
+ptlib (2.8.0-1) experimental; urgency=low
+
+ * New upstream release
+ * NEW package libpt2.8.0 - soname bump
+
+ -- Mark Purcell <msp at debian.org> Sun, 07 Mar 2010 09:31:14 +1100
+
+ptlib (2.6.5-1) unstable; urgency=low
+
+ * New upstream release
+ - fix compilation on kFreeBSD (Closes: #545948)
+
+ -- Mark Purcell <msp at debian.org> Sat, 03 Oct 2009 17:11:51 +1000
+
+ptlib (2.6.4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #533519)
+ * Gather all the current plugins into one package, since they were
+ really small.
+ - NEW package libpt2.6.4-plugins
+
+ -- Mark Purcell <msp at debian.org> Sat, 06 Jun 2009 12:21:35 +1000
+
+ptlib (2.6.3-1) unstable; urgency=low
+
+ * New upstream release
+ - soname bump - NEW package libpt2.6.3
+ - ptlib transition continues ;-)
+ * Another variable in debian/watch
+
+ -- Mark Purcell <msp at debian.org> Sat, 06 Jun 2009 06:20:50 +1000
+
+ptlib (2.6.2-1) unstable; urgency=low
+
+ * New upstream release
+ - soname bump - NEW package libpt2.6.2
+ - ptlib transition agreed on debian-release
+
+ [ Kilian Krause ]
+ * Remove -N from wget args in get-orig-source target as -O is already
+ used.
+
+ -- Mark Purcell <msp at debian.org> Wed, 27 May 2009 05:33:29 +1000
+
+ptlib (2.6.1-2) unstable; urgency=low
+
+ * Upload to unstable
+ - ptlib transition - discussed on debian-release
+ * Update debian/copyright - Thks Charles & Eugen
+ - (Closes: #525286): "Missing entries in debian/copyright."
+
+ -- Mark Purcell <msp at debian.org> Mon, 27 Apr 2009 19:48:16 +1000
+
+ptlib (2.6.1-1) experimental; urgency=low
+
+ * New upstream release.
+
+ [ Eugen Dedu ]
+ * Remove DC and AVC plugin packages, since they do not compile anymore
+ with current versions of libraw1394/libdc1394/libavc1394 in debian.
+ * debian/rules: Honour DEB_BUILD_OPTIONS parameter for parallel builds.
+ * Fix control fields: Vcs-Svn and Vcs-Browser.
+
+ [ Mark Purcell ]
+ * Switch development package to libpt-dev. Guidance from debian-release
+ * Begin migration from old libpt versions
+ * Update debian/watch -> sf.net & ftp.gnome.org
+ * debian/libpt-dev.install replaces mv/cp stataments in debian/rules
+ * Add Build-Depends: libv4l-dev (Closes: #512931)
+ * Call dh_prep vice dh_clean -k
+
+ -- Mark Purcell <msp at debian.org> Fri, 03 Apr 2009 00:22:05 +1100
+
+ptlib (2.4.2-3) experimental; urgency=low
+
+ * Provide ODBC support Build-Depend: / Depend: unixodbc-dev
+ - fixes ekiga i386 build issues
+ * libpt2.4.2-dev Depends: pkg-config
+
+ -- Mark Purcell <msp at debian.org> Wed, 10 Dec 2008 21:14:24 +1100
+
+ptlib (2.4.2-2) experimental; urgency=low
+
+ [ Eugen Dedu ]
+ * Build-Depends on pkg-config, allowing to correctly build the package.
+
+ [ Mark Purcell ]
+ * Integrate historic pwlib{-titan} debian/changelog
+
+ -- Mark Purcell <msp at debian.org> Sat, 15 Nov 2008 08:10:21 +1100
+
+ptlib (2.4.2-1) experimental; urgency=low
+
+ [ Eugen Dedu ]
+ * New stable version 2.4.2, with update of debian files
+
+ -- Mark Purcell <msp at debian.org> Thu, 06 Nov 2008 21:30:25 +1100
+
+ptlib (2.3.0+svn20940-1) experimental; urgency=low
+
+ [ Eugen Dedu ]
+ * Build-Depends on libdv4-dev instead of libdv-dev
+ * Fix naming Portable Windows -> Portable Tools in control file
+ * Really include upstream changelog in the package
+ * Build from svn snapshot REV 20940
+
+ -- Mark Purcell <msp at debian.org> Sun, 14 Sep 2008 15:57:47 +1000
+
+ptlib (2.3.0+svn20904-1) experimental; urgency=low
+
+ [ Eugen Dedu ]
+ * First upload of svn snapshot to debian.
+ * Build from REV 20904, take into account the changes
+ * Make use of make install, simplify the install target in rules file
+ * Rename package to -beta1
+
+ [ Mark Purcell ]
+ * 2.3.0 was tagged at REV 20678, thus this version 2.3.0+svn
+ * svn REV checkout is controlled from debian/changelog version
+ * Updated debian/watch to pickup next tag
+ * Update Description: to explict state this svn snapshot
+
+ -- Mark Purcell <msp at debian.org> Thu, 11 Sep 2008 21:50:19 +1000
+
+ptlib-snapshot (0-20080418-1) voip; urgency=low
+
+ * Built from SVN snapshots. No package support, please refer to
+ irc.gimp.net channel #ekiga for support. Do not complain about
+ these debs at Debian BTS!
+
+ -- Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr> Sun, 18 Apr 2008 00:00:00 +0200
+
+ptlib-snapshot (0-20071107-03-sid.2) voip-snapshots-debian-sid; urgency=high
+
+ * Built from CVS snapshots. No package support, please refer to
+ irc.gimp.net channel #ekiga for support
+
+ -- Kilian Krause <kilian at debian.org> Sun, 27 May 2007 21:31:35 +0000
+
+pwlib-titan (1.11.2-2) unstable; urgency=low
+
+ [ Kilian Krause ]
+ * Fix debian/watch to use sf.net instead of voxgratia.org (Closes: #453595)
+ * Remove symlinks of unused compatibility versions.
+ * Remove entire -ptrace and -debug build and leave only opt build with
+ PTRACE code as new binary library. Discussion with Robert Jongbloed
+ proved that there's no point shipping any other configuration.
+ * Revert part of 04_names patch to not include OBJDIR_SUFFIX to
+ plugins dir anymore.
+
+ [ Faidon Liambotis ]
+ * Incorporate NMU by Nico Golde, thanks! (Closes: #454139)
+ * Fix bug where shlibs were very strict on binNMUed versions.
+ * Bump Standards-Version to 3.7.3, no changes needed.
+ * Remove doxygen from Build-Depends-Indep since it's present in
+ Build-Depends.
+ * Remove debian/backports/{sarge,dapper} since they are obsolete
+ distributions.
+ * Remove Jose Carlos Garcia Sogo and Santiago Garcia Mantinan from
+ Uploaders and add myself.
+ * Add all copyright holders to debian/copyright.
+ * Fix syntax error in the ptlib-config.1 manpage.
+
+ -- Faidon Liambotis <paravoid at debian.org> Wed, 02 Apr 2008 07:14:27 +0300
+
+pwlib-titan (1.11.2-1.1) unstable; urgency=high
+
+ * Non-maintainer upload by testing-security team.
+ * Fix remote denial of service vulnerability caused
+ by a call to PString::vsprintf if the used object already
+ contained more than 1000 characters (CVE-2007-4897; bug #454139).
+
+ -- Nico Golde <nion at debian.org> Mon, 03 Dec 2007 13:20:05 +0100
+
+pwlib-titan (1.11.2-1) unstable; urgency=low
+
+ * New upstream release (unstable branch).
+
+ [ Kilian Krause ]
+ * Add dpkg-dev (>= 1.13.19) to Build-Deps to allow use of binary:Version.
+ * Remove circular dependencies from plugins.
+ * Remove get-orig-source until upstream provides the tarball on their
+ website again.
+ * Fixup debian/watch.
+ * Remove compat symlinks.
+ * Remove implicit rules-ignores-make-clean error
+ * Fix dh_strip call to use $(PACKAGE) for all packs properly.
+ * Add Homepage field as added in dpkg-dev 1.14.6.
+
+ [ Faidon Liambotis ]
+ * Adapt shlibs to depend on the upstream's version number and not the Debian
+ version number, since we don't extend the ABI. This also imitates
+ debhelper's behavior.
+
+ -- Kilian Krause <kilian at debian.org> Sat, 22 Sep 2007 14:43:52 +0200
+
+pwlib (1.10.7~dfsg1-4) unstable; urgency=high
+
+ * Add missing libpt.so.* compat symlinks. The libpt.so.1.10 is supposed to
+ be compatible with all build versions. Probably we should revert that
+ SONAME "fix" upstream to just $major.$minor as is what Craig reckons is
+ kept as API/ABI for a stable release. (Closes: #434077)
+ * Urgency high due to RC bug.
+
+ -- Kilian Krause <kilian at debian.org> Sun, 22 Jul 2007 02:57:29 +0200
+
+pwlib (1.10.7~dfsg1-3) unstable; urgency=low
+
+ * Add missing conflicts (Closes: #433185)
+
+ -- Kilian Krause <kilian at debian.org> Mon, 16 Jul 2007 13:50:38 +0200
+
+pwlib (1.10.7~dfsg1-2) unstable; urgency=low
+
+ * Fix compilation of V4L2 on i386. Backport patch from upstream.
+ * Fix Source-Version to become binary:Version for binNMU-safety.
+
+ -- Kilian Krause <kilian at debian.org> Wed, 04 Jul 2007 19:11:46 +0200
+
+pwlib (1.10.7~dfsg1-1) unstable; urgency=low
+
+ * New upstream version.
+ * Update debian/rules to build also ptrace-enabled opt version and
+ ptrace-enabled debug version (with extra PTRACE code) as was often
+ requested by Ekiga developers.
+ * Ship external debug symbols directly in new ptrace and develop package.
+ * Add symlinks for linking only in libpt-dev rather than each libpt package.
+ Backward compatibility links are still added to allow clean upgrade paths
+ without rebuild when build-version has been bumped. Upstream reckons the
+ API with stable OpenH323 releases (pwlib, opal, openh323) is supposed to
+ remain identical for all upsates with the same minor version number.
+ (Closes: #424050)
+ * Depend on at least one plugin for audio and video for libpt-1.10.0. The
+ -develop and -ptrace have their plugins included. No need to depend here.
+
+ -- Kilian Krause <kilian at debian.org> Tue, 3 Jul 2007 21:49:46 +0200
+
+pwlib (1.10.2-2) unstable; urgency=high
+
+ * Correct the versioned dependency to the lib we're building right now to
+ overcome problems like #392522. Setting urgency=high, for we're closing an
+ RC-bug.
+
+ -- Kilian Krause <kilian at debian.org> Sun, 22 Oct 2006 11:05:39 +0200
+
+pwlib (1.10.2-1) unstable; urgency=low
+
+ * New upstream release. No more dfsg-repack should be needed, RFC files
+ deleted upstream.
+
+ [ Kilian Krause ]
+ * Rename configure target to config.status
+ * Updated Homepage to www.voxgratia.org in package descriptions
+ (Closes: #383173)
+ * Document that libpt-dbg is only debug symbols. Eventually this should
+ become a switch in the debian/rules to make debug-compile one simple
+ rebuild for the user or even automagically be added to more powerful
+ platforms. (Closes: #345511)
+
+ -- Kilian Krause <kilian at debian.org> Mon, 9 Oct 2006 13:27:28 +0200
+
+pwlib (1.10.1.dfsg-1) unstable; urgency=low
+
+ [ Kilian Krause ]
+ * New upstream release. (Closes: #365177)
+ * debian/rules: Use CURDIR rather than PWD to make sure we can build with
+ sudo.
+
+ [ Mark Purcell ]
+ * Update debian/watch for numerics
+
+ -- Kilian Krause <kilian at debian.org> Fri, 9 Jun 2006 19:33:41 +0000
+
+pwlib (1.10.0-1) unstable; urgency=low
+
+ * New upstream release (Phobos_release).
+ * hush version.h error message when tarball not yet extracted
+ * Sarge compatibility: if debhelper compat is 4, use older strip
+
+ -- Kilian Krause <kilian at debian.org> Mon, 13 Mar 2006 23:46:34 +0000
+
+pwlib (1.9.3-2) unstable; urgency=low
+
+ * Fix compilation on alpha with switching -Os back to -O2. Apparently gcc is
+ still broken.
+
+ -- Kilian Krause <kilian at debian.org> Sun, 19 Feb 2006 22:10:42 +0100
+
+pwlib (1.9.3-1) unstable; urgency=low
+
+ * New upstream release. (Phobos-devel3, Prerelease for Ekiga 2.00 BETA2)
+ Naming according to final API names of Phobos.
+
+ -- Kilian Krause <kilian at debian.org> Mon, 6 Feb 2006 20:45:01 +0100
+
+pwlib (1.8.7-2) unstable; urgency=high
+
+ * High-urgency upload for multiple RC bugfixes.
+ * Fix casts to match current OpenSSL prototypes (closes: #335490).
+ * Use -O2 instead of -Os when building, as recommended by policy; this
+ fixes a build-time failure on alpha when running any code linked against
+ libpt.
+ * Drop the libpt.so.1.8.3 and libpt.so.1.8.4 symlinks; the native soname
+ is now libpt.so.1.8.7, so since we're no longer compatible with older
+ reverse-dependencies anyway due to the ABI change, these serve no
+ purpose. Here's hoping someone clues upstream in on handling of SONAMEs
+ before the next release.
+ * Rename libpt-1.8.3c2 to libpt-1.8.7 for the C++ mt allocator ABI
+ transition, and conflict/replace libpt-1.8.3c2 accordingly
+ (closes: #339253). Thanks to the change above, this only requires
+ conflict/replacing libpt-1.8.3c2 (>= 1.8.7-1).
+ * Get rid of the useless /usr/lib/libpt.so.1 link: this serves no purpose
+ when the package soname is libpt.so.1.8.7, because *nothing* will ever
+ use it, so the easiest way to avoid conflicts is to not ship it
+ anywhere! (closes: #331634)
+ * Fix most of the warnings.
+ * Thanks goes to Steve Langasek and Jose Carlos Garcia Sogo for their help
+ on preparing this!
+
+ -- Kilian Krause <kilian at debian.org> Sun, 4 Dec 2005 00:58:44 +0100
+
+pwlib (1.8.7-1) unstable; urgency=low
+
+ * Mimas_patch2 is 1.8.7. And shlibdeps imposes this as version.
+
+ -- Kilian Krause <kilian at debian.org> Wed, 14 Sep 2005 18:14:03 +0200
+
+pwlib (1.8.4-3) unstable; urgency=low
+
+ * Move symlinks to -dev package where they belong and don't conflict no more
+ with libs we don't share files with. (Closes: #320105)
+ * Update to Mimas_patch2.
+
+ -- Kilian Krause <kilian at debian.org> Tue, 13 Sep 2005 19:52:03 +0200
+
+pwlib (1.8.4-2) unstable; urgency=low
+
+ * Jose Carlos:
+ + Ack previous NMU. Thanks to Sam Hocevar for his work.
+ (Closes: #315233, #309873, #313032, #310825, #310813)
+ * Kilian:
+ + Included Mimas_patch1.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Fri, 15 Jul 2005 10:21:16 +0300
+
+pwlib (1.8.4-1.1) unstable; urgency=low
+
+ * Non-maintainer upload (g++ transition).
+ * debian/control:
+ + Build-depend on libdc1394-13-dev instead of libdc1394-11-dev so that
+ the package can build (Closes: #315233) and libpt-plugins-dc is
+ installable again (Closes: #309873, #313032).
+ + Removed the build-dependency on g++.
+ + Renamed package to libpt-1.8.3c2 for the g++ transition (Closes: #310825).
+ * debian/patches/08_g++4.dpatch:
+ + Patch courtesy of Andreas Jochens to fix g++4.0 build.
+ * debian/rules:
+ + Copy config.sub and config.guess instead of linking them to allow the
+ package to rebuild properly (Closes: #310813).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Thu, 14 Jul 2005 14:39:40 +0300
+
+pwlib (1.8.4-1) unstable; urgency=low
+
+ * New upstream release, codename Mimas.
+ * Release targeted for Sid.
+
+ -- Kilian Krause <kk at verfaction.de> Sun, 20 Feb 2005 22:35:14 +0100
+
+pwlib (1.8.3-2) experimental; urgency=low
+
+ * Renamed package to 1.8.3, to be coherent with the first upstream
+ version present in Debian archives.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sat, 18 Dec 2004 11:47:00 +0100
+
+pwlib (1.8.3-1) experimental; urgency=low
+
+ * New upstream release (Atlas)
+ + debian/control: updated package names
+ + debian/control: conflict with older 1.7.5 versions
+ + debian/rules: tweak compat version to 1.8.2
+ + debian/rules: enabled support for v4l2. Created new plugin package.
+
+ * Build-Depend on libdc1394-11-dev. (Closes: #277701, #278847)
+ * Build-Depend on linux-kernel-headers to get video4linux2 support.
+
+ * debian/patches:
+ + 00list: disable 03_getdate.tab (Closes: #276200)
+
+ * debian/rules: minor cleanups
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sun, 28 Nov 2004 20:33:23 +0100
+
+pwlib (1.7.5.2-3) experimental; urgency=low
+
+ * Fixed maintainer field, which was hosed by pbuilder.
+ * Clean hello_world after the test. (Closes: #273635)
+ * Conflicts with libpt-1.6.3 and libpt-1.5.2. (Closes: #265447)
+ * These are the new stable versions for pwlib. (Closes: #270061)
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sat, 2 Oct 2004 16:45:18 +0200
+
+pwlib (1.7.5.2-2) experimental; urgency=low
+
+ * debian/rules:
+ + drop debugshared and debugnoshared make targets. Those build hughe
+ libraries, which are not needed in Debian.
+ + Lot of changes to make -dbg package to only contain symbols that were
+ stripped from shared library and plugins.
+ + Both changes reduce the compilation time and the size of -dbg package.
+ * debian/patches:
+ + 07_nostrip: we don't want to strip when linking for shared library.
+ That is going to be handled later in the package building process.
+
+ * README.Debian: updated
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Fri, 1 Oct 2004 20:48:52 +0200
+
+pwlib (1.7.5.2-1) experimental; urgency=low
+
+ * Kilian Krause
+ + New upstream update (Pandora)
+ + make sure we're the only pwlib around while building and when
+ installed
+ + debian/rules: make sure the lib works before packaging it
+ + debian/control: we need only doxygen, but as build-depends aswell as
+ build-depends-indep. (see 218893 for details, 229357 holds a fix for
+ dpkg, but isn't applied so far)
+
+ * Jose Carlos
+ + Merging versions and changes from 1.6.5-2 to 1.6.6.4-5
+ + Added libkrb5-dev to Build-Depends: field.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Tue, 28 Sep 2004 20:02:51 +0200
+
+pwlib (1.7.5-1) experimental; urgency=low
+
+ * Jose Carlos
+ + New upstream version (Pandora)
+ + We have Build-Dependencies declared on needed libs some time ago now.
+ (Closes: #209130)
+ + Build-Depend on libdc1394-10-dev (Closes: #255494)
+ + debian/patches:
+ - Set our patches for this version
+ - 01_alpha: fixes compilation in alpha
+ - 01_unix.mak: split in 01_alpha and 04_names
+ - 03_getdate.tab: renamed from 03_src_ptlib_unix_Makefile
+ - 04_Makefile.in: applied upstream. Removed
+ - 04_names: change naming of libraries
+ - 05_hppa: fixes compilation in hppa64
+ - 06_plugins_shared: don't compile plugins for static targets
+ - 10_video4dc1394.cxx: fixed upstream. Removed
+
+ + debian/rules:
+ - install ChangeLog from upstream sources
+ - removed any reference to asnparser, which is no longer available
+ - set compat to 1.7.5, as this version is again incompatible with older
+ releases.
+
+ + debian/control:
+ - removed ansparser package
+ - set package names to 1.7.5, and add Replaces to old libpt-1.6.3
+
+ + debian/ChangeLog: removed
+
+ * Kilian Krause
+ + libpt-plugins-alsa now depends on alsa-base. (Closes: #257993)
+ + debian/control:
+ - we now need doxygen as new Build-Dep
+ + debian/rules:
+ - new plugins are called _pwplugin.so instead of only .so
+
+ -- Kilian Krause <kk at verfaction.de> Fri, 13 Aug 2004 10:58:35 +0200
+
+pwlib (1.6.6.4-5) unstable; urgency=high
+
+ * Jose Carlos Garcia Sogo:
+ - debian/patches/00list: removed HPPA "fix" as it broke compilation. HPPA is
+ to be considered 32bit for userspace. 64bit is *ONLY* for kernel! (Closes: #266111)
+ - debian/rules: using dpkg-architecture to properly detect in which
+ architecture type we're being built. Upstream system is broken, and it
+ is causing breakages depending on the buildd that pick us for compiling.
+ (Closes: #271531)
+ - Urgency high as our goal is to put new pwlib/oh323 in Sarge.
+
+ * Kilian Krause:
+ - debian/control: dupe doc++ also in Build-Depends as we need it for the
+ build target *sigh* (check #218893 for details, #229357 holds a patch
+ for dpkg, but it's not applied still)
+
+ -- Kilian Krause <kk at verfaction.de> Sat, 18 Sep 2004 12:53:25 +0200
+
+pwlib (1.6.6.4-4) unstable; urgency=high
+
+ * Recompile with new binutils to solve GM failure in hppa.
+ * Urgency high as our goal is to put new pwlib/oh323 in Sarge.
+ * make doc++ Build-Depends-Indep as it's only needed for libpt-doc
+
+ -- Kilian Krause <kk at verfaction.de> Tue, 7 Sep 2004 01:16:34 +0200
+
+pwlib (1.6.6.4-3) unstable; urgency=high
+
+ * Rebuilding to get right dependencies with libdv in
+ libpt-plugins-avc (Closes: #267754)
+ * Urgency high as we want it to have the chance to propagate
+ to Sarge.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Tue, 24 Aug 2004 21:58:43 +0200
+
+pwlib (1.6.6.4-2) unstable; urgency=low
+
+ * debian/patches/collect.cxx_postrelease_hotfix.dpatch: fixing ohphone,
+ openmcu, gnomemeeting and openam problems. (Closes: #264805)
+
+ -- Kilian Krause <kk at verfaction.de> Tue, 10 Aug 2004 13:40:56 +0000
+
+pwlib (1.6.6.4-1) unstable; urgency=low
+
+ * New upstream update:
+ + Janus_patch4. Diverting from upstream versioning scheme, as this
+ version is also called 1.6.6 from upstream POV.
+ + Removed asnparser from package as it is no longer required.
+ * debian/control: exclude all non-rtti enabled dependant programs from
+ installing alongside the new rtti-enabled pwlib. Also, force pwlib to
+ build without itself being installed (Just make sure, we're the only one
+ around.)
+ * debian/rules:
+ - also update autotools in plugins/
+ - try built pwlib before packaging
+ * debian/patches/01_unix.mak.dpatch: fixed building on alpha. (somewhat this
+ got lost along the way)
+
+ -- Kilian Krause <kk at verfaction.de> Mon, 9 Aug 2004 14:34:26 +0200
+
+pwlib (1.6.6-2) unstable; urgency=low
+
+ * debian/control: alsa-base now recommends for libpt-plugins-alsa, not
+ depends. (Closes: #263332)
+
+ -- Kilian Krause <kk at verfaction.de> Thu, 5 Aug 2004 13:33:30 +0200
+
+pwlib (1.6.6-1) unstable; urgency=low
+
+ * new upstream release: Janus_patch3
+
+ -- Kilian Krause <kk at verfaction.de> Wed, 28 Jul 2004 12:32:27 +0200
+
+pwlib (1.6.5-4) unstable; urgency=low
+
+ * Jose Carlos
+ + Build-Depend on libdc1394-10-dev (Closes: #255494)
+
+ * Kilian Krause
+ + libpt-plugins-alsa now depends on alsa-base. (Closes: #257993)
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sun, 25 Jul 2004 16:07:54 +0200
+
+pwlib (1.6.5-3) unstable; urgency=low
+
+ * Kilian:
+ + Added version >= 0.9.4 to Build-Depends on libdc1394. (Closes: #255494)
+ + Added libsasl2-dev to Build-Depends line.
+ * Jose Carlos:
+ + debian/patches:
+ - 05_hppa: adds missing arch hppa in unix.mak
+ - 06_plugins_shared: don't build plugins for static target.
+ (Closes: #254916)
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sun, 27 Jun 2004 15:11:01 +0200
+
+pwlib (1.6.5-2) unstable; urgency=low
+
+ * Jose Carlos:
+ + Uploading to unstable.
+ + Set Debian VoIP Team as Maintainer.
+
+ * Kilian Krause
+ + Changed Build-Depends from libdv2-dev to libdv-dev. (Closes: #249040)
+ + Fixed API-change with libdc1394 0.9.4
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Tue, 15 Jun 2004 21:15:12 +0200
+
+pwlib (1.6.5-1) experimental; urgency=low
+
+ * New upstream version.
+ * Version number in rules file determined by parsing version.h
+
+ -- Tim Johann <t1m at phrogstar.de> Fri, 26 Mar 2004 01:56:11 +0100
+
+pwlib (1.6.3-1) experimental; urgency=low
+
+ * New upstream version.
+
+ -- Tim Johann <t1m at phrogstar.de> Sat, 28 Feb 2004 22:59:01 +0100
+
+pwlib (1.6.2-1) experimental; urgency=low
+
+ * New upstream version.
+ * New plugin feature now enables us to build for both avc and dc devices.
+ Closes: #216633
+
+ -- Tim Johann <t1m at phrogstar.de> Sun, 15 Feb 2004 23:09:36 +0100
+
+pwlib (1.5.2-4) unstable; urgency=high
+
+ * Added dpatch to fix CVE issue CAN-2004-0097.
+ Thanks to James Strandboge <jstrand1 at rochester.rr.com> for providing
+ the patch. Closes: #233888.
+ * Removed '-pipe', hopefully to get rid of bug #218841.
+ * Dropping '-O2' optimisation, in favour of '-Os', to get smaller libs.
+ Closes: #220885.
+
+ -- Tim Johann <t1m at phrogstar.de> Fri, 27 Feb 2004 17:18:24 +0100
+
+pwlib (1.5.2-3) unstable; urgency=low
+
+ * added -DP_64BIT flag to STDCCFLAGS on alpha, not accounted for upstream
+
+ -- Tim Johann <t1m at phrogstar.de> Sun, 2 Nov 2003 21:16:38 +0100
+
+pwlib (1.5.2-2) unstable; urgency=low
+
+ * added build dependency on libldap2-dev and libsdl1.2-dev.
+ * added install dep of libpt-dev on libsdl1.2-dev, libldap2-dev and
+ libexpat1-dev.
+
+
+ -- Tim Johann <t1m at phrogstar.de> Mon, 22 Sep 2003 22:21:00 +0200
+
+pwlib (1.5.2-1) unstable; urgency=low
+
+ * New upstream version.
+ * Build of static libraries without -fPIC -DPIC .
+ * Build getdate.tab.o without STDCCFLAGS.
+
+ -- Tim Johann <t1m at phrogstar.de> Sat, 26 Aug 2003 03:00:42 +0200
+
+pwlib (1.5.0-1) unstable; urgency=low
+
+ * New upstream version.
+ * New maintainer, closes: #200473
+ * New build mechanism uses autoconf
+ * added man page ptlib-config.1
+ * Added README.Debian
+ * Added dependency of libpt-dev on asnparser (>= ${Source-Version}).
+ As libpt-dbg depends on libpt-dev of the same version, I hope this
+ closes: #198851.
+ * Added patch, so that apps linked against ptlib ask for the full
+ soname of the lib.
+ * Simpler naming scheme. The patch enabled us to just use
+ libpt.so.$(Version) instead of libpt-$(Version).so.$(Version) .
+ * complies standards vesion 3.6.0
+ * debhelper version 4 compatibility
+
+ -- Tim Johann <t1m at phrogstar.de> Tue, 29 Jul 2003 23:54:00 +0200
+
+pwlib (1.4.11-3) unstable; urgency=low
+
+ * IPv6 support doesn't seem to break IPv4, so we'll build with
+ IPv6 support on all arches. Closes: #183484.
+ * Adding IPv6 breaks binary compatibility so I bumped up soname.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 16 Mar 2003 23:23:06 +0100
+
+pwlib (1.4.11-2) unstable; urgency=low
+
+ * Build without IPv6 on all arches.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 16 Mar 2003 19:05:20 +0100
+
+pwlib (1.4.11-1) unstable; urgency=low
+
+ * New upstream version.
+ * Clean up some small typos on the rules.
+ * Added 1394 AVC support. Closes: #183488.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 10 Mar 2003 17:20:45 +0100
+
+pwlib (1.4.10-1) unstable; urgency=low
+
+ * New upstream version.
+ * Reworked the rules. Closes: #180159.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 10 Feb 2003 23:17:48 +0100
+
+pwlib (1.4.8-1) unstable; urgency=low
+
+ * The "bison broken again" release.
+ * We're moving to GCC 3.2, not tagging as soname has changed.
+ * New upstream version. Closes: #166792.
+ * Changed to bison++ cause of bison problems with g++ 3.2.
+ * Change 1394 support back to upstream style. Now programs wanting
+ 1394 support should define TRY_1394DC and build depend on
+ libdc1394-dev (>=0.9.0). Closes: #167754.
+ * Please test on PowerPC to see if we can close #153564.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sat, 18 Jan 2003 16:29:41 +0100
+
+pwlib (1.3.11-1) unstable; urgency=low
+
+ * New upstream version.
+ * Fix typo on description: Closes: #154858.
+ * Compile with 1394 support: Closes: #159865.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 23 Oct 2002 17:06:01 +0200
+
+pwlib (1.3.3-1) unstable; urgency=low
+
+ * New upstream version, compatible with gcc 3.0.
+ I can get rid of our patches at last :-) (cross fingers).
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 10 Jul 2002 11:50:33 +0200
+
+pwlib (1.2.19-1) unstable; urgency=low
+
+ * New upstream version. Fixes powerpc endianness problems.
+ * Fix -O flag. Closes: #147777.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 27 May 2002 17:30:00 +0200
+
+pwlib (1.2.14-2) unstable; urgency=low
+
+ * Add doc++ to the build-depends. Closes: #143546.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Fri, 19 Apr 2002 16:54:10 +0200
+
+pwlib (1.2.14-1) unstable; urgency=low
+
+ * New upstream version.
+ * Moved back into main.
+ * Removed the 10 seconds timeout patch for sockets.
+ * Patched with cvs to solve problems on GM with some cams.
+ It took a lot for upstream to get this patch on cvs, which was
+ the cause of the delay, waiting for upstream decision, sorry :-(
+ * Added a doc package. Closes: #121787.
+ * Changed the description a bit. Closes: #135524.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 8 Apr 2002 19:04:08 +0200
+
+pwlib (1.2.5-5) unstable; urgency=low
+
+ * Fix the problem on getdate.y with new bison not finding EOF,
+ now it compiles again. Thanks to migras and the others for their
+ help and support, today was a really hard day for me :-(
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 12 Feb 2002 20:37:21 +0100
+
+pwlib (1.2.5-4) unstable; urgency=high
+
+ * Patch to remove ALSA devices from the list of OSS compatibles.
+ Fixes a bug on some ALSA systems, they need OSS compatibility
+ modules to be OSS compatible, that way they will work with pwlib.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 8 Jan 2002 21:51:33 +0100
+
+pwlib (1.2.5-3) unstable; urgency=high
+
+ * Patch for Framerate limit to work, thanks to Miguel Rodriguez.
+ * Lowered timeouts for sockets to 10 seconds, also thanks to Miguel.
+ * Compile with -O0 for alpha, sugested by mhp, thanks.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 28 Nov 2001 21:00:38 +0100
+
+pwlib (1.2.5-2) unstable; urgency=low
+
+ * Patched to enable audio output on tv cards.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 25 Nov 2001 16:44:28 +0100
+
+pwlib (1.2.5-1) unstable; urgency=low
+
+ * New upstream version.
+ * Heavily rewritten, we now allow several versions of the libs to
+ be installed and I'll try to guess compatibility info and try to
+ state that in the version numbering and shlibs of the package.
+ * Reworked the -dbg package, it now has a shared version of the
+ debug libs instead of two static identic ones. Fixed some bugs
+ that could break compiling with debug activated.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 21 Nov 2001 21:39:18 +0100
+
+pwlib (1.1.36-4) unstable; urgency=high
+
+ * Upgraded oss.cxx to fix loopback.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 4 Sep 2001 17:35:28 +0200
+
+pwlib (1.1.36-3) unstable; urgency=low
+
+ * Add -dbg package with debug version of the libs. Closes #108168.
+ * Removed README.Debian explaining how to build the debug version.
+ * Added more audio devices for the GnomeMeeting new features ;-)
+ * Upgraded vconvert.cxx and video4linux.cxx to cvs to fix video
+ problems on some webcams. This will require some modifications
+ on programs using video.
+ * Upgraded shlib depends.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 28 Aug 2001 18:21:53 +0200
+
+pwlib (1.1.36-2) unstable; urgency=low
+
+ * Use DEB_BUILD_OPTIONS for getting the debug version compiled.
+ * Create versioned shlibs.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 21 Aug 2001 22:16:44 +0200
+
+pwlib (1.1.36-1) unstable; urgency=low
+
+ * New upstream version.
+ * Moved it to non-US. Closes: #108645.
+ * Provide a way to build debug version, explained on README.Debian.
+ Closes: #108168.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 13 Aug 2001 21:27:56 +0200
+
+pwlib (1.1.34-2) unstable; urgency=low
+
+ * Changed the way on wich the source code is compiled. This results
+ on asnparser being dynamically linked and thus much smaller now.
+ * Compiled asnparser without -fPIC, this was what was breaking hppa.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 7 Aug 2001 15:57:28 +0200
+
+pwlib (1.1.34-1) unstable; urgency=low
+
+ * Patched to compile on gcc 3.0 (thanks to Artis Kugevics). Now it
+ builds on hppa. Closes: #104666.
+ * Added libssl-dev build dependency.
+ * Added a small man page for ansparser.
+ * Added upstream doc to libpt1 package.
+ * New upstream version. Closes: #96523, #105408.
+ * New maintainer.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 6 Aug 2001 11:27:08 +0200
+
+pwlib (1.1pl19-1.2) unstable; urgency=low
+
+ * NMU with permission of Raphael Bossek.
+ * Added the missing build dependency on flex. (closes: #94962)
+
+ -- Adrian Bunk <bunk at fs.tum.de> Tue, 15 May 2001 01:25:01 +0200
+
+pwlib (1.1pl19-1.1) unstable; urgency=low
+
+ * NMU
+ * Added build dependencies. (closes: #89173, #92381)
+
+ -- Adrian Bunk <bunk at fs.tum.de> Sat, 14 Apr 2001 23:10:26 +0200
+
+pwlib (1.1pl19-1) unstable; urgency=low
+
+ * New upstream version. (closes: #81509)
+ * Overtake maintainership from Thomas.
+
+ -- Raphael Bossek <bossekr at debian.org> Sun, 4 Feb 2001 18:43:53 +0100
+
+pwlib (1.1pl18-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Thomas Bushnell, BSG <tb at debian.org> Mon, 13 Nov 2000 23:04:02 -0800
+pwlib-titan (1.11.2-3) UNRELEASED; urgency=low
+
+ [ Victor Seva ]
+ * Add patch from Robert Millan to solve FTBFS on parallel build.
+ (Closes: #459743)
+
+ [ Faidon Liambotis ]
+ * Remove emacs stuff from the end of the changelog.
+
+ [ Patrick Matthäi ]
+ * Add description for 01_unix.mak_Os.dpatch.
+ Thanks lintian.
+
+ -- Faidon Liambotis <paravoid at debian.org> Thu, 03 Apr 2008 19:07:41 +0300
+
+pwlib-titan (1.11.2-2) unstable; urgency=low
+
+ [ Kilian Krause ]
+ * Fix debian/watch to use sf.net instead of voxgratia.org (Closes: #453595)
+ * Remove symlinks of unused compatibility versions.
+ * Remove entire -ptrace and -debug build and leave only opt build with
+ PTRACE code as new binary library. Discussion with Robert Jongbloed
+ proved that there's no point shipping any other configuration.
+ * Revert part of 04_names patch to not include OBJDIR_SUFFIX to
+ plugins dir anymore.
+
+ [ Faidon Liambotis ]
+ * Incorporate NMU by Nico Golde, thanks! (Closes: #454139)
+ * Fix bug where shlibs were very strict on binNMUed versions.
+ * Bump Standards-Version to 3.7.3, no changes needed.
+ * Remove doxygen from Build-Depends-Indep since it's present in
+ Build-Depends.
+ * Remove debian/backports/{sarge,dapper} since they are obsolete
+ distributions.
+ * Remove Jose Carlos Garcia Sogo and Santiago Garcia Mantinan from
+ Uploaders and add myself.
+ * Add all copyright holders to debian/copyright.
+ * Fix syntax error in the ptlib-config.1 manpage.
+
+ -- Faidon Liambotis <paravoid at debian.org> Wed, 02 Apr 2008 07:14:27 +0300
+
+pwlib-titan (1.11.2-1.1) unstable; urgency=high
+
+ * Non-maintainer upload by testing-security team.
+ * Fix remote denial of service vulnerability caused
+ by a call to PString::vsprintf if the used object already
+ contained more than 1000 characters (CVE-2007-4897; bug #454139).
+
+ -- Nico Golde <nion at debian.org> Mon, 03 Dec 2007 13:20:05 +0100
+
+pwlib-titan (1.11.2-1) unstable; urgency=low
+
+ * New upstream release (unstable branch).
+
+ [ Kilian Krause ]
+ * Add dpkg-dev (>= 1.13.19) to Build-Deps to allow use of binary:Version.
+ * Remove circular dependencies from plugins.
+ * Remove get-orig-source until upstream provides the tarball on their
+ website again.
+ * Fixup debian/watch.
+ * Remove compat symlinks.
+ * Remove implicit rules-ignores-make-clean error
+ * Fix dh_strip call to use $(PACKAGE) for all packs properly.
+ * Add Homepage field as added in dpkg-dev 1.14.6.
+
+ [ Faidon Liambotis ]
+ * Adapt shlibs to depend on the upstream's version number and not the Debian
+ version number, since we don't extend the ABI. This also imitates
+ debhelper's behavior.
+
+ -- Kilian Krause <kilian at debian.org> Sat, 22 Sep 2007 14:43:52 +0200
+
+pwlib (1.10.7~dfsg1-4) unstable; urgency=high
+
+ * Add missing libpt.so.* compat symlinks. The libpt.so.1.10 is supposed to
+ be compatible with all build versions. Probably we should revert that
+ SONAME "fix" upstream to just $major.$minor as is what Craig reckons is
+ kept as API/ABI for a stable release. (Closes: #434077)
+ * Urgency high due to RC bug.
+
+ -- Kilian Krause <kilian at debian.org> Sun, 22 Jul 2007 02:57:29 +0200
+
+pwlib (1.10.7~dfsg1-3) unstable; urgency=low
+
+ * Add missing conflicts (Closes: #433185)
+
+ -- Kilian Krause <kilian at debian.org> Mon, 16 Jul 2007 13:50:38 +0200
+
+pwlib (1.10.7~dfsg1-2) unstable; urgency=low
+
+ * Fix compilation of V4L2 on i386. Backport patch from upstream.
+ * Fix Source-Version to become binary:Version for binNMU-safety.
+
+ -- Kilian Krause <kilian at debian.org> Wed, 04 Jul 2007 19:11:46 +0200
+
+pwlib (1.10.7~dfsg1-1) unstable; urgency=low
+
+ * New upstream version.
+ * Update debian/rules to build also ptrace-enabled opt version and
+ ptrace-enabled debug version (with extra PTRACE code) as was often
+ requested by Ekiga developers.
+ * Ship external debug symbols directly in new ptrace and develop package.
+ * Add symlinks for linking only in libpt-dev rather than each libpt package.
+ Backward compatibility links are still added to allow clean upgrade paths
+ without rebuild when build-version has been bumped. Upstream reckons the
+ API with stable OpenH323 releases (pwlib, opal, openh323) is supposed to
+ remain identical for all upsates with the same minor version number.
+ (Closes: #424050)
+ * Depend on at least one plugin for audio and video for libpt-1.10.0. The
+ -develop and -ptrace have their plugins included. No need to depend here.
+
+ -- Kilian Krause <kilian at debian.org> Tue, 3 Jul 2007 21:49:46 +0200
+
+pwlib (1.10.2-2) unstable; urgency=high
+
+ * Correct the versioned dependency to the lib we're building right now to
+ overcome problems like #392522. Setting urgency=high, for we're closing an
+ RC-bug.
+
+ -- Kilian Krause <kilian at debian.org> Sun, 22 Oct 2006 11:05:39 +0200
+
+pwlib (1.10.2-1) unstable; urgency=low
+
+ * New upstream release. No more dfsg-repack should be needed, RFC files
+ deleted upstream.
+
+ [ Kilian Krause ]
+ * Rename configure target to config.status
+ * Updated Homepage to www.voxgratia.org in package descriptions
+ (Closes: #383173)
+ * Document that libpt-dbg is only debug symbols. Eventually this should
+ become a switch in the debian/rules to make debug-compile one simple
+ rebuild for the user or even automagically be added to more powerful
+ platforms. (Closes: #345511)
+
+ -- Kilian Krause <kilian at debian.org> Mon, 9 Oct 2006 13:27:28 +0200
+
+pwlib (1.10.1.dfsg-1) unstable; urgency=low
+
+ [ Kilian Krause ]
+ * New upstream release. (Closes: #365177)
+ * debian/rules: Use CURDIR rather than PWD to make sure we can build with
+ sudo.
+
+ [ Mark Purcell ]
+ * Update debian/watch for numerics
+
+ -- Kilian Krause <kilian at debian.org> Fri, 9 Jun 2006 19:33:41 +0000
+
+pwlib (1.10.0-1) unstable; urgency=low
+
+ * New upstream release (Phobos_release).
+ * hush version.h error message when tarball not yet extracted
+ * Sarge compatibility: if debhelper compat is 4, use older strip
+
+ -- Kilian Krause <kilian at debian.org> Mon, 13 Mar 2006 23:46:34 +0000
+
+pwlib (1.9.3-2) unstable; urgency=low
+
+ * Fix compilation on alpha with switching -Os back to -O2. Apparently gcc is
+ still broken.
+
+ -- Kilian Krause <kilian at debian.org> Sun, 19 Feb 2006 22:10:42 +0100
+
+pwlib (1.9.3-1) unstable; urgency=low
+
+ * New upstream release. (Phobos-devel3, Prerelease for Ekiga 2.00 BETA2)
+ Naming according to final API names of Phobos.
+
+ -- Kilian Krause <kilian at debian.org> Mon, 6 Feb 2006 20:45:01 +0100
+
+pwlib (1.8.7-2) unstable; urgency=high
+
+ * High-urgency upload for multiple RC bugfixes.
+ * Fix casts to match current OpenSSL prototypes (closes: #335490).
+ * Use -O2 instead of -Os when building, as recommended by policy; this
+ fixes a build-time failure on alpha when running any code linked against
+ libpt.
+ * Drop the libpt.so.1.8.3 and libpt.so.1.8.4 symlinks; the native soname
+ is now libpt.so.1.8.7, so since we're no longer compatible with older
+ reverse-dependencies anyway due to the ABI change, these serve no
+ purpose. Here's hoping someone clues upstream in on handling of SONAMEs
+ before the next release.
+ * Rename libpt-1.8.3c2 to libpt-1.8.7 for the C++ mt allocator ABI
+ transition, and conflict/replace libpt-1.8.3c2 accordingly
+ (closes: #339253). Thanks to the change above, this only requires
+ conflict/replacing libpt-1.8.3c2 (>= 1.8.7-1).
+ * Get rid of the useless /usr/lib/libpt.so.1 link: this serves no purpose
+ when the package soname is libpt.so.1.8.7, because *nothing* will ever
+ use it, so the easiest way to avoid conflicts is to not ship it
+ anywhere! (closes: #331634)
+ * Fix most of the warnings.
+ * Thanks goes to Steve Langasek and Jose Carlos Garcia Sogo for their help
+ on preparing this!
+
+ -- Kilian Krause <kilian at debian.org> Sun, 4 Dec 2005 00:58:44 +0100
+
+pwlib (1.8.7-1) unstable; urgency=low
+
+ * Mimas_patch2 is 1.8.7. And shlibdeps imposes this as version.
+
+ -- Kilian Krause <kilian at debian.org> Wed, 14 Sep 2005 18:14:03 +0200
+
+pwlib (1.8.4-3) unstable; urgency=low
+
+ * Move symlinks to -dev package where they belong and don't conflict no more
+ with libs we don't share files with. (Closes: #320105)
+ * Update to Mimas_patch2.
+
+ -- Kilian Krause <kilian at debian.org> Tue, 13 Sep 2005 19:52:03 +0200
+
+pwlib (1.8.4-2) unstable; urgency=low
+
+ * Jose Carlos:
+ + Ack previous NMU. Thanks to Sam Hocevar for his work.
+ (Closes: #315233, #309873, #313032, #310825, #310813)
+ * Kilian:
+ + Included Mimas_patch1.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Fri, 15 Jul 2005 10:21:16 +0300
+
+pwlib (1.8.4-1.1) unstable; urgency=low
+
+ * Non-maintainer upload (g++ transition).
+ * debian/control:
+ + Build-depend on libdc1394-13-dev instead of libdc1394-11-dev so that
+ the package can build (Closes: #315233) and libpt-plugins-dc is
+ installable again (Closes: #309873, #313032).
+ + Removed the build-dependency on g++.
+ + Renamed package to libpt-1.8.3c2 for the g++ transition (Closes: #310825).
+ * debian/patches/08_g++4.dpatch:
+ + Patch courtesy of Andreas Jochens to fix g++4.0 build.
+ * debian/rules:
+ + Copy config.sub and config.guess instead of linking them to allow the
+ package to rebuild properly (Closes: #310813).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Thu, 14 Jul 2005 14:39:40 +0300
+
+pwlib (1.8.4-1) unstable; urgency=low
+
+ * New upstream release, codename Mimas.
+ * Release targeted for Sid.
+
+ -- Kilian Krause <kk at verfaction.de> Sun, 20 Feb 2005 22:35:14 +0100
+
+pwlib (1.8.3-2) experimental; urgency=low
+
+ * Renamed package to 1.8.3, to be coherent with the first upstream
+ version present in Debian archives.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sat, 18 Dec 2004 11:47:00 +0100
+
+pwlib (1.8.3-1) experimental; urgency=low
+
+ * New upstream release (Atlas)
+ + debian/control: updated package names
+ + debian/control: conflict with older 1.7.5 versions
+ + debian/rules: tweak compat version to 1.8.2
+ + debian/rules: enabled support for v4l2. Created new plugin package.
+
+ * Build-Depend on libdc1394-11-dev. (Closes: #277701, #278847)
+ * Build-Depend on linux-kernel-headers to get video4linux2 support.
+
+ * debian/patches:
+ + 00list: disable 03_getdate.tab (Closes: #276200)
+
+ * debian/rules: minor cleanups
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sun, 28 Nov 2004 20:33:23 +0100
+
+pwlib (1.7.5.2-3) experimental; urgency=low
+
+ * Fixed maintainer field, which was hosed by pbuilder.
+ * Clean hello_world after the test. (Closes: #273635)
+ * Conflicts with libpt-1.6.3 and libpt-1.5.2. (Closes: #265447)
+ * These are the new stable versions for pwlib. (Closes: #270061)
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sat, 2 Oct 2004 16:45:18 +0200
+
+pwlib (1.7.5.2-2) experimental; urgency=low
+
+ * debian/rules:
+ + drop debugshared and debugnoshared make targets. Those build hughe
+ libraries, which are not needed in Debian.
+ + Lot of changes to make -dbg package to only contain symbols that were
+ stripped from shared library and plugins.
+ + Both changes reduce the compilation time and the size of -dbg package.
+ * debian/patches:
+ + 07_nostrip: we don't want to strip when linking for shared library.
+ That is going to be handled later in the package building process.
+
+ * README.Debian: updated
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Fri, 1 Oct 2004 20:48:52 +0200
+
+pwlib (1.7.5.2-1) experimental; urgency=low
+
+ * Kilian Krause
+ + New upstream update (Pandora)
+ + make sure we're the only pwlib around while building and when
+ installed
+ + debian/rules: make sure the lib works before packaging it
+ + debian/control: we need only doxygen, but as build-depends aswell as
+ build-depends-indep. (see 218893 for details, 229357 holds a fix for
+ dpkg, but isn't applied so far)
+
+ * Jose Carlos
+ + Merging versions and changes from 1.6.5-2 to 1.6.6.4-5
+ + Added libkrb5-dev to Build-Depends: field.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Tue, 28 Sep 2004 20:02:51 +0200
+
+pwlib (1.7.5-1) experimental; urgency=low
+
+ * Jose Carlos
+ + New upstream version (Pandora)
+ + We have Build-Dependencies declared on needed libs some time ago now.
+ (Closes: #209130)
+ + Build-Depend on libdc1394-10-dev (Closes: #255494)
+ + debian/patches:
+ - Set our patches for this version
+ - 01_alpha: fixes compilation in alpha
+ - 01_unix.mak: split in 01_alpha and 04_names
+ - 03_getdate.tab: renamed from 03_src_ptlib_unix_Makefile
+ - 04_Makefile.in: applied upstream. Removed
+ - 04_names: change naming of libraries
+ - 05_hppa: fixes compilation in hppa64
+ - 06_plugins_shared: don't compile plugins for static targets
+ - 10_video4dc1394.cxx: fixed upstream. Removed
+
+ + debian/rules:
+ - install ChangeLog from upstream sources
+ - removed any reference to asnparser, which is no longer available
+ - set compat to 1.7.5, as this version is again incompatible with older
+ releases.
+
+ + debian/control:
+ - removed ansparser package
+ - set package names to 1.7.5, and add Replaces to old libpt-1.6.3
+
+ + debian/ChangeLog: removed
+
+ * Kilian Krause
+ + libpt-plugins-alsa now depends on alsa-base. (Closes: #257993)
+ + debian/control:
+ - we now need doxygen as new Build-Dep
+ + debian/rules:
+ - new plugins are called _pwplugin.so instead of only .so
+
+ -- Kilian Krause <kk at verfaction.de> Fri, 13 Aug 2004 10:58:35 +0200
+
+pwlib (1.6.6.4-5) unstable; urgency=high
+
+ * Jose Carlos Garcia Sogo:
+ - debian/patches/00list: removed HPPA "fix" as it broke compilation. HPPA is
+ to be considered 32bit for userspace. 64bit is *ONLY* for kernel! (Closes: #266111)
+ - debian/rules: using dpkg-architecture to properly detect in which
+ architecture type we're being built. Upstream system is broken, and it
+ is causing breakages depending on the buildd that pick us for compiling.
+ (Closes: #271531)
+ - Urgency high as our goal is to put new pwlib/oh323 in Sarge.
+
+ * Kilian Krause:
+ - debian/control: dupe doc++ also in Build-Depends as we need it for the
+ build target *sigh* (check #218893 for details, #229357 holds a patch
+ for dpkg, but it's not applied still)
+
+ -- Kilian Krause <kk at verfaction.de> Sat, 18 Sep 2004 12:53:25 +0200
+
+pwlib (1.6.6.4-4) unstable; urgency=high
+
+ * Recompile with new binutils to solve GM failure in hppa.
+ * Urgency high as our goal is to put new pwlib/oh323 in Sarge.
+ * make doc++ Build-Depends-Indep as it's only needed for libpt-doc
+
+ -- Kilian Krause <kk at verfaction.de> Tue, 7 Sep 2004 01:16:34 +0200
+
+pwlib (1.6.6.4-3) unstable; urgency=high
+
+ * Rebuilding to get right dependencies with libdv in
+ libpt-plugins-avc (Closes: #267754)
+ * Urgency high as we want it to have the chance to propagate
+ to Sarge.
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Tue, 24 Aug 2004 21:58:43 +0200
+
+pwlib (1.6.6.4-2) unstable; urgency=low
+
+ * debian/patches/collect.cxx_postrelease_hotfix.dpatch: fixing ohphone,
+ openmcu, gnomemeeting and openam problems. (Closes: #264805)
+
+ -- Kilian Krause <kk at verfaction.de> Tue, 10 Aug 2004 13:40:56 +0000
+
+pwlib (1.6.6.4-1) unstable; urgency=low
+
+ * New upstream update:
+ + Janus_patch4. Diverting from upstream versioning scheme, as this
+ version is also called 1.6.6 from upstream POV.
+ + Removed asnparser from package as it is no longer required.
+ * debian/control: exclude all non-rtti enabled dependant programs from
+ installing alongside the new rtti-enabled pwlib. Also, force pwlib to
+ build without itself being installed (Just make sure, we're the only one
+ around.)
+ * debian/rules:
+ - also update autotools in plugins/
+ - try built pwlib before packaging
+ * debian/patches/01_unix.mak.dpatch: fixed building on alpha. (somewhat this
+ got lost along the way)
+
+ -- Kilian Krause <kk at verfaction.de> Mon, 9 Aug 2004 14:34:26 +0200
+
+pwlib (1.6.6-2) unstable; urgency=low
+
+ * debian/control: alsa-base now recommends for libpt-plugins-alsa, not
+ depends. (Closes: #263332)
+
+ -- Kilian Krause <kk at verfaction.de> Thu, 5 Aug 2004 13:33:30 +0200
+
+pwlib (1.6.6-1) unstable; urgency=low
+
+ * new upstream release: Janus_patch3
+
+ -- Kilian Krause <kk at verfaction.de> Wed, 28 Jul 2004 12:32:27 +0200
+
+pwlib (1.6.5-4) unstable; urgency=low
+
+ * Jose Carlos
+ + Build-Depend on libdc1394-10-dev (Closes: #255494)
+
+ * Kilian Krause
+ + libpt-plugins-alsa now depends on alsa-base. (Closes: #257993)
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sun, 25 Jul 2004 16:07:54 +0200
+
+pwlib (1.6.5-3) unstable; urgency=low
+
+ * Kilian:
+ + Added version >= 0.9.4 to Build-Depends on libdc1394. (Closes: #255494)
+ + Added libsasl2-dev to Build-Depends line.
+ * Jose Carlos:
+ + debian/patches:
+ - 05_hppa: adds missing arch hppa in unix.mak
+ - 06_plugins_shared: don't build plugins for static target.
+ (Closes: #254916)
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Sun, 27 Jun 2004 15:11:01 +0200
+
+pwlib (1.6.5-2) unstable; urgency=low
+
+ * Jose Carlos:
+ + Uploading to unstable.
+ + Set Debian VoIP Team as Maintainer.
+
+ * Kilian Krause
+ + Changed Build-Depends from libdv2-dev to libdv-dev. (Closes: #249040)
+ + Fixed API-change with libdc1394 0.9.4
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org> Tue, 15 Jun 2004 21:15:12 +0200
+
+pwlib (1.6.5-1) experimental; urgency=low
+
+ * New upstream version.
+ * Version number in rules file determined by parsing version.h
+
+ -- Tim Johann <t1m at phrogstar.de> Fri, 26 Mar 2004 01:56:11 +0100
+
+pwlib (1.6.3-1) experimental; urgency=low
+
+ * New upstream version.
+
+ -- Tim Johann <t1m at phrogstar.de> Sat, 28 Feb 2004 22:59:01 +0100
+
+pwlib (1.6.2-1) experimental; urgency=low
+
+ * New upstream version.
+ * New plugin feature now enables us to build for both avc and dc devices.
+ Closes: #216633
+
+ -- Tim Johann <t1m at phrogstar.de> Sun, 15 Feb 2004 23:09:36 +0100
+
+pwlib (1.5.2-4) unstable; urgency=high
+
+ * Added dpatch to fix CVE issue CAN-2004-0097.
+ Thanks to James Strandboge <jstrand1 at rochester.rr.com> for providing
+ the patch. Closes: #233888.
+ * Removed '-pipe', hopefully to get rid of bug #218841.
+ * Dropping '-O2' optimisation, in favour of '-Os', to get smaller libs.
+ Closes: #220885.
+
+ -- Tim Johann <t1m at phrogstar.de> Fri, 27 Feb 2004 17:18:24 +0100
+
+pwlib (1.5.2-3) unstable; urgency=low
+
+ * added -DP_64BIT flag to STDCCFLAGS on alpha, not accounted for upstream
+
+ -- Tim Johann <t1m at phrogstar.de> Sun, 2 Nov 2003 21:16:38 +0100
+
+pwlib (1.5.2-2) unstable; urgency=low
+
+ * added build dependency on libldap2-dev and libsdl1.2-dev.
+ * added install dep of libpt-dev on libsdl1.2-dev, libldap2-dev and
+ libexpat1-dev.
+
+ -- Tim Johann <t1m at phrogstar.de> Mon, 22 Sep 2003 22:21:00 +0200
+
+pwlib (1.5.2-1) unstable; urgency=low
+
+ * New upstream version.
+ * Build of static libraries without -fPIC -DPIC .
+ * Build getdate.tab.o without STDCCFLAGS.
+
+ -- Tim Johann <t1m at phrogstar.de> Sat, 26 Aug 2003 03:00:42 +0200
+
+pwlib (1.5.0-1) unstable; urgency=low
+
+ * New upstream version.
+ * New maintainer, closes: #200473
+ * New build mechanism uses autoconf
+ * added man page ptlib-config.1
+ * Added README.Debian
+ * Added dependency of libpt-dev on asnparser (>= ${Source-Version}).
+ As libpt-dbg depends on libpt-dev of the same version, I hope this
+ closes: #198851.
+ * Added patch, so that apps linked against ptlib ask for the full
+ soname of the lib.
+ * Simpler naming scheme. The patch enabled us to just use
+ libpt.so.$(Version) instead of libpt-$(Version).so.$(Version) .
+ * complies standards vesion 3.6.0
+ * debhelper version 4 compatibility
+
+ -- Tim Johann <t1m at phrogstar.de> Tue, 29 Jul 2003 23:54:00 +0200
+
+pwlib (1.4.11-3) unstable; urgency=low
+
+ * IPv6 support doesn't seem to break IPv4, so we'll build with
+ IPv6 support on all arches. Closes: #183484.
+ * Adding IPv6 breaks binary compatibility so I bumped up soname.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 16 Mar 2003 23:23:06 +0100
+
+pwlib (1.4.11-2) unstable; urgency=low
+
+ * Build without IPv6 on all arches.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 16 Mar 2003 19:05:20 +0100
+
+pwlib (1.4.11-1) unstable; urgency=low
+
+ * New upstream version.
+ * Clean up some small typos on the rules.
+ * Added 1394 AVC support. Closes: #183488.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 10 Mar 2003 17:20:45 +0100
+
+pwlib (1.4.10-1) unstable; urgency=low
+
+ * New upstream version.
+ * Reworked the rules. Closes: #180159.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 10 Feb 2003 23:17:48 +0100
+
+pwlib (1.4.8-1) unstable; urgency=low
+
+ * The "bison broken again" release.
+ * We're moving to GCC 3.2, not tagging as soname has changed.
+ * New upstream version. Closes: #166792.
+ * Changed to bison++ cause of bison problems with g++ 3.2.
+ * Change 1394 support back to upstream style. Now programs wanting
+ 1394 support should define TRY_1394DC and build depend on
+ libdc1394-dev (>=0.9.0). Closes: #167754.
+ * Please test on PowerPC to see if we can close #153564.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sat, 18 Jan 2003 16:29:41 +0100
+
+pwlib (1.3.11-1) unstable; urgency=low
+
+ * New upstream version.
+ * Fix typo on description: Closes: #154858.
+ * Compile with 1394 support: Closes: #159865.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 23 Oct 2002 17:06:01 +0200
+
+pwlib (1.3.3-1) unstable; urgency=low
+
+ * New upstream version, compatible with gcc 3.0.
+ I can get rid of our patches at last :-) (cross fingers).
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 10 Jul 2002 11:50:33 +0200
+
+pwlib (1.2.19-1) unstable; urgency=low
+
+ * New upstream version. Fixes powerpc endianness problems.
+ * Fix -O flag. Closes: #147777.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 27 May 2002 17:30:00 +0200
+
+pwlib (1.2.14-2) unstable; urgency=low
+
+ * Add doc++ to the build-depends. Closes: #143546.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Fri, 19 Apr 2002 16:54:10 +0200
+
+pwlib (1.2.14-1) unstable; urgency=low
+
+ * New upstream version.
+ * Moved back into main.
+ * Removed the 10 seconds timeout patch for sockets.
+ * Patched with cvs to solve problems on GM with some cams.
+ It took a lot for upstream to get this patch on cvs, which was
+ the cause of the delay, waiting for upstream decision, sorry :-(
+ * Added a doc package. Closes: #121787.
+ * Changed the description a bit. Closes: #135524.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 8 Apr 2002 19:04:08 +0200
+
+pwlib (1.2.5-5) unstable; urgency=low
+
+ * Fix the problem on getdate.y with new bison not finding EOF,
+ now it compiles again. Thanks to migras and the others for their
+ help and support, today was a really hard day for me :-(
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 12 Feb 2002 20:37:21 +0100
+
+pwlib (1.2.5-4) unstable; urgency=high
+
+ * Patch to remove ALSA devices from the list of OSS compatibles.
+ Fixes a bug on some ALSA systems, they need OSS compatibility
+ modules to be OSS compatible, that way they will work with pwlib.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 8 Jan 2002 21:51:33 +0100
+
+pwlib (1.2.5-3) unstable; urgency=high
+
+ * Patch for Framerate limit to work, thanks to Miguel Rodriguez.
+ * Lowered timeouts for sockets to 10 seconds, also thanks to Miguel.
+ * Compile with -O0 for alpha, sugested by mhp, thanks.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 28 Nov 2001 21:00:38 +0100
+
+pwlib (1.2.5-2) unstable; urgency=low
+
+ * Patched to enable audio output on tv cards.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 25 Nov 2001 16:44:28 +0100
+
+pwlib (1.2.5-1) unstable; urgency=low
+
+ * New upstream version.
+ * Heavily rewritten, we now allow several versions of the libs to
+ be installed and I'll try to guess compatibility info and try to
+ state that in the version numbering and shlibs of the package.
+ * Reworked the -dbg package, it now has a shared version of the
+ debug libs instead of two static identic ones. Fixed some bugs
+ that could break compiling with debug activated.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Wed, 21 Nov 2001 21:39:18 +0100
+
+pwlib (1.1.36-4) unstable; urgency=high
+
+ * Upgraded oss.cxx to fix loopback.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 4 Sep 2001 17:35:28 +0200
+
+pwlib (1.1.36-3) unstable; urgency=low
+
+ * Add -dbg package with debug version of the libs. Closes #108168.
+ * Removed README.Debian explaining how to build the debug version.
+ * Added more audio devices for the GnomeMeeting new features ;-)
+ * Upgraded vconvert.cxx and video4linux.cxx to cvs to fix video
+ problems on some webcams. This will require some modifications
+ on programs using video.
+ * Upgraded shlib depends.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 28 Aug 2001 18:21:53 +0200
+
+pwlib (1.1.36-2) unstable; urgency=low
+
+ * Use DEB_BUILD_OPTIONS for getting the debug version compiled.
+ * Create versioned shlibs.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 21 Aug 2001 22:16:44 +0200
+
+pwlib (1.1.36-1) unstable; urgency=low
+
+ * New upstream version.
+ * Moved it to non-US. Closes: #108645.
+ * Provide a way to build debug version, explained on README.Debian.
+ Closes: #108168.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 13 Aug 2001 21:27:56 +0200
+
+pwlib (1.1.34-2) unstable; urgency=low
+
+ * Changed the way on wich the source code is compiled. This results
+ on asnparser being dynamically linked and thus much smaller now.
+ * Compiled asnparser without -fPIC, this was what was breaking hppa.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Tue, 7 Aug 2001 15:57:28 +0200
+
+pwlib (1.1.34-1) unstable; urgency=low
+
+ * Patched to compile on gcc 3.0 (thanks to Artis Kugevics). Now it
+ builds on hppa. Closes: #104666.
+ * Added libssl-dev build dependency.
+ * Added a small man page for ansparser.
+ * Added upstream doc to libpt1 package.
+ * New upstream version. Closes: #96523, #105408.
+ * New maintainer.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Mon, 6 Aug 2001 11:27:08 +0200
+
+pwlib (1.1pl19-1.2) unstable; urgency=low
+
+ * NMU with permission of Raphael Bossek.
+ * Added the missing build dependency on flex. (closes: #94962)
+
+ -- Adrian Bunk <bunk at fs.tum.de> Tue, 15 May 2001 01:25:01 +0200
+
+pwlib (1.1pl19-1.1) unstable; urgency=low
+
+ * NMU
+ * Added build dependencies. (closes: #89173, #92381)
+
+ -- Adrian Bunk <bunk at fs.tum.de> Sat, 14 Apr 2001 23:10:26 +0200
+
+pwlib (1.1pl19-1) unstable; urgency=low
+
+ * New upstream version. (closes: #81509)
+ * Overtake maintainership from Thomas.
+
+ -- Raphael Bossek <bossekr at debian.org> Sun, 4 Feb 2001 18:43:53 +0100
+
+pwlib (1.1pl18-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Thomas Bushnell, BSG <tb at debian.org> Mon, 13 Nov 2000 23:04:02 -0800
diff --cc debian/control
index a9d97f7,0000000..32b0e37
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,63 -1,0 +1,63 @@@
+Source: ptlib
+Section: libs
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Mark Purcell <msp at debian.org>, Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr>, Kilian Krause <kilian at debian.org>
- Build-Depends: debhelper (>= 8), autotools-dev, doxygen, pkg-config, bison, flex,
++Build-Depends: debhelper (>= 8), autotools-dev, doxygen (>= 1.8.5-1~), pkg-config, bison, flex,
+ unixodbc-dev, libssl-dev, libldap2-dev, libsasl2-dev, libkrb5-dev, libexpat1-dev,
+ libpulse-dev,
- libsdl1.2-dev, libdv4-dev,
++ libsdl1.2-dev, libdv4-dev,
+ libv4l-dev [linux-any],
+ libasound2-dev [linux-any]
- Build-Conflicts: libpt-dev, libpt2.8.4, libpt2.10.4, libpt2.10.1
- Standards-Version: 3.9.2
++Build-Conflicts: libpt-dev
++Standards-Version: 3.9.3
+Homepage: http://www.opalvoip.org/
- Vcs-Svn: svn://svn.debian.org/pkg-voip/ptlib/trunk/
- Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/ptlib/trunk/
++Vcs-Svn: svn://anonscm.debian.org/pkg-voip/ptlib/branches/ptlib2.10-luyten/
++Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/ptlib/branches/ptlib2.10-luyten/
+
- Package: libpt2.10.4
++Package: libpt2.10.10
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Portable Tools Library
+ This package contains the shared version of the library PTLib, which is
+ a moderately large class library that has its genesis many years ago as
+ a method to produce applications to run on both Microsoft Windows and
+ Unix X-Window systems.
+ .
+ This package also contains all the current PTLib plugins (alsa, oss, pulse,
+ and v4l2).
+
+Package: libpt-dev
+Section: libdevel
+Architecture: any
- Depends: ${misc:Depends}, libpt2.10.4 (= ${binary:Version}),
++Depends: ${misc:Depends}, libpt2.10.10 (= ${binary:Version}),
+ libc6-dev, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, libsasl2-dev, unixodbc-dev, pkg-config
+Description: Portable Tools Library development files
+ This package contains the headers and a static version of the library
+ PTLib, which is a moderately large class library that has its genesis
+ many years ago as a method to produce applications to run on both
+ Microsoft Windows and Unix X-Window systems.
+
+Package: libpt-dbg
+Section: debug
+Priority: extra
+Architecture: any
- Depends: ${misc:Depends}, libpt2.10.4 (= ${binary:Version})
++Depends: ${misc:Depends}, libpt2.10.10 (= ${binary:Version})
+Description: Portable Tools Library development debug files
+ This package contains the shared and static debug symbols of the library
+ PTLib, which is a moderately large class library that has its genesis
+ many years ago as a method to produce applications to run on both
+ Microsoft Windows and Unix X-Window systems. This is not the debug compiled
+ version of PTLib which would yield much more detailled information as a
+ compromise of benefit and compile power consumption.
+
+Package: libpt-doc
+Section: doc
+Priority: extra
+Depends: ${misc:Depends}, libjs-jquery
+Architecture: all
+Description: Portable Tools Library documentation & sample files
+ This package contains the documentation and samples to program with
+ PTLib, which is a moderately large class library that has its genesis
+ many years ago as a method to produce applications to run on both
+ Microsoft Windows and Unix X-Window systems.
diff --cc debian/libpt2.10.10.install
index bf2a5fc,0000000..bf2a5fc
mode 100644,000000..100644
--- a/debian/libpt2.10.10.install
+++ b/debian/libpt2.10.10.install
diff --cc debian/patches/bison-fix
index 0000000,0000000..5859347
new file mode 100644
--- /dev/null
+++ b/debian/patches/bison-fix
@@@ -1,0 -1,0 +1,2887 @@@
++--- a/src/ptlib/common/getdate.tab.c (revision 0)
+++++ b/src/ptlib/common/getdate.tab.c (revision 31087)
++@@ -0,0 +1,2884 @@
+++/* A Bison parser, made by GNU Bison 2.7.12-4996. */
+++
+++/* Bison implementation for Yacc-like parsers in C
+++
+++ Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
+++
+++ This program is free software: you can redistribute it and/or modify
+++ it under the terms of the GNU General Public License as published by
+++ the Free Software Foundation, either version 3 of the License, or
+++ (at your option) any later version.
+++
+++ This program is distributed in the hope that it will be useful,
+++ but WITHOUT ANY WARRANTY; without even the implied warranty of
+++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+++ GNU General Public License for more details.
+++
+++ You should have received a copy of the GNU General Public License
+++ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+++
+++/* As a special exception, you may create a larger work that contains
+++ part or all of the Bison parser skeleton and distribute that work
+++ under terms of your choice, so long as that work isn't itself a
+++ parser generator using the skeleton or a modified version thereof
+++ as a parser skeleton. Alternatively, if you modify or redistribute
+++ the parser skeleton itself, you may (at your option) remove this
+++ special exception, which will cause the skeleton and the resulting
+++ Bison output files to be licensed under the GNU General Public
+++ License without this special exception.
+++
+++ This special exception was added by the Free Software Foundation in
+++ version 2.2 of Bison. */
+++
+++/* C LALR(1) parser skeleton written by Richard Stallman, by
+++ simplifying the original so-called "semantic" parser. */
+++
+++/* All symbols defined below should begin with yy or YY, to avoid
+++ infringing on user name space. This should be done even for local
+++ variables, as they might otherwise be expanded by user macros.
+++ There are some unavoidable exceptions within include files to
+++ define necessary library symbols; they are noted "INFRINGES ON
+++ USER NAME SPACE" below. */
+++
+++/* Identify Bison output. */
+++#define YYBISON 1
+++
+++/* Bison version. */
+++#define YYBISON_VERSION "2.7.12-4996"
+++
+++/* Skeleton name. */
+++#define YYSKELETON_NAME "yacc.c"
+++
+++/* Pure parsers. */
+++#define YYPURE 1
+++
+++/* Push parsers. */
+++#define YYPUSH 0
+++
+++/* Pull parsers. */
+++#define YYPULL 1
+++
+++
+++
+++
+++/* Copy the first part of user declarations. */
+++/* Line 371 of yacc.c */
+++#line 1 "ptlib/common/getdate.y"
+++
+++/*
+++** Originally written by Steven M. Bellovin <smb at research.att.com> while
+++** at the University of North Carolina at Chapel Hill. Later tweaked by
+++** a couple of people on Usenet. Completely overhauled by Rich $alz
+++** <rsalz at bbn.com> and Jim Berets <jberets at bbn.com> in August, 1990;
+++**
+++** Major hack to coerce it into use with the Equivalence Portable
+++** Windows Library.
+++**
+++** This grammar has 10 shift/reduce conflicts.
+++**
+++** This code is in the public domain and has no copyright.
+++*/
+++/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */
+++/* SUPPRESS 288 on yyerrlab *//* Label unused */
+++
+++
+++#include <time.h>
+++#include <string.h>
+++#include <ctype.h>
+++#include <stdlib.h>
+++
+++#ifndef EOF
+++#include <stdio.h>
+++#endif
+++
+++
+++#ifdef _WIN32
+++#ifdef _MSC_VER
+++#pragma warning(disable:4131 4701 4996)
+++#endif
+++#define STDAPICALLTYPE __stdcall
+++#define MSDOS
+++#else
+++#define STDAPICALLTYPE
+++#endif
+++
+++
+++extern int STDAPICALLTYPE PTimeGetChar(void * stream);
+++extern void STDAPICALLTYPE PTimeUngetChar(void * stream, int c);
+++int STDAPICALLTYPE PTimeGetDateOrder();
+++int STDAPICALLTYPE PTimeIsMonthName(const char *, int, int);
+++int STDAPICALLTYPE PTimeIsDayName(const char *, int, int);
+++
+++
+++#define EPOCH 1970
+++#define HOUR(x) ((time_t)(x) * 60)
+++#define SECSPERDAY (24L * 60L * 60L)
+++
+++
+++/*
+++** An entry in the lexical lookup table.
+++*/
+++typedef struct _TABLE {
+++ char *name;
+++ int type;
+++ time_t value;
+++} TABLE;
+++
+++
+++/*
+++** Daylight-savings mode: on, off, or not yet known.
+++*/
+++typedef enum _DSTMODE {
+++ DSTon, DSToff, DSTmaybe
+++} DSTMODE;
+++
+++/*
+++** Meridian: am, pm, or 24-hour style.
+++*/
+++typedef enum _MERIDIAN {
+++ MERam, MERpm, MER24
+++} MERIDIAN;
+++
+++
+++/*
+++** Global variables. We could get rid of most of these by using a good
+++** union as the yacc stack. (This routine was originally written before
+++** yacc had the %union construct.) Maybe someday; right now we only use
+++** the %union very rarely.
+++*/
+++struct Variables {
+++ void *yyInput;
+++ DSTMODE yyDSTmode;
+++ time_t yyDayOrdinal;
+++ time_t yyDayNumber;
+++ int yyHaveDate;
+++ int yyHaveDay;
+++ int yyHaveRel;
+++ int yyHaveTime;
+++ int yyHaveZone;
+++ time_t yyTimezone;
+++ time_t yyDay;
+++ time_t yyHour;
+++ time_t yyMinutes;
+++ time_t yyMonth;
+++ time_t yySeconds;
+++ time_t yyYear;
+++ MERIDIAN yyMeridian;
+++ time_t yyRelMonth;
+++ time_t yyRelSeconds;
+++};
+++
+++#define VARIABLE ((struct Variables*)parseParam)
+++
+++
+++#define YYPURE 1
+++#define YYLEX_PARAM VARIABLE
+++#define YYPARSE_PARAM parseParam
+++
+++#define yyparse PTime_yyparse
+++#define yylex PTime_yylex
+++#define yyerror PTime_yyerror
+++
+++#define GCC_VERSION (__GNUC__ * 10000 \
+++ + __GNUC_MINOR__ * 100 \
+++ + __GNUC_PATCHLEVEL__)
+++
+++static int yyparse(void *);
+++static int yylex();
+++
+++#ifdef __GNUC__
+++static int yyerror(char const *msg);
+++#else
+++static void yyerror(char const *msg);
+++#endif
+++
+++
+++static void SetPossibleDate(struct Variables*, time_t, time_t, time_t);
+++
+++
+++
+++/* Line 371 of yacc.c */
+++#line 202 "ptlib/common/getdate.tab.c"
+++
+++# ifndef YY_NULL
+++# if defined __cplusplus && 201103L <= __cplusplus
+++# define YY_NULL nullptr
+++# else
+++# define YY_NULL 0
+++# endif
+++# endif
+++
+++/* Enabling verbose error messages. */
+++#ifdef YYERROR_VERBOSE
+++# undef YYERROR_VERBOSE
+++# define YYERROR_VERBOSE 1
+++#else
+++# define YYERROR_VERBOSE 0
+++#endif
+++
+++
+++/* Enabling traces. */
+++#ifndef YYDEBUG
+++# define YYDEBUG 0
+++#endif
+++#if YYDEBUG
+++extern int yydebug;
+++#endif
+++
+++/* Tokens. */
+++#ifndef YYTOKENTYPE
+++# define YYTOKENTYPE
+++ /* Put the tokens into the symbol table, so that GDB and other debuggers
+++ know about them. */
+++ enum yytokentype {
+++ tAGO = 258,
+++ tDAY = 259,
+++ tDAYZONE = 260,
+++ tID = 261,
+++ tMERIDIAN = 262,
+++ tMINUTE_UNIT = 263,
+++ tMONTH = 264,
+++ tMONTH_UNIT = 265,
+++ tSNUMBER = 266,
+++ tS4DIGITNUMBER = 267,
+++ tUNUMBER = 268,
+++ t4DIGITNUMBER = 269,
+++ t6DIGITNUMBER = 270,
+++ t8DIGITNUMBER = 271,
+++ tSEC_UNIT = 272,
+++ tZONE = 273,
+++ tMILZONE = 274,
+++ tRFC3339 = 275,
+++ tDST = 276
+++ };
+++#endif
+++
+++
+++#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+++typedef union YYSTYPE
+++{
+++/* Line 387 of yacc.c */
+++#line 137 "ptlib/common/getdate.y"
+++
+++ time_t Number;
+++ enum _MERIDIAN Meridian;
+++
+++
+++/* Line 387 of yacc.c */
+++#line 269 "ptlib/common/getdate.tab.c"
+++} YYSTYPE;
+++# define YYSTYPE_IS_TRIVIAL 1
+++# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+++# define YYSTYPE_IS_DECLARED 1
+++#endif
+++
+++
+++#ifdef YYPARSE_PARAM
+++#if defined __STDC__ || defined __cplusplus
+++int yyparse (void *YYPARSE_PARAM);
+++#else
+++int yyparse ();
+++#endif
+++#else /* ! YYPARSE_PARAM */
+++#if defined __STDC__ || defined __cplusplus
+++int yyparse (void);
+++#else
+++int yyparse ();
+++#endif
+++#endif /* ! YYPARSE_PARAM */
+++
+++
+++
+++/* Copy the second part of user declarations. */
+++
+++/* Line 390 of yacc.c */
+++#line 296 "ptlib/common/getdate.tab.c"
+++
+++#ifdef short
+++# undef short
+++#endif
+++
+++#ifdef YYTYPE_UINT8
+++typedef YYTYPE_UINT8 yytype_uint8;
+++#else
+++typedef unsigned char yytype_uint8;
+++#endif
+++
+++#ifdef YYTYPE_INT8
+++typedef YYTYPE_INT8 yytype_int8;
+++#elif (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++typedef signed char yytype_int8;
+++#else
+++typedef short int yytype_int8;
+++#endif
+++
+++#ifdef YYTYPE_UINT16
+++typedef YYTYPE_UINT16 yytype_uint16;
+++#else
+++typedef unsigned short int yytype_uint16;
+++#endif
+++
+++#ifdef YYTYPE_INT16
+++typedef YYTYPE_INT16 yytype_int16;
+++#else
+++typedef short int yytype_int16;
+++#endif
+++
+++#ifndef YYSIZE_T
+++# ifdef __SIZE_TYPE__
+++# define YYSIZE_T __SIZE_TYPE__
+++# elif defined size_t
+++# define YYSIZE_T size_t
+++# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+++# define YYSIZE_T size_t
+++# else
+++# define YYSIZE_T unsigned int
+++# endif
+++#endif
+++
+++#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
+++
+++#ifndef YY_
+++# if defined YYENABLE_NLS && YYENABLE_NLS
+++# if ENABLE_NLS
+++# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
+++# define YY_(Msgid) dgettext ("bison-runtime", Msgid)
+++# endif
+++# endif
+++# ifndef YY_
+++# define YY_(Msgid) Msgid
+++# endif
+++#endif
+++
+++#ifndef __attribute__
+++/* This feature is available in gcc versions 2.5 and later. */
+++# if (! defined __GNUC__ || __GNUC__ < 2 \
+++ || (__GNUC__ == 2 && __GNUC_MINOR__ < 5))
+++# define __attribute__(Spec) /* empty */
+++# endif
+++#endif
+++
+++/* Suppress unused-variable warnings by "using" E. */
+++#if ! defined lint || defined __GNUC__
+++# define YYUSE(E) ((void) (E))
+++#else
+++# define YYUSE(E) /* empty */
+++#endif
+++
+++
+++/* Identity function, used to suppress warnings about constant conditions. */
+++#ifndef lint
+++# define YYID(N) (N)
+++#else
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static int
+++YYID (int yyi)
+++#else
+++static int
+++YYID (yyi)
+++ int yyi;
+++#endif
+++{
+++ return yyi;
+++}
+++#endif
+++
+++#if ! defined yyoverflow || YYERROR_VERBOSE
+++
+++/* The parser invokes alloca or malloc; define the necessary symbols. */
+++
+++# ifdef YYSTACK_USE_ALLOCA
+++# if YYSTACK_USE_ALLOCA
+++# ifdef __GNUC__
+++# define YYSTACK_ALLOC __builtin_alloca
+++# elif defined __BUILTIN_VA_ARG_INCR
+++# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
+++# elif defined _AIX
+++# define YYSTACK_ALLOC __alloca
+++# elif defined _MSC_VER
+++# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
+++# define alloca _alloca
+++# else
+++# define YYSTACK_ALLOC alloca
+++# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+++ /* Use EXIT_SUCCESS as a witness for stdlib.h. */
+++# ifndef EXIT_SUCCESS
+++# define EXIT_SUCCESS 0
+++# endif
+++# endif
+++# endif
+++# endif
+++# endif
+++
+++# ifdef YYSTACK_ALLOC
+++ /* Pacify GCC's `empty if-body' warning. */
+++# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
+++# ifndef YYSTACK_ALLOC_MAXIMUM
+++ /* The OS might guarantee only one guard page at the bottom of the stack,
+++ and a page size can be as small as 4096 bytes. So we cannot safely
+++ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
+++ to allow for a few compiler-allocated temporary stack slots. */
+++# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
+++# endif
+++# else
+++# define YYSTACK_ALLOC YYMALLOC
+++# define YYSTACK_FREE YYFREE
+++# ifndef YYSTACK_ALLOC_MAXIMUM
+++# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
+++# endif
+++# if (defined __cplusplus && ! defined EXIT_SUCCESS \
+++ && ! ((defined YYMALLOC || defined malloc) \
+++ && (defined YYFREE || defined free)))
+++# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+++# ifndef EXIT_SUCCESS
+++# define EXIT_SUCCESS 0
+++# endif
+++# endif
+++# ifndef YYMALLOC
+++# define YYMALLOC malloc
+++# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
+++# endif
+++# endif
+++# ifndef YYFREE
+++# define YYFREE free
+++# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++void free (void *); /* INFRINGES ON USER NAME SPACE */
+++# endif
+++# endif
+++# endif
+++#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
+++
+++
+++#if (! defined yyoverflow \
+++ && (! defined __cplusplus \
+++ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+++
+++/* A type that is properly aligned for any stack member. */
+++union yyalloc
+++{
+++ yytype_int16 yyss_alloc;
+++ YYSTYPE yyvs_alloc;
+++};
+++
+++/* The size of the maximum gap between one aligned stack and the next. */
+++# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
+++
+++/* The size of an array large to enough to hold all stacks, each with
+++ N elements. */
+++# define YYSTACK_BYTES(N) \
+++ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+++ + YYSTACK_GAP_MAXIMUM)
+++
+++# define YYCOPY_NEEDED 1
+++
+++/* Relocate STACK from its old location to the new one. The
+++ local variables YYSIZE and YYSTACKSIZE give the old and new number of
+++ elements in the stack, and YYPTR gives the new location of the
+++ stack. Advance YYPTR to a properly aligned location for the next
+++ stack. */
+++# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
+++ do \
+++ { \
+++ YYSIZE_T yynewbytes; \
+++ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
+++ Stack = &yyptr->Stack_alloc; \
+++ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
+++ yyptr += yynewbytes / sizeof (*yyptr); \
+++ } \
+++ while (YYID (0))
+++
+++#endif
+++
+++#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
+++/* Copy COUNT objects from SRC to DST. The source and destination do
+++ not overlap. */
+++# ifndef YYCOPY
+++# if defined __GNUC__ && 1 < __GNUC__
+++# define YYCOPY(Dst, Src, Count) \
+++ __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
+++# else
+++# define YYCOPY(Dst, Src, Count) \
+++ do \
+++ { \
+++ YYSIZE_T yyi; \
+++ for (yyi = 0; yyi < (Count); yyi++) \
+++ (Dst)[yyi] = (Src)[yyi]; \
+++ } \
+++ while (YYID (0))
+++# endif
+++# endif
+++#endif /* !YYCOPY_NEEDED */
+++
+++/* YYFINAL -- State number of the termination state. */
+++#define YYFINAL 2
+++/* YYLAST -- Last index in YYTABLE. */
+++#define YYLAST 105
+++
+++/* YYNTOKENS -- Number of terminals. */
+++#define YYNTOKENS 25
+++/* YYNNTS -- Number of nonterminals. */
+++#define YYNNTS 12
+++/* YYNRULES -- Number of rules. */
+++#define YYNRULES 51
+++/* YYNRULES -- Number of states. */
+++#define YYNSTATES 63
+++
+++/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
+++#define YYUNDEFTOK 2
+++#define YYMAXUTOK 276
+++
+++#define YYTRANSLATE(YYX) \
+++ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
+++
+++/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
+++static const yytype_uint8 yytranslate[] =
+++{
+++ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 23, 2, 2, 24, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 22, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+++ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
+++ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
+++ 15, 16, 17, 18, 19, 20, 21
+++};
+++
+++#if YYDEBUG
+++/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
+++ YYRHS. */
+++static const yytype_uint8 yyprhs[] =
+++{
+++ 0, 0, 3, 4, 7, 9, 11, 13, 15, 17,
+++ 19, 22, 25, 28, 33, 38, 45, 52, 54, 56,
+++ 59, 61, 63, 66, 69, 73, 79, 84, 86, 90,
+++ 93, 98, 101, 105, 108, 110, 113, 116, 118, 121,
+++ 124, 126, 129, 132, 134, 136, 138, 140, 142, 144,
+++ 146, 147
+++};
+++
+++/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+++static const yytype_int8 yyrhs[] =
+++{
+++ 26, 0, -1, -1, 26, 27, -1, 28, -1, 29,
+++ -1, 31, -1, 30, -1, 32, -1, 35, -1, 13,
+++ 7, -1, 14, 12, -1, 15, 12, -1, 34, 22,
+++ 34, 36, -1, 34, 22, 34, 12, -1, 34, 22,
+++ 34, 22, 34, 36, -1, 34, 22, 34, 22, 34,
+++ 12, -1, 18, -1, 5, -1, 18, 21, -1, 19,
+++ -1, 4, -1, 4, 23, -1, 34, 4, -1, 34,
+++ 24, 34, -1, 34, 24, 34, 24, 34, -1, 34,
+++ 11, 11, 20, -1, 16, -1, 34, 9, 11, -1,
+++ 9, 34, -1, 9, 34, 23, 34, -1, 34, 9,
+++ -1, 34, 9, 34, -1, 33, 3, -1, 33, -1,
+++ 34, 8, -1, 11, 8, -1, 8, -1, 11, 17,
+++ -1, 34, 17, -1, 17, -1, 11, 10, -1, 34,
+++ 10, -1, 10, -1, 13, -1, 14, -1, 15, -1,
+++ 13, -1, 14, -1, 15, -1, -1, 7, -1
+++};
+++
+++/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
+++static const yytype_uint16 yyrline[] =
+++{
+++ 0, 153, 153, 154, 157, 160, 163, 166, 169, 172,
+++ 175, 181, 189, 197, 203, 210, 216, 226, 230, 235,
+++ 239, 249, 253, 257, 263, 266, 269, 273, 278, 282,
+++ 289, 294, 301, 306, 310, 313, 316, 319, 322, 325,
+++ 328, 331, 334, 337, 342, 345, 348, 353, 379, 390,
+++ 407, 410
+++};
+++#endif
+++
+++#if YYDEBUG || YYERROR_VERBOSE || 0
+++/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+++ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
+++static const char *const yytname[] =
+++{
+++ "$end", "error", "$undefined", "tAGO", "tDAY", "tDAYZONE", "tID",
+++ "tMERIDIAN", "tMINUTE_UNIT", "tMONTH", "tMONTH_UNIT", "tSNUMBER",
+++ "tS4DIGITNUMBER", "tUNUMBER", "t4DIGITNUMBER", "t6DIGITNUMBER",
+++ "t8DIGITNUMBER", "tSEC_UNIT", "tZONE", "tMILZONE", "tRFC3339", "tDST",
+++ "':'", "','", "'/'", "$accept", "spec", "item", "time", "zone", "day",
+++ "date", "rel", "relunit", "unumber", "number", "o_merid", YY_NULL
+++};
+++#endif
+++
+++# ifdef YYPRINT
+++/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
+++ token YYLEX-NUM. */
+++static const yytype_uint16 yytoknum[] =
+++{
+++ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
+++ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
+++ 275, 276, 58, 44, 47
+++};
+++# endif
+++
+++/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
+++static const yytype_uint8 yyr1[] =
+++{
+++ 0, 25, 26, 26, 27, 27, 27, 27, 27, 27,
+++ 28, 28, 28, 28, 28, 28, 28, 29, 29, 29,
+++ 29, 30, 30, 30, 31, 31, 31, 31, 31, 31,
+++ 31, 31, 31, 32, 32, 33, 33, 33, 33, 33,
+++ 33, 33, 33, 33, 34, 34, 34, 35, 35, 35,
+++ 36, 36
+++};
+++
+++/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
+++static const yytype_uint8 yyr2[] =
+++{
+++ 0, 2, 0, 2, 1, 1, 1, 1, 1, 1,
+++ 2, 2, 2, 4, 4, 6, 6, 1, 1, 2,
+++ 1, 1, 2, 2, 3, 5, 4, 1, 3, 2,
+++ 4, 2, 3, 2, 1, 2, 2, 1, 2, 2,
+++ 1, 2, 2, 1, 1, 1, 1, 1, 1, 1,
+++ 0, 1
+++};
+++
+++/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
+++ Performed when YYTABLE doesn't specify something else to do. Zero
+++ means the default is an error. */
+++static const yytype_uint8 yydefact[] =
+++{
+++ 2, 0, 1, 21, 18, 37, 0, 43, 0, 44,
+++ 45, 46, 27, 40, 17, 20, 3, 4, 5, 7,
+++ 6, 8, 34, 0, 9, 22, 44, 45, 46, 29,
+++ 36, 41, 38, 10, 11, 12, 19, 33, 23, 35,
+++ 31, 42, 0, 39, 0, 0, 0, 28, 32, 0,
+++ 50, 24, 30, 26, 51, 14, 0, 13, 0, 50,
+++ 25, 16, 15
+++};
+++
+++/* YYDEFGOTO[NTERM-NUM]. */
+++static const yytype_int8 yydefgoto[] =
+++{
+++ -1, 1, 16, 17, 18, 19, 20, 21, 22, 23,
+++ 24, 57
+++};
+++
+++/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+++ STATE-NUM. */
+++#define YYPACT_NINF -27
+++static const yytype_int8 yypact[] =
+++{
+++ -27, 49, -27, -10, -27, -27, -11, -27, 1, 10,
+++ 69, 86, -27, -27, -9, -27, -27, -27, -27, -27,
+++ -27, -27, 13, -3, -27, -27, -27, -27, -27, 8,
+++ -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
+++ 30, -27, 9, -27, -11, -11, -11, -27, -27, 12,
+++ 15, 18, -27, -27, -27, -27, -11, -27, -11, 23,
+++ -27, -27, -27
+++};
+++
+++/* YYPGOTO[NTERM-NUM]. */
+++static const yytype_int8 yypgoto[] =
+++{
+++ -27, -27, -27, -27, -27, -27, -27, -27, -27, -6,
+++ -27, -26
+++};
+++
+++/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
+++ positive, shift that token. If negative, reduce the rule which
+++ number is the opposite. If YYTABLE_NINF, syntax error. */
+++#define YYTABLE_NINF -50
+++static const yytype_int8 yytable[] =
+++{
+++ 29, 38, 26, 27, 28, 39, 40, 41, 42, 30,
+++ -47, 31, 36, 25, 43, -47, 37, 33, 32, 44,
+++ 49, 45, 54, -47, -47, -47, -47, 55, -47, -47,
+++ 54, 46, 53, 62, 48, 61, 0, 56, 50, 51,
+++ 52, 47, 58, 26, 27, 28, 0, 0, 0, 2,
+++ 59, 0, 60, 3, 4, 0, 0, 5, 6, 7,
+++ 8, 0, 9, 10, 11, 12, 13, 14, 15, -48,
+++ 0, 0, 0, 0, -48, 0, 0, 0, 0, 0,
+++ 0, 34, -48, -48, -48, -48, -49, -48, -48, 0,
+++ 0, -49, 0, 0, 0, 0, 0, 0, 35, -49,
+++ -49, -49, -49, 0, -49, -49
+++};
+++
+++#define yypact_value_is_default(Yystate) \
+++ (!!((Yystate) == (-27)))
+++
+++#define yytable_value_is_error(Yytable_value) \
+++ YYID (0)
+++
+++static const yytype_int8 yycheck[] =
+++{
+++ 6, 4, 13, 14, 15, 8, 9, 10, 11, 8,
+++ 0, 10, 21, 23, 17, 5, 3, 7, 17, 22,
+++ 11, 24, 7, 13, 14, 15, 16, 12, 18, 19,
+++ 7, 23, 20, 59, 40, 12, -1, 22, 44, 45,
+++ 46, 11, 24, 13, 14, 15, -1, -1, -1, 0,
+++ 56, -1, 58, 4, 5, -1, -1, 8, 9, 10,
+++ 11, -1, 13, 14, 15, 16, 17, 18, 19, 0,
+++ -1, -1, -1, -1, 5, -1, -1, -1, -1, -1,
+++ -1, 12, 13, 14, 15, 16, 0, 18, 19, -1,
+++ -1, 5, -1, -1, -1, -1, -1, -1, 12, 13,
+++ 14, 15, 16, -1, 18, 19
+++};
+++
+++/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+++ symbol of state STATE-NUM. */
+++static const yytype_uint8 yystos[] =
+++{
+++ 0, 26, 0, 4, 5, 8, 9, 10, 11, 13,
+++ 14, 15, 16, 17, 18, 19, 27, 28, 29, 30,
+++ 31, 32, 33, 34, 35, 23, 13, 14, 15, 34,
+++ 8, 10, 17, 7, 12, 12, 21, 3, 4, 8,
+++ 9, 10, 11, 17, 22, 24, 23, 11, 34, 11,
+++ 34, 34, 34, 20, 7, 12, 22, 36, 24, 34,
+++ 34, 12, 36
+++};
+++
+++#define yyerrok (yyerrstatus = 0)
+++#define yyclearin (yychar = YYEMPTY)
+++#define YYEMPTY (-2)
+++#define YYEOF 0
+++
+++#define YYACCEPT goto yyacceptlab
+++#define YYABORT goto yyabortlab
+++#define YYERROR goto yyerrorlab
+++
+++
+++/* Like YYERROR except do call yyerror. This remains here temporarily
+++ to ease the transition to the new meaning of YYERROR, for GCC.
+++ Once GCC version 2 has supplanted version 1, this can go. However,
+++ YYFAIL appears to be in use. Nevertheless, it is formally deprecated
+++ in Bison 2.4.2's NEWS entry, where a plan to phase it out is
+++ discussed. */
+++
+++#define YYFAIL goto yyerrlab
+++#if defined YYFAIL
+++ /* This is here to suppress warnings from the GCC cpp's
+++ -Wunused-macros. Normally we don't worry about that warning, but
+++ some users do, and we want to make it easy for users to remove
+++ YYFAIL uses, which will produce warnings from Bison 2.5. */
+++#endif
+++
+++#define YYRECOVERING() (!!yyerrstatus)
+++
+++#define YYBACKUP(Token, Value) \
+++do \
+++ if (yychar == YYEMPTY) \
+++ { \
+++ yychar = (Token); \
+++ yylval = (Value); \
+++ YYPOPSTACK (yylen); \
+++ yystate = *yyssp; \
+++ goto yybackup; \
+++ } \
+++ else \
+++ { \
+++ yyerror (YY_("syntax error: cannot back up")); \
+++ YYERROR; \
+++ } \
+++while (YYID (0))
+++
+++/* Error token number */
+++#define YYTERROR 1
+++#define YYERRCODE 256
+++
+++
+++/* This macro is provided for backward compatibility. */
+++#ifndef YY_LOCATION_PRINT
+++# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
+++#endif
+++
+++
+++/* YYLEX -- calling `yylex' with the right arguments. */
+++#ifdef YYLEX_PARAM
+++# define YYLEX yylex (&yylval, YYLEX_PARAM)
+++#else
+++# define YYLEX yylex (&yylval)
+++#endif
+++
+++/* Enable debugging if requested. */
+++#if YYDEBUG
+++
+++# ifndef YYFPRINTF
+++# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
+++# define YYFPRINTF fprintf
+++# endif
+++
+++# define YYDPRINTF(Args) \
+++do { \
+++ if (yydebug) \
+++ YYFPRINTF Args; \
+++} while (YYID (0))
+++
+++# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
+++do { \
+++ if (yydebug) \
+++ { \
+++ YYFPRINTF (stderr, "%s ", Title); \
+++ yy_symbol_print (stderr, \
+++ Type, Value); \
+++ YYFPRINTF (stderr, "\n"); \
+++ } \
+++} while (YYID (0))
+++
+++
+++/*--------------------------------.
+++| Print this symbol on YYOUTPUT. |
+++`--------------------------------*/
+++
+++/*ARGSUSED*/
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static void
+++yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
+++#else
+++static void
+++yy_symbol_value_print (yyoutput, yytype, yyvaluep)
+++ FILE *yyoutput;
+++ int yytype;
+++ YYSTYPE const * const yyvaluep;
+++#endif
+++{
+++ FILE *yyo = yyoutput;
+++ YYUSE (yyo);
+++ if (!yyvaluep)
+++ return;
+++# ifdef YYPRINT
+++ if (yytype < YYNTOKENS)
+++ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
+++# else
+++ YYUSE (yyoutput);
+++# endif
+++ YYUSE (yytype);
+++}
+++
+++
+++/*--------------------------------.
+++| Print this symbol on YYOUTPUT. |
+++`--------------------------------*/
+++
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static void
+++yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
+++#else
+++static void
+++yy_symbol_print (yyoutput, yytype, yyvaluep)
+++ FILE *yyoutput;
+++ int yytype;
+++ YYSTYPE const * const yyvaluep;
+++#endif
+++{
+++ if (yytype < YYNTOKENS)
+++ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
+++ else
+++ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
+++
+++ yy_symbol_value_print (yyoutput, yytype, yyvaluep);
+++ YYFPRINTF (yyoutput, ")");
+++}
+++
+++/*------------------------------------------------------------------.
+++| yy_stack_print -- Print the state stack from its BOTTOM up to its |
+++| TOP (included). |
+++`------------------------------------------------------------------*/
+++
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static void
+++yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
+++#else
+++static void
+++yy_stack_print (yybottom, yytop)
+++ yytype_int16 *yybottom;
+++ yytype_int16 *yytop;
+++#endif
+++{
+++ YYFPRINTF (stderr, "Stack now");
+++ for (; yybottom <= yytop; yybottom++)
+++ {
+++ int yybot = *yybottom;
+++ YYFPRINTF (stderr, " %d", yybot);
+++ }
+++ YYFPRINTF (stderr, "\n");
+++}
+++
+++# define YY_STACK_PRINT(Bottom, Top) \
+++do { \
+++ if (yydebug) \
+++ yy_stack_print ((Bottom), (Top)); \
+++} while (YYID (0))
+++
+++
+++/*------------------------------------------------.
+++| Report that the YYRULE is going to be reduced. |
+++`------------------------------------------------*/
+++
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static void
+++yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
+++#else
+++static void
+++yy_reduce_print (yyvsp, yyrule)
+++ YYSTYPE *yyvsp;
+++ int yyrule;
+++#endif
+++{
+++ int yynrhs = yyr2[yyrule];
+++ int yyi;
+++ unsigned long int yylno = yyrline[yyrule];
+++ YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
+++ yyrule - 1, yylno);
+++ /* The symbols being reduced. */
+++ for (yyi = 0; yyi < yynrhs; yyi++)
+++ {
+++ YYFPRINTF (stderr, " $%d = ", yyi + 1);
+++ yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
+++ &(yyvsp[(yyi + 1) - (yynrhs)])
+++ );
+++ YYFPRINTF (stderr, "\n");
+++ }
+++}
+++
+++# define YY_REDUCE_PRINT(Rule) \
+++do { \
+++ if (yydebug) \
+++ yy_reduce_print (yyvsp, Rule); \
+++} while (YYID (0))
+++
+++/* Nonzero means print parse trace. It is left uninitialized so that
+++ multiple parsers can coexist. */
+++int yydebug;
+++#else /* !YYDEBUG */
+++# define YYDPRINTF(Args)
+++# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
+++# define YY_STACK_PRINT(Bottom, Top)
+++# define YY_REDUCE_PRINT(Rule)
+++#endif /* !YYDEBUG */
+++
+++
+++/* YYINITDEPTH -- initial size of the parser's stacks. */
+++#ifndef YYINITDEPTH
+++# define YYINITDEPTH 200
+++#endif
+++
+++/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
+++ if the built-in stack extension method is used).
+++
+++ Do not make this value too large; the results are undefined if
+++ YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
+++ evaluated with infinite-precision integer arithmetic. */
+++
+++#ifndef YYMAXDEPTH
+++# define YYMAXDEPTH 10000
+++#endif
+++
+++
+++#if YYERROR_VERBOSE
+++
+++# ifndef yystrlen
+++# if defined __GLIBC__ && defined _STRING_H
+++# define yystrlen strlen
+++# else
+++/* Return the length of YYSTR. */
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static YYSIZE_T
+++yystrlen (const char *yystr)
+++#else
+++static YYSIZE_T
+++yystrlen (yystr)
+++ const char *yystr;
+++#endif
+++{
+++ YYSIZE_T yylen;
+++ for (yylen = 0; yystr[yylen]; yylen++)
+++ continue;
+++ return yylen;
+++}
+++# endif
+++# endif
+++
+++# ifndef yystpcpy
+++# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
+++# define yystpcpy stpcpy
+++# else
+++/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
+++ YYDEST. */
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static char *
+++yystpcpy (char *yydest, const char *yysrc)
+++#else
+++static char *
+++yystpcpy (yydest, yysrc)
+++ char *yydest;
+++ const char *yysrc;
+++#endif
+++{
+++ char *yyd = yydest;
+++ const char *yys = yysrc;
+++
+++ while ((*yyd++ = *yys++) != '\0')
+++ continue;
+++
+++ return yyd - 1;
+++}
+++# endif
+++# endif
+++
+++# ifndef yytnamerr
+++/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
+++ quotes and backslashes, so that it's suitable for yyerror. The
+++ heuristic is that double-quoting is unnecessary unless the string
+++ contains an apostrophe, a comma, or backslash (other than
+++ backslash-backslash). YYSTR is taken from yytname. If YYRES is
+++ null, do not copy; instead, return the length of what the result
+++ would have been. */
+++static YYSIZE_T
+++yytnamerr (char *yyres, const char *yystr)
+++{
+++ if (*yystr == '"')
+++ {
+++ YYSIZE_T yyn = 0;
+++ char const *yyp = yystr;
+++
+++ for (;;)
+++ switch (*++yyp)
+++ {
+++ case '\'':
+++ case ',':
+++ goto do_not_strip_quotes;
+++
+++ case '\\':
+++ if (*++yyp != '\\')
+++ goto do_not_strip_quotes;
+++ /* Fall through. */
+++ default:
+++ if (yyres)
+++ yyres[yyn] = *yyp;
+++ yyn++;
+++ break;
+++
+++ case '"':
+++ if (yyres)
+++ yyres[yyn] = '\0';
+++ return yyn;
+++ }
+++ do_not_strip_quotes: ;
+++ }
+++
+++ if (! yyres)
+++ return yystrlen (yystr);
+++
+++ return yystpcpy (yyres, yystr) - yyres;
+++}
+++# endif
+++
+++/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
+++ about the unexpected token YYTOKEN for the state stack whose top is
+++ YYSSP.
+++
+++ Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
+++ not large enough to hold the message. In that case, also set
+++ *YYMSG_ALLOC to the required number of bytes. Return 2 if the
+++ required number of bytes is too large to store. */
+++static int
+++yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
+++ yytype_int16 *yyssp, int yytoken)
+++{
+++ YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
+++ YYSIZE_T yysize = yysize0;
+++ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
+++ /* Internationalized format string. */
+++ const char *yyformat = YY_NULL;
+++ /* Arguments of yyformat. */
+++ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+++ /* Number of reported tokens (one for the "unexpected", one per
+++ "expected"). */
+++ int yycount = 0;
+++
+++ /* There are many possibilities here to consider:
+++ - Assume YYFAIL is not used. It's too flawed to consider. See
+++ <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
+++ for details. YYERROR is fine as it does not invoke this
+++ function.
+++ - If this state is a consistent state with a default action, then
+++ the only way this function was invoked is if the default action
+++ is an error action. In that case, don't check for expected
+++ tokens because there are none.
+++ - The only way there can be no lookahead present (in yychar) is if
+++ this state is a consistent state with a default action. Thus,
+++ detecting the absence of a lookahead is sufficient to determine
+++ that there is no unexpected or expected token to report. In that
+++ case, just report a simple "syntax error".
+++ - Don't assume there isn't a lookahead just because this state is a
+++ consistent state with a default action. There might have been a
+++ previous inconsistent state, consistent state with a non-default
+++ action, or user semantic action that manipulated yychar.
+++ - Of course, the expected token list depends on states to have
+++ correct lookahead information, and it depends on the parser not
+++ to perform extra reductions after fetching a lookahead from the
+++ scanner and before detecting a syntax error. Thus, state merging
+++ (from LALR or IELR) and default reductions corrupt the expected
+++ token list. However, the list is correct for canonical LR with
+++ one exception: it will still contain any token that will not be
+++ accepted due to an error action in a later state.
+++ */
+++ if (yytoken != YYEMPTY)
+++ {
+++ int yyn = yypact[*yyssp];
+++ yyarg[yycount++] = yytname[yytoken];
+++ if (!yypact_value_is_default (yyn))
+++ {
+++ /* Start YYX at -YYN if negative to avoid negative indexes in
+++ YYCHECK. In other words, skip the first -YYN actions for
+++ this state because they are default actions. */
+++ int yyxbegin = yyn < 0 ? -yyn : 0;
+++ /* Stay within bounds of both yycheck and yytname. */
+++ int yychecklim = YYLAST - yyn + 1;
+++ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
+++ int yyx;
+++
+++ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
+++ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
+++ && !yytable_value_is_error (yytable[yyx + yyn]))
+++ {
+++ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
+++ {
+++ yycount = 1;
+++ yysize = yysize0;
+++ break;
+++ }
+++ yyarg[yycount++] = yytname[yyx];
+++ {
+++ YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
+++ if (! (yysize <= yysize1
+++ && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
+++ return 2;
+++ yysize = yysize1;
+++ }
+++ }
+++ }
+++ }
+++
+++ switch (yycount)
+++ {
+++# define YYCASE_(N, S) \
+++ case N: \
+++ yyformat = S; \
+++ break
+++ YYCASE_(0, YY_("syntax error"));
+++ YYCASE_(1, YY_("syntax error, unexpected %s"));
+++ YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
+++ YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
+++ YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
+++ YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
+++# undef YYCASE_
+++ }
+++
+++ {
+++ YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
+++ if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
+++ return 2;
+++ yysize = yysize1;
+++ }
+++
+++ if (*yymsg_alloc < yysize)
+++ {
+++ *yymsg_alloc = 2 * yysize;
+++ if (! (yysize <= *yymsg_alloc
+++ && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
+++ *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
+++ return 1;
+++ }
+++
+++ /* Avoid sprintf, as that infringes on the user's name space.
+++ Don't have undefined behavior even if the translation
+++ produced a string with the wrong number of "%s"s. */
+++ {
+++ char *yyp = *yymsg;
+++ int yyi = 0;
+++ while ((*yyp = *yyformat) != '\0')
+++ if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
+++ {
+++ yyp += yytnamerr (yyp, yyarg[yyi++]);
+++ yyformat += 2;
+++ }
+++ else
+++ {
+++ yyp++;
+++ yyformat++;
+++ }
+++ }
+++ return 0;
+++}
+++#endif /* YYERROR_VERBOSE */
+++
+++/*-----------------------------------------------.
+++| Release the memory associated to this symbol. |
+++`-----------------------------------------------*/
+++
+++/*ARGSUSED*/
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++static void
+++yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
+++#else
+++static void
+++yydestruct (yymsg, yytype, yyvaluep)
+++ const char *yymsg;
+++ int yytype;
+++ YYSTYPE *yyvaluep;
+++#endif
+++{
+++ YYUSE (yyvaluep);
+++
+++ if (!yymsg)
+++ yymsg = "Deleting";
+++ YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
+++
+++ YYUSE (yytype);
+++}
+++
+++
+++
+++
+++/*----------.
+++| yyparse. |
+++`----------*/
+++
+++#ifdef YYPARSE_PARAM
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++int
+++yyparse (void *YYPARSE_PARAM)
+++#else
+++int
+++yyparse (YYPARSE_PARAM)
+++ void *YYPARSE_PARAM;
+++#endif
+++#else /* ! YYPARSE_PARAM */
+++#if (defined __STDC__ || defined __C99__FUNC__ \
+++ || defined __cplusplus || defined _MSC_VER)
+++int
+++yyparse (void)
+++#else
+++int
+++yyparse ()
+++
+++#endif
+++#endif
+++{
+++/* The lookahead symbol. */
+++int yychar;
+++
+++
+++#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
+++/* Suppress an incorrect diagnostic about yylval being uninitialized. */
+++# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
+++ _Pragma ("GCC diagnostic push") \
+++ _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
+++ _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
+++# define YY_IGNORE_MAYBE_UNINITIALIZED_END \
+++ _Pragma ("GCC diagnostic pop")
+++#else
+++/* Default value used for initialization, for pacifying older GCCs
+++ or non-GCC compilers. */
+++static YYSTYPE yyval_default;
+++# define YY_INITIAL_VALUE(Value) = Value
+++#endif
+++#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
+++# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
+++# define YY_IGNORE_MAYBE_UNINITIALIZED_END
+++#endif
+++#ifndef YY_INITIAL_VALUE
+++# define YY_INITIAL_VALUE(Value) /* Nothing. */
+++#endif
+++
+++/* The semantic value of the lookahead symbol. */
+++YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
+++
+++ /* Number of syntax errors so far. */
+++ int yynerrs;
+++
+++ int yystate;
+++ /* Number of tokens to shift before error messages enabled. */
+++ int yyerrstatus;
+++
+++ /* The stacks and their tools:
+++ `yyss': related to states.
+++ `yyvs': related to semantic values.
+++
+++ Refer to the stacks through separate pointers, to allow yyoverflow
+++ to reallocate them elsewhere. */
+++
+++ /* The state stack. */
+++ yytype_int16 yyssa[YYINITDEPTH];
+++ yytype_int16 *yyss;
+++ yytype_int16 *yyssp;
+++
+++ /* The semantic value stack. */
+++ YYSTYPE yyvsa[YYINITDEPTH];
+++ YYSTYPE *yyvs;
+++ YYSTYPE *yyvsp;
+++
+++ YYSIZE_T yystacksize;
+++
+++ int yyn;
+++ int yyresult;
+++ /* Lookahead token as an internal (translated) token number. */
+++ int yytoken = 0;
+++ /* The variables used to return semantic value and location from the
+++ action routines. */
+++ YYSTYPE yyval;
+++
+++#if YYERROR_VERBOSE
+++ /* Buffer for error messages, and its allocated size. */
+++ char yymsgbuf[128];
+++ char *yymsg = yymsgbuf;
+++ YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
+++#endif
+++
+++#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
+++
+++ /* The number of symbols on the RHS of the reduced rule.
+++ Keep to zero when no symbol should be popped. */
+++ int yylen = 0;
+++
+++ yyssp = yyss = yyssa;
+++ yyvsp = yyvs = yyvsa;
+++ yystacksize = YYINITDEPTH;
+++
+++ YYDPRINTF ((stderr, "Starting parse\n"));
+++
+++ yystate = 0;
+++ yyerrstatus = 0;
+++ yynerrs = 0;
+++ yychar = YYEMPTY; /* Cause a token to be read. */
+++ goto yysetstate;
+++
+++/*------------------------------------------------------------.
+++| yynewstate -- Push a new state, which is found in yystate. |
+++`------------------------------------------------------------*/
+++ yynewstate:
+++ /* In all cases, when you get here, the value and location stacks
+++ have just been pushed. So pushing a state here evens the stacks. */
+++ yyssp++;
+++
+++ yysetstate:
+++ *yyssp = yystate;
+++
+++ if (yyss + yystacksize - 1 <= yyssp)
+++ {
+++ /* Get the current used size of the three stacks, in elements. */
+++ YYSIZE_T yysize = yyssp - yyss + 1;
+++
+++#ifdef yyoverflow
+++ {
+++ /* Give user a chance to reallocate the stack. Use copies of
+++ these so that the &'s don't force the real ones into
+++ memory. */
+++ YYSTYPE *yyvs1 = yyvs;
+++ yytype_int16 *yyss1 = yyss;
+++
+++ /* Each stack pointer address is followed by the size of the
+++ data in use in that stack, in bytes. This used to be a
+++ conditional around just the two extra args, but that might
+++ be undefined if yyoverflow is a macro. */
+++ yyoverflow (YY_("memory exhausted"),
+++ &yyss1, yysize * sizeof (*yyssp),
+++ &yyvs1, yysize * sizeof (*yyvsp),
+++ &yystacksize);
+++
+++ yyss = yyss1;
+++ yyvs = yyvs1;
+++ }
+++#else /* no yyoverflow */
+++# ifndef YYSTACK_RELOCATE
+++ goto yyexhaustedlab;
+++# else
+++ /* Extend the stack our own way. */
+++ if (YYMAXDEPTH <= yystacksize)
+++ goto yyexhaustedlab;
+++ yystacksize *= 2;
+++ if (YYMAXDEPTH < yystacksize)
+++ yystacksize = YYMAXDEPTH;
+++
+++ {
+++ yytype_int16 *yyss1 = yyss;
+++ union yyalloc *yyptr =
+++ (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
+++ if (! yyptr)
+++ goto yyexhaustedlab;
+++ YYSTACK_RELOCATE (yyss_alloc, yyss);
+++ YYSTACK_RELOCATE (yyvs_alloc, yyvs);
+++# undef YYSTACK_RELOCATE
+++ if (yyss1 != yyssa)
+++ YYSTACK_FREE (yyss1);
+++ }
+++# endif
+++#endif /* no yyoverflow */
+++
+++ yyssp = yyss + yysize - 1;
+++ yyvsp = yyvs + yysize - 1;
+++
+++ YYDPRINTF ((stderr, "Stack size increased to %lu\n",
+++ (unsigned long int) yystacksize));
+++
+++ if (yyss + yystacksize - 1 <= yyssp)
+++ YYABORT;
+++ }
+++
+++ YYDPRINTF ((stderr, "Entering state %d\n", yystate));
+++
+++ if (yystate == YYFINAL)
+++ YYACCEPT;
+++
+++ goto yybackup;
+++
+++/*-----------.
+++| yybackup. |
+++`-----------*/
+++yybackup:
+++
+++ /* Do appropriate processing given the current state. Read a
+++ lookahead token if we need one and don't already have one. */
+++
+++ /* First try to decide what to do without reference to lookahead token. */
+++ yyn = yypact[yystate];
+++ if (yypact_value_is_default (yyn))
+++ goto yydefault;
+++
+++ /* Not known => get a lookahead token if don't already have one. */
+++
+++ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
+++ if (yychar == YYEMPTY)
+++ {
+++ YYDPRINTF ((stderr, "Reading a token: "));
+++ yychar = YYLEX;
+++ }
+++
+++ if (yychar <= YYEOF)
+++ {
+++ yychar = yytoken = YYEOF;
+++ YYDPRINTF ((stderr, "Now at end of input.\n"));
+++ }
+++ else
+++ {
+++ yytoken = YYTRANSLATE (yychar);
+++ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
+++ }
+++
+++ /* If the proper action on seeing token YYTOKEN is to reduce or to
+++ detect an error, take that action. */
+++ yyn += yytoken;
+++ if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
+++ goto yydefault;
+++ yyn = yytable[yyn];
+++ if (yyn <= 0)
+++ {
+++ if (yytable_value_is_error (yyn))
+++ goto yyerrlab;
+++ yyn = -yyn;
+++ goto yyreduce;
+++ }
+++
+++ /* Count tokens shifted since error; after three, turn off error
+++ status. */
+++ if (yyerrstatus)
+++ yyerrstatus--;
+++
+++ /* Shift the lookahead token. */
+++ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
+++
+++ /* Discard the shifted token. */
+++ yychar = YYEMPTY;
+++
+++ yystate = yyn;
+++ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
+++ *++yyvsp = yylval;
+++ YY_IGNORE_MAYBE_UNINITIALIZED_END
+++
+++ goto yynewstate;
+++
+++
+++/*-----------------------------------------------------------.
+++| yydefault -- do the default action for the current state. |
+++`-----------------------------------------------------------*/
+++yydefault:
+++ yyn = yydefact[yystate];
+++ if (yyn == 0)
+++ goto yyerrlab;
+++ goto yyreduce;
+++
+++
+++/*-----------------------------.
+++| yyreduce -- Do a reduction. |
+++`-----------------------------*/
+++yyreduce:
+++ /* yyn is the number of a rule to reduce with. */
+++ yylen = yyr2[yyn];
+++
+++ /* If YYLEN is nonzero, implement the default value of the action:
+++ `$$ = $1'.
+++
+++ Otherwise, the following line sets YYVAL to garbage.
+++ This behavior is undocumented and Bison
+++ users should not rely upon it. Assigning to YYVAL
+++ unconditionally makes the parser a bit smaller, and it avoids a
+++ GCC warning that YYVAL may be used uninitialized. */
+++ yyval = yyvsp[1-yylen];
+++
+++
+++ YY_REDUCE_PRINT (yyn);
+++ switch (yyn)
+++ {
+++ case 4:
+++/* Line 1787 of yacc.c */
+++#line 157 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHaveTime++;
+++ }
+++ break;
+++
+++ case 5:
+++/* Line 1787 of yacc.c */
+++#line 160 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHaveZone++;
+++ }
+++ break;
+++
+++ case 6:
+++/* Line 1787 of yacc.c */
+++#line 163 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHaveDate++;
+++ }
+++ break;
+++
+++ case 7:
+++/* Line 1787 of yacc.c */
+++#line 166 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHaveDay++;
+++ }
+++ break;
+++
+++ case 8:
+++/* Line 1787 of yacc.c */
+++#line 169 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHaveRel++;
+++ }
+++ break;
+++
+++ case 10:
+++/* Line 1787 of yacc.c */
+++#line 175 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (2)].Number);
+++ VARIABLE->yyMinutes = 0;
+++ VARIABLE->yySeconds = 0;
+++ VARIABLE->yyMeridian = (yyvsp[(2) - (2)].Meridian);
+++ }
+++ break;
+++
+++ case 11:
+++/* Line 1787 of yacc.c */
+++#line 181 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (2)].Number)/100;
+++ VARIABLE->yyMinutes = (yyvsp[(1) - (2)].Number)%100;
+++ VARIABLE->yySeconds = 0;
+++ VARIABLE->yyMeridian = MER24;
+++ VARIABLE->yyDSTmode = DSToff;
+++ VARIABLE->yyTimezone = - ((yyvsp[(2) - (2)].Number) % 100 + ((yyvsp[(2) - (2)].Number) / 100) * 60);
+++ }
+++ break;
+++
+++ case 12:
+++/* Line 1787 of yacc.c */
+++#line 189 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (2)].Number)/10000;
+++ VARIABLE->yyMinutes = ((yyvsp[(1) - (2)].Number)/100)%100;
+++ VARIABLE->yySeconds = (yyvsp[(1) - (2)].Number) % 100;
+++ VARIABLE->yyMeridian = MER24;
+++ VARIABLE->yyDSTmode = DSToff;
+++ VARIABLE->yyTimezone = - ((yyvsp[(2) - (2)].Number) % 100 + ((yyvsp[(2) - (2)].Number) / 100) * 60);
+++ }
+++ break;
+++
+++ case 13:
+++/* Line 1787 of yacc.c */
+++#line 197 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (4)].Number);
+++ VARIABLE->yyMinutes = (yyvsp[(3) - (4)].Number);
+++ VARIABLE->yySeconds = 0;
+++ VARIABLE->yyMeridian = (yyvsp[(4) - (4)].Meridian);
+++ }
+++ break;
+++
+++ case 14:
+++/* Line 1787 of yacc.c */
+++#line 203 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (4)].Number);
+++ VARIABLE->yyMinutes = (yyvsp[(3) - (4)].Number);
+++ VARIABLE->yyMeridian = MER24;
+++ VARIABLE->yyDSTmode = DSToff;
+++ VARIABLE->yyTimezone = - ((yyvsp[(4) - (4)].Number) % 100 + ((yyvsp[(4) - (4)].Number) / 100) * 60);
+++ }
+++ break;
+++
+++ case 15:
+++/* Line 1787 of yacc.c */
+++#line 210 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (6)].Number);
+++ VARIABLE->yyMinutes = (yyvsp[(3) - (6)].Number);
+++ VARIABLE->yySeconds = (yyvsp[(5) - (6)].Number);
+++ VARIABLE->yyMeridian = (yyvsp[(6) - (6)].Meridian);
+++ }
+++ break;
+++
+++ case 16:
+++/* Line 1787 of yacc.c */
+++#line 216 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyHour = (yyvsp[(1) - (6)].Number);
+++ VARIABLE->yyMinutes = (yyvsp[(3) - (6)].Number);
+++ VARIABLE->yySeconds = (yyvsp[(5) - (6)].Number);
+++ VARIABLE->yyMeridian = MER24;
+++ VARIABLE->yyDSTmode = DSToff;
+++ VARIABLE->yyTimezone = - ((yyvsp[(6) - (6)].Number) % 100 + ((yyvsp[(6) - (6)].Number) / 100) * 60);
+++ }
+++ break;
+++
+++ case 17:
+++/* Line 1787 of yacc.c */
+++#line 226 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyTimezone = (yyvsp[(1) - (1)].Number);
+++ VARIABLE->yyDSTmode = DSToff;
+++ }
+++ break;
+++
+++ case 18:
+++/* Line 1787 of yacc.c */
+++#line 230 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyTimezone = (yyvsp[(1) - (1)].Number);
+++ VARIABLE->yyDSTmode = DSTon;
+++ }
+++ break;
+++
+++ case 19:
+++/* Line 1787 of yacc.c */
+++#line 235 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyTimezone = (yyvsp[(1) - (2)].Number);
+++ VARIABLE->yyDSTmode = DSTon;
+++ }
+++ break;
+++
+++ case 20:
+++/* Line 1787 of yacc.c */
+++#line 239 "ptlib/common/getdate.y"
+++ {
+++ if (VARIABLE->yyHaveTime > 0) {
+++ VARIABLE->yyTimezone = (yyvsp[(1) - (1)].Number);
+++ VARIABLE->yyDSTmode = DSToff;
+++ }
+++ else
+++ VARIABLE->yyHaveZone--;
+++ }
+++ break;
+++
+++ case 21:
+++/* Line 1787 of yacc.c */
+++#line 249 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyDayOrdinal = 1;
+++ VARIABLE->yyDayNumber = (yyvsp[(1) - (1)].Number);
+++ }
+++ break;
+++
+++ case 22:
+++/* Line 1787 of yacc.c */
+++#line 253 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyDayOrdinal = 1;
+++ VARIABLE->yyDayNumber = (yyvsp[(1) - (2)].Number);
+++ }
+++ break;
+++
+++ case 23:
+++/* Line 1787 of yacc.c */
+++#line 257 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyDayOrdinal = (yyvsp[(1) - (2)].Number);
+++ VARIABLE->yyDayNumber = (yyvsp[(2) - (2)].Number);
+++ }
+++ break;
+++
+++ case 24:
+++/* Line 1787 of yacc.c */
+++#line 263 "ptlib/common/getdate.y"
+++ {
+++ SetPossibleDate(VARIABLE, (yyvsp[(1) - (3)].Number), (yyvsp[(3) - (3)].Number), VARIABLE->yyYear);
+++ }
+++ break;
+++
+++ case 25:
+++/* Line 1787 of yacc.c */
+++#line 266 "ptlib/common/getdate.y"
+++ {
+++ SetPossibleDate(VARIABLE, (yyvsp[(1) - (5)].Number), (yyvsp[(3) - (5)].Number), (yyvsp[(5) - (5)].Number));
+++ }
+++ break;
+++
+++ case 26:
+++/* Line 1787 of yacc.c */
+++#line 269 "ptlib/common/getdate.y"
+++ {
+++ /* ISO 8601 format. yyyy-mm-dd. */
+++ SetPossibleDate(VARIABLE, (yyvsp[(1) - (4)].Number), -(yyvsp[(2) - (4)].Number), -(yyvsp[(3) - (4)].Number));
+++ }
+++ break;
+++
+++ case 27:
+++/* Line 1787 of yacc.c */
+++#line 273 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyDay= ((yyvsp[(1) - (1)].Number))%100;
+++ VARIABLE->yyMonth= ((yyvsp[(1) - (1)].Number)/100)%100;
+++ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number)/10000;
+++ }
+++ break;
+++
+++ case 28:
+++/* Line 1787 of yacc.c */
+++#line 278 "ptlib/common/getdate.y"
+++ {
+++ /* e.g. 17-JUN-1992. */
+++ SetPossibleDate(VARIABLE, (yyvsp[(1) - (3)].Number), (yyvsp[(2) - (3)].Number), -(yyvsp[(3) - (3)].Number));
+++ }
+++ break;
+++
+++ case 29:
+++/* Line 1787 of yacc.c */
+++#line 282 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyMonth = (yyvsp[(1) - (2)].Number);
+++ if ((yyvsp[(2) - (2)].Number) > 31)
+++ VARIABLE->yyYear = (yyvsp[(2) - (2)].Number);
+++ else
+++ VARIABLE->yyDay = (yyvsp[(2) - (2)].Number);
+++ }
+++ break;
+++
+++ case 30:
+++/* Line 1787 of yacc.c */
+++#line 289 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyMonth = (yyvsp[(1) - (4)].Number);
+++ VARIABLE->yyDay = (yyvsp[(2) - (4)].Number);
+++ VARIABLE->yyYear = (yyvsp[(4) - (4)].Number);
+++ }
+++ break;
+++
+++ case 31:
+++/* Line 1787 of yacc.c */
+++#line 294 "ptlib/common/getdate.y"
+++ {
+++ if ((yyvsp[(1) - (2)].Number) > 31)
+++ VARIABLE->yyYear = (yyvsp[(1) - (2)].Number);
+++ else
+++ VARIABLE->yyDay = (yyvsp[(1) - (2)].Number);
+++ VARIABLE->yyMonth = (yyvsp[(2) - (2)].Number);
+++ }
+++ break;
+++
+++ case 32:
+++/* Line 1787 of yacc.c */
+++#line 301 "ptlib/common/getdate.y"
+++ {
+++ SetPossibleDate(VARIABLE, (yyvsp[(1) - (3)].Number), (yyvsp[(2) - (3)].Number), (yyvsp[(3) - (3)].Number));
+++ }
+++ break;
+++
+++ case 33:
+++/* Line 1787 of yacc.c */
+++#line 306 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds = -VARIABLE->yyRelSeconds;
+++ VARIABLE->yyRelMonth = -VARIABLE->yyRelMonth;
+++ }
+++ break;
+++
+++ case 35:
+++/* Line 1787 of yacc.c */
+++#line 313 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number) * 60L;
+++ }
+++ break;
+++
+++ case 36:
+++/* Line 1787 of yacc.c */
+++#line 316 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number) * 60L;
+++ }
+++ break;
+++
+++ case 37:
+++/* Line 1787 of yacc.c */
+++#line 319 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds += (yyvsp[(1) - (1)].Number) * 60L;
+++ }
+++ break;
+++
+++ case 38:
+++/* Line 1787 of yacc.c */
+++#line 322 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number);
+++ }
+++ break;
+++
+++ case 39:
+++/* Line 1787 of yacc.c */
+++#line 325 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number);
+++ }
+++ break;
+++
+++ case 40:
+++/* Line 1787 of yacc.c */
+++#line 328 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelSeconds++;
+++ }
+++ break;
+++
+++ case 41:
+++/* Line 1787 of yacc.c */
+++#line 331 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelMonth += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number);
+++ }
+++ break;
+++
+++ case 42:
+++/* Line 1787 of yacc.c */
+++#line 334 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelMonth += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number);
+++ }
+++ break;
+++
+++ case 43:
+++/* Line 1787 of yacc.c */
+++#line 337 "ptlib/common/getdate.y"
+++ {
+++ VARIABLE->yyRelMonth += (yyvsp[(1) - (1)].Number);
+++ }
+++ break;
+++
+++ case 44:
+++/* Line 1787 of yacc.c */
+++#line 342 "ptlib/common/getdate.y"
+++ {
+++ (yyval.Number) = (yyvsp[(1) - (1)].Number);
+++ }
+++ break;
+++
+++ case 45:
+++/* Line 1787 of yacc.c */
+++#line 345 "ptlib/common/getdate.y"
+++ {
+++ (yyval.Number) = (yyvsp[(1) - (1)].Number);
+++ }
+++ break;
+++
+++ case 46:
+++/* Line 1787 of yacc.c */
+++#line 348 "ptlib/common/getdate.y"
+++ {
+++ (yyval.Number) = (yyvsp[(1) - (1)].Number);
+++ }
+++ break;
+++
+++ case 47:
+++/* Line 1787 of yacc.c */
+++#line 353 "ptlib/common/getdate.y"
+++ {
+++ if (VARIABLE->yyHaveTime && VARIABLE->yyHaveDate && !VARIABLE->yyHaveRel)
+++ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number);
+++ else {
+++ if((yyvsp[(1) - (1)].Number)>240000) {
+++ VARIABLE->yyHaveDate++;
+++ VARIABLE->yyDay= ((yyvsp[(1) - (1)].Number))%100;
+++ VARIABLE->yyMonth= ((yyvsp[(1) - (1)].Number)/100)%100;
+++ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number)/10000;
+++ }
+++ else {
+++ VARIABLE->yyHaveTime++;
+++ if ((yyvsp[(1) - (1)].Number) < 10000) {
+++ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number) / 100;
+++ VARIABLE->yyMinutes = (yyvsp[(1) - (1)].Number) % 100;
+++ VARIABLE->yySeconds = 0;
+++ }
+++ else {
+++ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number)/10000;
+++ VARIABLE->yyMinutes = ((yyvsp[(1) - (1)].Number)/100)%100;
+++ VARIABLE->yySeconds = (yyvsp[(1) - (1)].Number) % 100;
+++ }
+++ VARIABLE->yyMeridian = MER24;
+++ }
+++ }
+++ }
+++ break;
+++
+++ case 48:
+++/* Line 1787 of yacc.c */
+++#line 379 "ptlib/common/getdate.y"
+++ {
+++ if (VARIABLE->yyHaveTime && VARIABLE->yyHaveDate && !VARIABLE->yyHaveRel)
+++ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number);
+++ else {
+++ VARIABLE->yyHaveTime++;
+++ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number)/100;
+++ VARIABLE->yyMinutes = (yyvsp[(1) - (1)].Number)%100;
+++ VARIABLE->yySeconds = 0;
+++ VARIABLE->yyMeridian = MER24;
+++ }
+++ }
+++ break;
+++
+++ case 49:
+++/* Line 1787 of yacc.c */
+++#line 390 "ptlib/common/getdate.y"
+++ {
+++ if (!VARIABLE->yyHaveDate && (yyvsp[(1) - (1)].Number)>240000) {
+++ VARIABLE->yyHaveDate++;
+++ VARIABLE->yyDay= ((yyvsp[(1) - (1)].Number))%100;
+++ VARIABLE->yyMonth= ((yyvsp[(1) - (1)].Number)/100)%100;
+++ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number)/10000;
+++ }
+++ else if (!VARIABLE->yyHaveTime) {
+++ VARIABLE->yyHaveTime++;
+++ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number)/10000;
+++ VARIABLE->yyMinutes = ((yyvsp[(1) - (1)].Number)/100)%100;
+++ VARIABLE->yySeconds = (yyvsp[(1) - (1)].Number) % 100;
+++ VARIABLE->yyMeridian = MER24;
+++ }
+++ }
+++ break;
+++
+++ case 50:
+++/* Line 1787 of yacc.c */
+++#line 407 "ptlib/common/getdate.y"
+++ {
+++ (yyval.Meridian) = MER24;
+++ }
+++ break;
+++
+++ case 51:
+++/* Line 1787 of yacc.c */
+++#line 410 "ptlib/common/getdate.y"
+++ {
+++ (yyval.Meridian) = (yyvsp[(1) - (1)].Meridian);
+++ }
+++ break;
+++
+++
+++/* Line 1787 of yacc.c */
+++#line 2031 "ptlib/common/getdate.tab.c"
+++ default: break;
+++ }
+++ /* User semantic actions sometimes alter yychar, and that requires
+++ that yytoken be updated with the new translation. We take the
+++ approach of translating immediately before every use of yytoken.
+++ One alternative is translating here after every semantic action,
+++ but that translation would be missed if the semantic action invokes
+++ YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
+++ if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
+++ incorrect destructor might then be invoked immediately. In the
+++ case of YYERROR or YYBACKUP, subsequent parser actions might lead
+++ to an incorrect destructor call or verbose syntax error message
+++ before the lookahead is translated. */
+++ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
+++
+++ YYPOPSTACK (yylen);
+++ yylen = 0;
+++ YY_STACK_PRINT (yyss, yyssp);
+++
+++ *++yyvsp = yyval;
+++
+++ /* Now `shift' the result of the reduction. Determine what state
+++ that goes to, based on the state we popped back to and the rule
+++ number reduced by. */
+++
+++ yyn = yyr1[yyn];
+++
+++ yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
+++ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
+++ yystate = yytable[yystate];
+++ else
+++ yystate = yydefgoto[yyn - YYNTOKENS];
+++
+++ goto yynewstate;
+++
+++
+++/*------------------------------------.
+++| yyerrlab -- here on detecting error |
+++`------------------------------------*/
+++yyerrlab:
+++ /* Make sure we have latest lookahead translation. See comments at
+++ user semantic actions for why this is necessary. */
+++ yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
+++
+++ /* If not already recovering from an error, report this error. */
+++ if (!yyerrstatus)
+++ {
+++ ++yynerrs;
+++#if ! YYERROR_VERBOSE
+++ yyerror (YY_("syntax error"));
+++#else
+++# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
+++ yyssp, yytoken)
+++ {
+++ char const *yymsgp = YY_("syntax error");
+++ int yysyntax_error_status;
+++ yysyntax_error_status = YYSYNTAX_ERROR;
+++ if (yysyntax_error_status == 0)
+++ yymsgp = yymsg;
+++ else if (yysyntax_error_status == 1)
+++ {
+++ if (yymsg != yymsgbuf)
+++ YYSTACK_FREE (yymsg);
+++ yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
+++ if (!yymsg)
+++ {
+++ yymsg = yymsgbuf;
+++ yymsg_alloc = sizeof yymsgbuf;
+++ yysyntax_error_status = 2;
+++ }
+++ else
+++ {
+++ yysyntax_error_status = YYSYNTAX_ERROR;
+++ yymsgp = yymsg;
+++ }
+++ }
+++ yyerror (yymsgp);
+++ if (yysyntax_error_status == 2)
+++ goto yyexhaustedlab;
+++ }
+++# undef YYSYNTAX_ERROR
+++#endif
+++ }
+++
+++
+++
+++ if (yyerrstatus == 3)
+++ {
+++ /* If just tried and failed to reuse lookahead token after an
+++ error, discard it. */
+++
+++ if (yychar <= YYEOF)
+++ {
+++ /* Return failure if at end of input. */
+++ if (yychar == YYEOF)
+++ YYABORT;
+++ }
+++ else
+++ {
+++ yydestruct ("Error: discarding",
+++ yytoken, &yylval);
+++ yychar = YYEMPTY;
+++ }
+++ }
+++
+++ /* Else will try to reuse lookahead token after shifting the error
+++ token. */
+++ goto yyerrlab1;
+++
+++
+++/*---------------------------------------------------.
+++| yyerrorlab -- error raised explicitly by YYERROR. |
+++`---------------------------------------------------*/
+++yyerrorlab:
+++
+++ /* Pacify compilers like GCC when the user code never invokes
+++ YYERROR and the label yyerrorlab therefore never appears in user
+++ code. */
+++ if (/*CONSTCOND*/ 0)
+++ goto yyerrorlab;
+++
+++ /* Do not reclaim the symbols of the rule which action triggered
+++ this YYERROR. */
+++ YYPOPSTACK (yylen);
+++ yylen = 0;
+++ YY_STACK_PRINT (yyss, yyssp);
+++ yystate = *yyssp;
+++ goto yyerrlab1;
+++
+++
+++/*-------------------------------------------------------------.
+++| yyerrlab1 -- common code for both syntax error and YYERROR. |
+++`-------------------------------------------------------------*/
+++yyerrlab1:
+++ yyerrstatus = 3; /* Each real token shifted decrements this. */
+++
+++ for (;;)
+++ {
+++ yyn = yypact[yystate];
+++ if (!yypact_value_is_default (yyn))
+++ {
+++ yyn += YYTERROR;
+++ if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
+++ {
+++ yyn = yytable[yyn];
+++ if (0 < yyn)
+++ break;
+++ }
+++ }
+++
+++ /* Pop the current state because it cannot handle the error token. */
+++ if (yyssp == yyss)
+++ YYABORT;
+++
+++
+++ yydestruct ("Error: popping",
+++ yystos[yystate], yyvsp);
+++ YYPOPSTACK (1);
+++ yystate = *yyssp;
+++ YY_STACK_PRINT (yyss, yyssp);
+++ }
+++
+++ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
+++ *++yyvsp = yylval;
+++ YY_IGNORE_MAYBE_UNINITIALIZED_END
+++
+++
+++ /* Shift the error token. */
+++ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
+++
+++ yystate = yyn;
+++ goto yynewstate;
+++
+++
+++/*-------------------------------------.
+++| yyacceptlab -- YYACCEPT comes here. |
+++`-------------------------------------*/
+++yyacceptlab:
+++ yyresult = 0;
+++ goto yyreturn;
+++
+++/*-----------------------------------.
+++| yyabortlab -- YYABORT comes here. |
+++`-----------------------------------*/
+++yyabortlab:
+++ yyresult = 1;
+++ goto yyreturn;
+++
+++#if !defined yyoverflow || YYERROR_VERBOSE
+++/*-------------------------------------------------.
+++| yyexhaustedlab -- memory exhaustion comes here. |
+++`-------------------------------------------------*/
+++yyexhaustedlab:
+++ yyerror (YY_("memory exhausted"));
+++ yyresult = 2;
+++ /* Fall through. */
+++#endif
+++
+++yyreturn:
+++ if (yychar != YYEMPTY)
+++ {
+++ /* Make sure we have latest lookahead translation. See comments at
+++ user semantic actions for why this is necessary. */
+++ yytoken = YYTRANSLATE (yychar);
+++ yydestruct ("Cleanup: discarding lookahead",
+++ yytoken, &yylval);
+++ }
+++ /* Do not reclaim the symbols of the rule which action triggered
+++ this YYABORT or YYACCEPT. */
+++ YYPOPSTACK (yylen);
+++ YY_STACK_PRINT (yyss, yyssp);
+++ while (yyssp != yyss)
+++ {
+++ yydestruct ("Cleanup: popping",
+++ yystos[*yyssp], yyvsp);
+++ YYPOPSTACK (1);
+++ }
+++#ifndef yyoverflow
+++ if (yyss != yyssa)
+++ YYSTACK_FREE (yyss);
+++#endif
+++#if YYERROR_VERBOSE
+++ if (yymsg != yymsgbuf)
+++ YYSTACK_FREE (yymsg);
+++#endif
+++ /* Make sure YYID is used. */
+++ return YYID (yyresult);
+++}
+++
+++
+++/* Line 2050 of yacc.c */
+++#line 415 "ptlib/common/getdate.y"
+++
+++
+++/* Month and day table. */
+++static TABLE const MonthDayTable[] = {
+++ { "january", tMONTH, 1 },
+++ { "february", tMONTH, 2 },
+++ { "march", tMONTH, 3 },
+++ { "april", tMONTH, 4 },
+++ { "may", tMONTH, 5 },
+++ { "june", tMONTH, 6 },
+++ { "july", tMONTH, 7 },
+++ { "august", tMONTH, 8 },
+++ { "september", tMONTH, 9 },
+++ { "sept", tMONTH, 9 },
+++ { "october", tMONTH, 10 },
+++ { "november", tMONTH, 11 },
+++ { "december", tMONTH, 12 },
+++ { "sunday", tDAY, 0 },
+++ { "monday", tDAY, 1 },
+++ { "tuesday", tDAY, 2 },
+++ { "tues", tDAY, 2 },
+++ { "wednesday", tDAY, 3 },
+++ { "wednes", tDAY, 3 },
+++ { "thursday", tDAY, 4 },
+++ { "thur", tDAY, 4 },
+++ { "thurs", tDAY, 4 },
+++ { "friday", tDAY, 5 },
+++ { "saturday", tDAY, 6 },
+++ { NULL }
+++};
+++
+++/* Time units table. */
+++static TABLE const UnitsTable[] = {
+++ { "year", tMONTH_UNIT, 12 },
+++ { "month", tMONTH_UNIT, 1 },
+++ { "fortnight", tMINUTE_UNIT, 14 * 24 * 60 },
+++ { "week", tMINUTE_UNIT, 7 * 24 * 60 },
+++ { "day", tMINUTE_UNIT, 1 * 24 * 60 },
+++ { "hour", tMINUTE_UNIT, 60 },
+++ { "minute", tMINUTE_UNIT, 1 },
+++ { "min", tMINUTE_UNIT, 1 },
+++ { "second", tSEC_UNIT, 1 },
+++ { "sec", tSEC_UNIT, 1 },
+++ { NULL }
+++};
+++
+++/* Assorted relative-time words. */
+++static TABLE const OtherTable[] = {
+++ { "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 },
+++ { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 },
+++ { "today", tMINUTE_UNIT, 0 },
+++ { "now", tMINUTE_UNIT, 0 },
+++ { "last", tUNUMBER, -1 },
+++ { "this", tMINUTE_UNIT, 0 },
+++ { "next", tUNUMBER, 2 },
+++ { "first", tUNUMBER, 1 },
+++/* { "second", tUNUMBER, 2 }, */
+++ { "third", tUNUMBER, 3 },
+++ { "fourth", tUNUMBER, 4 },
+++ { "fifth", tUNUMBER, 5 },
+++ { "sixth", tUNUMBER, 6 },
+++ { "seventh", tUNUMBER, 7 },
+++ { "eighth", tUNUMBER, 8 },
+++ { "ninth", tUNUMBER, 9 },
+++ { "tenth", tUNUMBER, 10 },
+++ { "eleventh", tUNUMBER, 11 },
+++ { "twelfth", tUNUMBER, 12 },
+++ { "ago", tAGO, 1 },
+++ { NULL }
+++};
+++
+++/* The timezone table. */
+++/* Some of these are commented out because a time_t can't store a float. */
+++static TABLE const TimezoneTable[] = {
+++ { "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */
+++ { "ut", tZONE, HOUR( 0) }, /* Universal (Coordinated) */
+++ { "utc", tZONE, HOUR( 0) },
+++ { "wet", tZONE, HOUR( 0) }, /* Western European */
+++ { "bst", tDAYZONE, HOUR( 0) }, /* British Summer */
+++ { "wat", tZONE, HOUR( 1) }, /* West Africa */
+++ { "at", tZONE, HOUR( 2) }, /* Azores */
+++#if 0
+++ /* For completeness. BST is also British Summer, and GST is
+++ * also Guam Standard. */
+++ { "bst", tZONE, HOUR( 3) }, /* Brazil Standard */
+++ { "gst", tZONE, HOUR( 3) }, /* Greenland Standard */
+++#endif
+++#if 0
+++ { "nft", tZONE, HOUR(3.5) }, /* Newfoundland */
+++ { "nst", tZONE, HOUR(3.5) }, /* Newfoundland Standard */
+++ { "ndt", tDAYZONE, HOUR(3.5) }, /* Newfoundland Daylight */
+++#endif
+++ { "ast", tZONE, HOUR( 4) }, /* Atlantic Standard */
+++ { "adt", tDAYZONE, HOUR( 4) }, /* Atlantic Daylight */
+++ { "est", tZONE, HOUR( 5) }, /* Eastern Standard */
+++ { "edt", tDAYZONE, HOUR( 5) }, /* Eastern Daylight */
+++ { "cst", tZONE, HOUR( 6) }, /* Central Standard */
+++ { "cdt", tDAYZONE, HOUR( 6) }, /* Central Daylight */
+++ { "mst", tZONE, HOUR( 7) }, /* Mountain Standard */
+++ { "mdt", tDAYZONE, HOUR( 7) }, /* Mountain Daylight */
+++ { "pst", tZONE, HOUR( 8) }, /* Pacific Standard */
+++ { "pdt", tDAYZONE, HOUR( 8) }, /* Pacific Daylight */
+++ { "yst", tZONE, HOUR( 9) }, /* Yukon Standard */
+++ { "ydt", tDAYZONE, HOUR( 9) }, /* Yukon Daylight */
+++ { "hst", tZONE, HOUR(10) }, /* Hawaii Standard */
+++ { "hdt", tDAYZONE, HOUR(10) }, /* Hawaii Daylight */
+++ { "cat", tZONE, HOUR(10) }, /* Central Alaska */
+++ { "ahst", tZONE, HOUR(10) }, /* Alaska-Hawaii Standard */
+++ { "nt", tZONE, HOUR(11) }, /* Nome */
+++ { "idlw", tZONE, HOUR(12) }, /* International Date Line West */
+++ { "cet", tZONE, -HOUR(1) }, /* Central European */
+++ { "met", tZONE, -HOUR(1) }, /* Middle European */
+++ { "mewt", tZONE, -HOUR(1) }, /* Middle European Winter */
+++ { "mest", tDAYZONE, -HOUR(1) }, /* Middle European Summer */
+++ { "swt", tZONE, -HOUR(1) }, /* Swedish Winter */
+++ { "sst", tDAYZONE, -HOUR(1) }, /* Swedish Summer */
+++ { "fwt", tZONE, -HOUR(1) }, /* French Winter */
+++ { "fst", tDAYZONE, -HOUR(1) }, /* French Summer */
+++ { "eet", tZONE, -HOUR(2) }, /* Eastern Europe, USSR Zone 1 */
+++ { "bt", tZONE, -HOUR(3) }, /* Baghdad, USSR Zone 2 */
+++#if 0
+++ { "it", tZONE, -HOUR(3.5) },/* Iran */
+++#endif
+++ { "zp4", tZONE, -HOUR(4) }, /* USSR Zone 3 */
+++ { "zp5", tZONE, -HOUR(5) }, /* USSR Zone 4 */
+++#if 0
+++ { "ist", tZONE, -HOUR(5.5) },/* Indian Standard */
+++#endif
+++ { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */
+++#if 0
+++ /* For completeness. NST is also Newfoundland Stanard, and SST is
+++ * also Swedish Summer. */
+++ { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */
+++ { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */
+++#endif /* 0 */
+++ { "wast", tZONE, -HOUR(7) }, /* West Australian Standard */
+++ { "wadt", tDAYZONE, -HOUR(7) }, /* West Australian Daylight */
+++#if 0
+++ { "jt", tZONE, -HOUR(7.5) },/* Java (3pm in Cronusland!) */
+++#endif
+++ { "cct", tZONE, -HOUR(8) }, /* China Coast, USSR Zone 7 */
+++ { "jst", tZONE, -HOUR(9) }, /* Japan Standard, USSR Zone 8 */
+++#if 0
+++ { "cast", tZONE, -HOUR(9.5) },/* Central Australian Standard */
+++ { "cadt", tDAYZONE, -HOUR(9.5) },/* Central Australian Daylight */
+++#endif
+++ { "east", tZONE, -HOUR(10) }, /* Eastern Australian Standard */
+++ { "eadt", tDAYZONE, -HOUR(10) }, /* Eastern Australian Daylight */
+++ { "gst", tZONE, -HOUR(10) }, /* Guam Standard, USSR Zone 9 */
+++ { "nzt", tZONE, -HOUR(12) }, /* New Zealand */
+++ { "nzst", tZONE, -HOUR(12) }, /* New Zealand Standard */
+++ { "nzdt", tDAYZONE, -HOUR(12) }, /* New Zealand Daylight */
+++ { "idle", tZONE, -HOUR(12) }, /* International Date Line East */
+++ { NULL }
+++};
+++
+++/* Military timezone table. */
+++static TABLE const MilitaryTable[] = {
+++ { "a", tMILZONE, HOUR( 1) },
+++ { "b", tMILZONE, HOUR( 2) },
+++ { "c", tMILZONE, HOUR( 3) },
+++ { "d", tMILZONE, HOUR( 4) },
+++ { "e", tMILZONE, HOUR( 5) },
+++ { "f", tMILZONE, HOUR( 6) },
+++ { "g", tMILZONE, HOUR( 7) },
+++ { "h", tMILZONE, HOUR( 8) },
+++ { "i", tMILZONE, HOUR( 9) },
+++ { "k", tMILZONE, HOUR( 10) },
+++ { "l", tMILZONE, HOUR( 11) },
+++ { "m", tMILZONE, HOUR( 12) },
+++ { "n", tMILZONE, HOUR(- 1) },
+++ { "o", tMILZONE, HOUR(- 2) },
+++ { "p", tMILZONE, HOUR(- 3) },
+++ { "q", tMILZONE, HOUR(- 4) },
+++ { "r", tMILZONE, HOUR(- 5) },
+++ { "s", tMILZONE, HOUR(- 6) },
+++ { "t", tMILZONE, HOUR(- 7) },
+++ { "u", tMILZONE, HOUR(- 8) },
+++ { "v", tMILZONE, HOUR(- 9) },
+++ { "w", tMILZONE, HOUR(-10) },
+++ { "x", tMILZONE, HOUR(-11) },
+++ { "y", tMILZONE, HOUR(-12) },
+++ { "z", tZONE, HOUR( 0) }, /* Deliberately tZONE */
+++ { NULL }
+++};
+++
+++static int LookupWord(char * buff, YYSTYPE * yylval, struct Variables * vars)
+++{
+++ register char *p;
+++ register char *q;
+++ register const TABLE *tp;
+++ int i;
+++ int abbrev;
+++
+++ /* Make it lowercase. */
+++ for (p = buff; *p != '\0'; p++)
+++ *p = (char)tolower(*p);
+++
+++ if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) {
+++ yylval->Meridian = MERam;
+++ return tMERIDIAN;
+++ }
+++ if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) {
+++ yylval->Meridian = MERpm;
+++ return tMERIDIAN;
+++ }
+++
+++ /* See if we have an abbreviation for a month. */
+++ if (strlen(buff) == 3)
+++ abbrev = 1;
+++ else if (strlen(buff) == 4 && buff[3] == '.') {
+++ abbrev = 1;
+++ buff[3] = '\0';
+++ }
+++ else
+++ abbrev = 0;
+++
+++ for (tp = MonthDayTable; tp->name; tp++) {
+++ if (abbrev) {
+++ if (strncmp(buff, tp->name, 3) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++ }
+++ else if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++ }
+++
+++ for (tp = TimezoneTable; tp->name; tp++)
+++ if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++
+++ if (strcmp(buff, "dst") == 0)
+++ return tDST;
+++
+++ for (tp = UnitsTable; tp->name; tp++)
+++ if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++
+++ /* Strip off any plural and try the units table again. */
+++ i = strlen(buff) - 1;
+++ if (buff[i] == 's') {
+++ buff[i] = '\0';
+++ for (tp = UnitsTable; tp->name; tp++)
+++ if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++ buff[i] = 's'; /* Put back for "this" in OtherTable. */
+++ }
+++
+++ for (tp = OtherTable; tp->name; tp++)
+++ if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++
+++ /* Avoid confusion with 'T' in RFC3339 and 't' in Military timezones */
+++ if (!vars->yyHaveTime && strcmp(buff, "t") == 0)
+++ return tRFC3339;
+++
+++ /* Military timezones. */
+++ if (buff[1] == '\0' && isalpha(*buff)) {
+++ for (tp = MilitaryTable; tp->name; tp++)
+++ if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++ }
+++
+++ /* Drop out any periods and try the timezone table again. */
+++ for (i = 0, p = q = buff; *q; q++)
+++ if (*q != '.')
+++ *p++ = *q;
+++ else
+++ i++;
+++ *p = '\0';
+++ if (i)
+++ for (tp = TimezoneTable; tp->name; tp++)
+++ if (strcmp(buff, tp->name) == 0) {
+++ yylval->Number = tp->value;
+++ return tp->type;
+++ }
+++
+++ for (i = 1; i <= 12; i++)
+++ for (abbrev = 0; abbrev < 2; abbrev++)
+++ if (PTimeIsMonthName(buff, i, abbrev)) {
+++ yylval->Number = i;
+++ return tMONTH;
+++ }
+++
+++ for (i = 1; i <= 7; i++)
+++ for (abbrev = 0; abbrev < 2; abbrev++)
+++ if (PTimeIsDayName(buff, i, abbrev)) {
+++ yylval->Number = i;
+++ return tDAY;
+++ }
+++
+++ return tID;
+++}
+++
+++
+++#ifdef _MSC_VER
+++#pragma warning(disable:4211)
+++#endif
+++
+++#ifndef __GNUC__
+++static
+++#endif
+++int yylex(YYSTYPE * yylval, struct Variables * vars)
+++{
+++ register char *p;
+++ char buff[20];
+++ int Count;
+++ int sign;
+++ register int c = PTimeGetChar(vars->yyInput);
+++
+++ while (c != EOF && c != '\0' && c != '\n') {
+++ while (isspace(c))
+++ c = PTimeGetChar(vars->yyInput);
+++
+++ if (isdigit(c) || c == '-' || c == '+') {
+++ if (c == '-' || c == '+') {
+++ sign = c == '-' ? -1 : 1;
+++ if (!isdigit(c = PTimeGetChar(vars->yyInput)))
+++ /* skip the '-' sign */
+++ continue;
+++ }
+++ else
+++ sign = 0;
+++ yylval->Number = 0;
+++ Count = 0; /* Count number of digits */
+++ while (isdigit(c)) {
+++ yylval->Number = 10 * yylval->Number + c - '0';
+++ c = PTimeGetChar(vars->yyInput);
+++ Count++;
+++ }
+++ PTimeUngetChar(vars->yyInput, c);
+++ if (sign < 0)
+++ yylval->Number = -yylval->Number;
+++ if (Count == 4)
+++ return sign ? tS4DIGITNUMBER : t4DIGITNUMBER;
+++ if (sign)
+++ return tSNUMBER;
+++ if (Count == 6)
+++ return t6DIGITNUMBER;
+++ if (Count == 8)
+++ return t8DIGITNUMBER;
+++ return tUNUMBER;
+++ }
+++
+++ if (isalpha(c)) {
+++ for (p = buff; isalpha(c) || c == '.'; c = PTimeGetChar(vars->yyInput)) {
+++ if (p < &buff[sizeof(buff)-1])
+++ *p++ = (char)c;
+++ }
+++ *p = '\0';
+++ PTimeUngetChar(vars->yyInput, c);
+++ return LookupWord(buff, yylval, vars);
+++ }
+++
+++ if (c != '(')
+++ return c;
+++
+++ Count = 0;
+++ do {
+++ c = PTimeGetChar(vars->yyInput);
+++ if (c == '\0' || c == EOF)
+++ return c;
+++ if (c == '(')
+++ Count++;
+++ else if (c == ')')
+++ Count--;
+++ } while (Count > 0);
+++ }
+++
+++ if (c == '\n')
+++ PTimeUngetChar(vars->yyInput, c);
+++
+++ return EOF;
+++}
+++
+++#ifdef _MSC_VER
+++#pragma warning(default:4211)
+++#endif
+++
+++
+++static time_t ToSeconds(time_t Hours, time_t Minutes, time_t Seconds,
+++ MERIDIAN Meridian)
+++{
+++ if (Minutes < 0 || Minutes > 59 || Seconds < 0 || Seconds > 59)
+++ return -1;
+++ switch (Meridian) {
+++ case MER24:
+++ if (Hours < 0 || Hours > 23)
+++ return -1;
+++ return (Hours * 60L + Minutes) * 60L + Seconds;
+++ case MERam:
+++ if (Hours < 1 || Hours > 12)
+++ return -1;
+++ if (Hours == 12)
+++ Hours = 0;
+++ return (Hours * 60L + Minutes) * 60L + Seconds;
+++ case MERpm:
+++ if (Hours < 1 || Hours > 12)
+++ return -1;
+++ if (Hours == 12)
+++ Hours = 0;
+++ return ((Hours + 12) * 60L + Minutes) * 60L + Seconds;
+++ }
+++
+++ return -1;
+++}
+++
+++
+++static time_t Convert(time_t Month, time_t Day, time_t Year,
+++ time_t Hours, time_t Minutes, time_t Seconds,
+++ MERIDIAN Meridian, DSTMODE DSTmode, time_t yyTimezone)
+++{
+++ static int DaysInMonth[12] = {
+++ 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
+++ };
+++ time_t tod;
+++ time_t Julian;
+++ int i;
+++
+++ if (Year < 0)
+++ Year = -Year;
+++ if (Year < 70)
+++ Year += 2000;
+++ else if (Year < 100)
+++ Year += 1900;
+++ DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0)
+++ ? 29 : 28;
+++ /* Checking for 2038 bogusly assumes that time_t is 32 bits. But
+++ I'm too lazy to try to check for time_t overflow in another way. */
+++ if (Year < EPOCH || Year > 2038
+++ || Month < 1 || Month > 12
+++ /* Lint fluff: "conversion from long may lose accuracy" */
+++ || Day < 1 || Day > DaysInMonth[(int)--Month])
+++ return -1;
+++
+++ for (Julian = Day - 1, i = 0; i < Month; i++)
+++ Julian += DaysInMonth[i];
+++ for (i = EPOCH; i < Year; i++)
+++ Julian += 365 + (i % 4 == 0);
+++ Julian *= SECSPERDAY;
+++ Julian += yyTimezone * 60L;
+++ if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0)
+++ return -1;
+++ Julian += tod;
+++ if (DSTmode == DSTon
+++ || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst))
+++ Julian -= 60 * 60;
+++ return Julian;
+++}
+++
+++
+++static time_t DSTcorrect(time_t Start, time_t Future)
+++{
+++ time_t StartDay;
+++ time_t FutureDay;
+++
+++ StartDay = (localtime(&Start)->tm_hour + 1) % 24;
+++ FutureDay = (localtime(&Future)->tm_hour + 1) % 24;
+++ return (Future - Start) + (StartDay - FutureDay) * 60L * 60L;
+++}
+++
+++
+++static time_t RelativeDate(time_t Start, time_t DayOrdinal, time_t DayNumber)
+++{
+++ struct tm *tm;
+++ time_t now;
+++
+++ now = Start;
+++ tm = localtime(&now);
+++ now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
+++ now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
+++ return DSTcorrect(Start, now);
+++}
+++
+++
+++static time_t RelativeMonth(time_t Start, time_t RelMonth, time_t yyTimezone)
+++{
+++ struct tm *tm;
+++ time_t Month;
+++ time_t Year;
+++
+++ if (RelMonth == 0)
+++ return 0;
+++ tm = localtime(&Start);
+++ Month = 12 * tm->tm_year + tm->tm_mon + RelMonth;
+++ Year = Month / 12 + 1900;
+++ Month = Month % 12 + 1;
+++ return DSTcorrect(Start,
+++ Convert(Month, (time_t)tm->tm_mday, Year,
+++ (time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec,
+++ MER24, DSTmaybe, yyTimezone));
+++}
+++
+++
+++static void SetPossibleDate(struct Variables * var,
+++ time_t possible_day,
+++ time_t possible_month,
+++ time_t possible_year)
+++{
+++ int date_order;
+++
+++ if (possible_day > 31) /* test for ymd */
+++ date_order = 2;
+++ else if (possible_day > 12) /* test for dmy */
+++ date_order = 1;
+++ else if (possible_month > 12) /* test for mdy */
+++ date_order = 0;
+++ else
+++ date_order = PTimeGetDateOrder();
+++
+++ switch (date_order) {
+++ case 0 :
+++ var->yyDay = possible_month;
+++ var->yyMonth = possible_day;
+++ var->yyYear = possible_year;
+++ break;
+++ case 1 :
+++ var->yyDay = possible_day;
+++ var->yyMonth = possible_month;
+++ var->yyYear = possible_year;
+++ break;
+++ default :
+++ var->yyDay = possible_year;
+++ var->yyMonth = possible_month;
+++ var->yyYear = possible_day;
+++ }
+++}
+++
+++
+++time_t STDAPICALLTYPE PTimeParse(void * inputStream, struct tm * now, int timezone)
+++{
+++ time_t Start;
+++ struct Variables var;
+++
+++
+++ var.yyInput = inputStream;
+++ var.yyYear = now->tm_year + 1900;
+++ var.yyMonth = now->tm_mon + 1;
+++ var.yyDay = now->tm_mday;
+++ var.yyTimezone = -timezone;
+++ var.yyDSTmode = DSTmaybe;
+++ var.yyHour = 0;
+++ var.yyMinutes = 0;
+++ var.yySeconds = 0;
+++ var.yyMeridian = MER24;
+++ var.yyRelSeconds = 0;
+++ var.yyRelMonth = 0;
+++ var.yyHaveDate = 0;
+++ var.yyHaveDay = 0;
+++ var.yyHaveRel = 0;
+++ var.yyHaveTime = 0;
+++ var.yyHaveZone = 0;
+++
+++ yyparse(&var);
+++
+++ if (var.yyHaveTime > 1 || var.yyHaveZone > 1 ||
+++ var.yyHaveDate > 1 || var.yyHaveDay > 1)
+++ return -1;
+++
+++ if (var.yyHaveTime == 0 && var.yyHaveZone == 0 &&
+++ var.yyHaveDate == 0 && var.yyHaveDay == 0 && var.yyHaveRel == 0)
+++ return -1;
+++
+++ if (var.yyHaveDate || var.yyHaveTime || var.yyHaveDay) {
+++ Start = Convert(var.yyMonth, var.yyDay, var.yyYear,
+++ var.yyHour, var.yyMinutes, var.yySeconds,
+++ var.yyMeridian, var.yyDSTmode, var.yyTimezone);
+++ if (Start < 0)
+++ return -1;
+++ }
+++ else {
+++ time(&Start);
+++ if (!var.yyHaveRel)
+++ Start -= ((now->tm_hour * 60L + now->tm_min) * 60L) + now->tm_sec;
+++ }
+++
+++ Start += var.yyRelSeconds;
+++ Start += RelativeMonth(Start, var.yyRelMonth, var.yyTimezone);
+++
+++ if (var.yyHaveDay && !var.yyHaveDate)
+++ Start += RelativeDate(Start, var.yyDayOrdinal, var.yyDayNumber);
+++
+++ /* Have to do *something* with a legitimate -1 so it's distinguishable
+++ * from the error return value. (Alternately could set errno on error.) */
+++ return Start == -1 ? 0 : Start;
+++}
+++
+++
+++#ifdef _MSC_VER
+++#pragma warning(disable:4028 4100 4211)
+++#endif
+++
+++#ifdef __GNUC__
+++int yyerror(const char * s)
+++{
+++ return 0;
+++}
+++#else
+++static void yyerror(const char * s)
+++{
+++}
+++#endif
+++
+++#ifdef _MSC_VER
+++#pragma warning(default:4028 4100 4211)
+++#endif
+++
+++
+++/* End of file ***************************************************************/
diff --cc debian/patches/hurd-fix
index 0000000,0000000..dc456ab
new file mode 100644
--- /dev/null
+++ b/debian/patches/hurd-fix
@@@ -1,0 -1,0 +1,13 @@@
++--- a/plugins/sound_oss/sound_oss.h.original 2013-11-09 21:52:35.000000000 +0000
+++++ b/plugins/sound_oss/sound_oss.h 2013-11-09 21:52:42.000000000 +0000
++@@ -15,6 +15,10 @@
++ #include <sys/soundcard.h>
++ #endif
++
+++#ifdef P_GNU_HURD
+++#include <sys/soundcard.h>
+++#endif
+++
++ #ifdef P_FREEBSD
++ #if P_FREEBSD >= 500000
++ #include <sys/soundcard.h>
diff --cc debian/patches/ppc64el-arm64-mips64.diff
index 0000000,0000000..bcf3e16
new file mode 100644
--- /dev/null
+++ b/debian/patches/ppc64el-arm64-mips64.diff
@@@ -1,0 -1,0 +1,62 @@@
++Index: ptlib-2.10.10~dfsg/configure.ac
++===================================================================
++--- ptlib-2.10.10~dfsg.orig/configure.ac 2034-11-21 10:56:41.345832345 +0800
+++++ ptlib-2.10.10~dfsg/configure.ac 2034-11-21 10:56:41.330207343 +0800
++@@ -324,7 +324,7 @@
++ MACHTYPE=ppc
++ ;;
++
++- ppc64 | powerpc64 )
+++ ppc64 | powerpc64 | ppc64el | powerpc64le )
++ MACHTYPE=ppc64
++ P_64BIT=1
++ LIB64=1
++@@ -345,6 +345,17 @@
++ MACHTYPE=s390
++ ;;
++
+++ aarch64 )
+++ MACHTYPE=arm64
+++ P_64BIT=1
+++ LIB64=1
+++ ;;
+++ mips64 | mips64el )
+++ MACHTYPE=mips64
+++ P_64BIT=1
+++ LIB64=1
+++ ;;
+++
++ * )
++ MACHTYPE=$target_cpu
++ AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!")
++Index: ptlib-2.10.10~dfsg/configure
++===================================================================
++--- ptlib-2.10.10~dfsg.orig/configure 2013-02-20 10:12:27.000000000 +0800
+++++ ptlib-2.10.10~dfsg/configure 2034-11-21 10:57:54.220838053 +0800
++@@ -4649,7 +4649,7 @@
++ MACHTYPE=ppc
++ ;;
++
++- ppc64 | powerpc64 )
+++ ppc64 | powerpc64 | ppc64el | powerpc64le )
++ MACHTYPE=ppc64
++ P_64BIT=1
++ LIB64=1
++@@ -4670,6 +4670,17 @@
++ MACHTYPE=s390
++ ;;
++
+++ aarch64 )
+++ MACHTYPE=arm64
+++ P_64BIT=1
+++ LIB64=1
+++ ;;
+++ mips64 | mips64el )
+++ MACHTYPE=mips64
+++ P_64BIT=1
+++ LIB64=1
+++ ;;
+++
++ * )
++ MACHTYPE=$target_cpu
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5
diff --cc debian/patches/series
index 0000000,0000000..b856590
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,3 @@@
++hurd-fix
++bison-fix
++ppc64el-arm64-mips64.diff
diff --cc debian/rules
index 85587ac,0000000..e59c684
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,69 -1,0 +1,69 @@@
+#!/usr/bin/make -f
+
+DEBVERSION := $(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION := $(shell echo $(DEBVERSION) | sed 's/~dfsg-.//')
+
+FILENAME := ptlib_$(UPVERSION)~dfsg.orig.tar.gz
+UPFILENAME := ptlib_$(UPVERSION).orig.tar.gz
- URL := http://transact.dl.sourceforge.net/sourceforge/opalvoip/ptlib-$(UPVERSION).tar.bz2
++URL := http://aarnet.dl.sourceforge.net/sourceforge/opalvoip/ptlib-$(UPVERSION).tar.bz2
+
+%:
+ dh $@ --with autotools_dev --parallel
+
+override_dh_clean:
+ if [ -f Makefile ];then \
+ $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world clean||true ; \
+ $(MAKE) distclean || true ; \
+ fi
+ rm -rf html
+ dh_clean
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-oss --enable-v4l --disable-avc --disable-dc --enable-exceptions
+
+override_dh_auto_build:
+ dh_auto_build -- optshared docs
+
+override_dh_strip:
+ dh_strip -a --dbg-package=libpt-dbg
+
+override_dh_link:
+ # replace jquery.js with Debian's version
+ rm -f debian/libpt-doc/usr/share/doc/libpt-doc/html/jquery.js
+ dh_link
+
+override_dh_auto_test:
+ $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world clean
+ $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world opt
+ #if (samples/hello_world/obj*/hello 2>/dev/null);then \
+ # echo opt hello_world sample incorrectly compiled static; false ; \
+ #else \
+ # echo opt hello_world sample correctly compiled non-static; \
+ #fi
+ ln -s lib* lib ; LD_LIBRARY_PATH=$(CURDIR)/lib samples/hello_world/obj*/hello
+ # if this won't work, we needn't even try going any further...
+ rm lib
+ # make sure samples are clean before we install them into libpt-doc
+ $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world clean
+ rm -rf samples/hello_world/obj_*
+
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+ @@#echo "svn REV: $(REV)"
+
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@#this is for stable versions
+ @@echo Downloading $(UPFILENAME) from $(URL) ...
+ @@wget -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
+ @@echo 'Repacking as DFSG-free (removing windows EXEs)...'
+ @@mkdir -p ../tarballs/ptlib-$(UPVERSION).tmp/
+ @@cd ../tarballs/ptlib-$(UPVERSION).tmp ; tar xfj ../$(UPFILENAME)
+ @@find ../tarballs/ptlib-$(UPVERSION).tmp/ -iname '*.exe' -delete
+ @@echo Writing archive ../tarballs/$(FILENAME) ...
+ @@cd ../tarballs/ptlib-$(UPVERSION).tmp ; tar cfz ../$(FILENAME) *
+ @@echo Cleaning up...
+ @@$(RM) -rf ../tarballs/ptlib-$(UPVERSION).tmp/ ../tarballs/$(UPFILENAME)
diff --cc debian/watch
index 095ac07,0000000..f4da952
mode 100644,000000..100644
--- a/debian/watch
+++ b/debian/watch
@@@ -1,4 -1,0 +1,4 @@@
+version=3
+
+opts=dversionmangle=s/[\.~]dfsg(\d+)?//,uversionmangle=s/[_\.]+/\./g \
- http://sf.net/opalvoip/ptlib-(\d.\d+.\d).tar.bz2 debian svn-upgrade
++http://sf.net/opalvoip/ptlib-(2.10.\d).tar.bz2 debian svn-upgrade
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/ptlib.git
More information about the Pkg-voip-commits
mailing list