summaryrefslogtreecommitdiff
path: root/graphics/qcad/slack64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/qcad/slack64.patch')
-rw-r--r--graphics/qcad/slack64.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/qcad/slack64.patch b/graphics/qcad/slack64.patch
new file mode 100644
index 0000000000..d81b0ea153
--- /dev/null
+++ b/graphics/qcad/slack64.patch
@@ -0,0 +1,22 @@
+--- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp 2005-11-22 09:52:32.000000000 -0200
++++ qcad-2.0.5.0-1-community.src_patched/qcadlib/src/engine/rs_entity.cpp 2010-05-04 23:23:53.000000000 -0300
+@@ -861,7 +861,7 @@
+ os << " layer: NULL ";
+ } else {
+ os << " layer: " << e.layer->getName().latin1() << " ";
+- os << " layer address: " << (int)(e.layer) << " ";
++ os << " layer address: " << (e.layer) << " ";
+ }
+
+ os << e.pen << "\n";
+--- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp 2005-11-22 09:52:38.000000000 -0200
++++ qcad-2.0.5.0-1-community.src_patched/qcadlib/src/engine/rs_layer.cpp 2010-05-04 23:27:39.000000000 -0300
+@@ -55,7 +55,7 @@
+ os << " name: " << l.getName().latin1()
+ << " pen: " << l.getPen()
+ << " frozen: " << (int)l.isFrozen()
+- << " address: " << (int)(&l)
++ << " address: " << (&l)
+ << std::endl;
+ return os;
+ }