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.

77 lines
4.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../orsa/gcc41.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. diff -Nur orsa-0.7.0-orig/src/liborsa/orsa_body.h orsa-0.7.0/src/liborsa/orsa_body.h
  18. --- orsa-0.7.0-orig/src/liborsa/orsa_body.h 2004-12-30 03:58:03.000000000 +0000
  19. +++ orsa-0.7.0/src/liborsa/orsa_body.h 2006-04-03 21:31:50.423120000 +0000
  20. @@ -183,7 +183,7 @@
  21. inline void SetVelocity(const double x, const double y, const double z) { Vector v(x,y,z); SetVelocity(v); }
  22. // b position - this position
  23. - inline Vector Body::distanceVector(const Body & b) const { return b.position()-position(); }
  24. + inline Vector distanceVector(const Body & b) const { return b.position()-position(); }
  25. inline double distance(const Body & b) const { return distanceVector(b).Length(); }
  26. // alias
  27. diff -Nur orsa-0.7.0-orig/src/libxorsa/xorsa_analysis.h orsa-0.7.0/src/libxorsa/xorsa_analysis.h
  28. --- orsa-0.7.0-orig/src/libxorsa/xorsa_analysis.h 2004-06-25 00:58:30.000000000 +0000
  29. +++ orsa-0.7.0/src/libxorsa/xorsa_analysis.h 2006-04-03 21:44:48.123723250 +0000
  30. @@ -129,7 +129,7 @@
  31. XOrsaPeaksListItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null);
  32. public:
  33. - int XOrsaPeaksListItem::compare(QListViewItem * i, int col, bool ascending) const;
  34. + int compare(QListViewItem * i, int col, bool ascending) const;
  35. };
  36. diff -Nur orsa-0.7.0-orig/src/libxorsa/xorsa_import_astorb_objects.h orsa-0.7.0/src/libxorsa/xorsa_import_astorb_objects.h
  37. --- orsa-0.7.0-orig/src/libxorsa/xorsa_import_astorb_objects.h 2005-01-05 03:04:17.000000000 +0000
  38. +++ orsa-0.7.0/src/libxorsa/xorsa_import_astorb_objects.h 2006-04-03 21:39:40.844519500 +0000
  39. @@ -600,7 +600,7 @@
  40. inline XOrsaAstorbObjectItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null) : QListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8) { };
  41. public:
  42. - inline int XOrsaAstorbObjectItem::compare(QListViewItem *i, int col, bool ascending) const {
  43. + inline int compare(QListViewItem *i, int col, bool ascending) const {
  44. using std::atof;
  45. diff -Nur orsa-0.7.0-orig/src/libxorsa/xorsa_object_selector.cc orsa-0.7.0/src/libxorsa/xorsa_object_selector.cc
  46. --- orsa-0.7.0-orig/src/libxorsa/xorsa_object_selector.cc 2004-06-25 03:12:57.000000000 +0000
  47. +++ orsa-0.7.0/src/libxorsa/xorsa_object_selector.cc 2006-04-03 21:50:05.967587250 +0000
  48. @@ -40,7 +40,7 @@
  49. XOrsaObjectItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null);
  50. public:
  51. - int XOrsaObjectItem::compare(QListViewItem * i, int col, bool ascending) const;
  52. + int compare(QListViewItem * i, int col, bool ascending) const;
  53. };
  54. diff -Nur orsa-0.7.0-orig/src/orsa/xorsa.h orsa-0.7.0/src/orsa/xorsa.h
  55. --- orsa-0.7.0-orig/src/orsa/xorsa.h 2004-07-13 02:21:19.000000000 +0000
  56. +++ orsa-0.7.0/src/orsa/xorsa.h 2006-04-03 21:56:22.087093250 +0000
  57. @@ -62,7 +62,7 @@
  58. ObjectItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null);
  59. public:
  60. - int ObjectItem::compare(QListViewItem * i, int col, bool ascending) const;
  61. + int compare(QListViewItem * i, int col, bool ascending) const;
  62. };