Dash:
[t2-trunk.git] / package / cad / qcad / hotfix.patch
blob25ca36843bcf85105994d21d29d1b6f1b8685073
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../qcad/compile.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp.orig 2006-01-25 23:59:06.000000000 +0100
18 +++ qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp 2006-01-25 23:59:47.000000000 +0100
19 @@ -55,7 +55,7 @@
20 os << " name: " << l.getName().latin1()
21 << " pen: " << l.getPen()
22 << " frozen: " << (int)l.isFrozen()
23 - << " address: " << (int)(&l)
24 + << " address: " << (long)(&l)
25 << std::endl;
26 return os;
28 --- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp.orig 2006-01-25 23:58:00.000000000 +0100
29 +++ qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp 2006-01-25 23:58:13.000000000 +0100
30 @@ -861,7 +861,7 @@
31 os << " layer: NULL ";
32 } else {
33 os << " layer: " << e.layer->getName().latin1() << " ";
34 - os << " layer address: " << (int)(e.layer) << " ";
35 + os << " layer address: " << (long)(e.layer) << " ";
38 os << e.pen << "\n";