1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../bincimap/x86-64-compile-fix.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- bincimap-1.3.4/src/imapserver.cc.orig 2006-01-04 22:40:26.000000000 +0100
18 +++ bincimap-1.3.4/src/imapserver.cc 2006-01-04 22:41:42.000000000 +0100
20 BrokerFactory &brokerFactory = BrokerFactory::getInstance();
21 Broker *broker = brokerFactory.getBroker(session.getState());
23 - bincDebug << "IMAPServer::run(), found broker " << (int) broker
24 + bincDebug << "IMAPServer::run(), found broker " << long(broker)
25 << " for state " << session.getState() << endl;
27 bool skipToNextRequest = false;
28 --- bincimap-1.3.4/src/convert.h.orig 2006-01-04 22:42:12.000000000 +0100
29 +++ bincimap-1.3.4/src/convert.h 2006-01-04 22:47:58.000000000 +0100
33 //----------------------------------------------------------------------
34 + inline std::string toString(long i_in)
37 + snprintf(longbuf, sizeof(longbuf), "%ld", i_in);
38 + return std::string(longbuf);
41 + //----------------------------------------------------------------------
42 inline std::string toString(unsigned long i_in)
46 BincStream &operator << (const std::string &t);
47 BincStream &operator << (unsigned int t);
48 BincStream &operator << (int t);
49 + BincStream &operator << (unsigned long t);
50 + BincStream &operator << (long t);
51 BincStream &operator << (char t);
54 --- bincimap-1.3.4/src/convert.cc.orig 2006-01-04 22:44:24.000000000 +0100
55 +++ bincimap-1.3.4/src/convert.cc 2006-01-04 22:48:34.000000000 +0100
59 //------------------------------------------------------------------------
60 +BincStream &BincStream::operator << (long t)
62 + nstr += toString(t);
66 +//------------------------------------------------------------------------
67 +BincStream &BincStream::operator << (unsigned long t)
69 + nstr += toString(t);
73 +//------------------------------------------------------------------------
74 BincStream &BincStream::operator << (char t)