OpenSDE Packages Database (without history before r20070)
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.

38 lines
1.6 KiB

  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 ---
  16. --- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp.orig 2006-01-25 23:59:06.000000000 +0100
  17. +++ qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_layer.cpp 2006-01-25 23:59:47.000000000 +0100
  18. @@ -55,7 +55,7 @@
  19. os << " name: " << l.getName().latin1()
  20. << " pen: " << l.getPen()
  21. << " frozen: " << (int)l.isFrozen()
  22. - << " address: " << (int)(&l)
  23. + << " address: " << (long)(&l)
  24. << std::endl;
  25. return os;
  26. }
  27. --- qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp.orig 2006-01-25 23:58:00.000000000 +0100
  28. +++ qcad-2.0.5.0-1-community.src/qcadlib/src/engine/rs_entity.cpp 2006-01-25 23:58:13.000000000 +0100
  29. @@ -861,7 +861,7 @@
  30. os << " layer: NULL ";
  31. } else {
  32. os << " layer: " << e.layer->getName().latin1() << " ";
  33. - os << " layer address: " << (int)(e.layer) << " ";
  34. + os << " layer address: " << (long)(e.layer) << " ";
  35. }
  36. os << e.pen << "\n";