You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.6 KiB
40 lines
1.6 KiB
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
18 years ago
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
17 years ago
|
#
|
||
|
# Filename: package/.../qcad/compile.patch
|
||
17 years ago
|
# Copyright (C) 2008 The OpenSDE Project
|
||
18 years ago
|
# Copyright (C) 2006 The T2 SDE Project
|
||
17 years ago
|
#
|
||
18 years ago
|
# More information can be found in the files COPYING and README.
|
||
17 years ago
|
#
|
||
18 years ago
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
18 years ago
|
|
||
|
--- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp.orig 2006-01-25 23:59:06.000000000 +0100
|
||
|
+++ qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp 2006-01-25 23:59:47.000000000 +0100
|
||
|
@@ -55,7 +55,7 @@
|
||
|
os << " name: " << l.getName().latin1()
|
||
|
<< " pen: " << l.getPen()
|
||
|
<< " frozen: " << (int)l.isFrozen()
|
||
|
- << " address: " << (int)(&l)
|
||
|
+ << " address: " << (long)(&l)
|
||
|
<< std::endl;
|
||
|
return os;
|
||
|
}
|
||
|
--- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp.orig 2006-01-25 23:58:00.000000000 +0100
|
||
|
+++ qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp 2006-01-25 23:58:13.000000000 +0100
|
||
|
@@ -861,7 +861,7 @@
|
||
|
os << " layer: NULL ";
|
||
|
} else {
|
||
|
os << " layer: " << e.layer->getName().latin1() << " ";
|
||
|
- os << " layer address: " << (int)(e.layer) << " ";
|
||
|
+ os << " layer address: " << (long)(e.layer) << " ";
|
||
|
}
|
||
|
|
||
|
os << e.pen << "\n";
|