mirror of the now-defunct rocklinux.org
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.

81 lines
3.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/gnome14/gtkmm12/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -ruN gtkmm-1.2.10/src/build_sources/proxy.h.m4 gtkmm-1.2.10-new/src/build_sources/proxy.h.m4
  20. --- gtkmm-1.2.10/src/build_sources/proxy.h.m4 2000-03-02 21:08:28.000000000 +0100
  21. +++ gtkmm-1.2.10-new/src/build_sources/proxy.h.m4 2004-07-12 15:14:01.355246824 +0200
  22. @@ -174,20 +174,20 @@
  23. data.callback=&callback;
  24. data.obj=this;
  25. SigC::ScopeNode* node=tmp->receiver();
  26. - obj->register_data(node);
  27. + this->obj->register_data(node);
  28. return tmp;
  29. }
  30. RType emit(ARG_BOTH($1))
  31. {
  32. return reinterpret_cast<RType (*)(LIST(gObj*,1,ARG_TYPE($1),[$1]))>
  33. - (emit_func) (LIST(obj->gtkobj(),1,ARG_NAME($1),[$1]));
  34. + (emit_func) (LIST(this->obj->gtkobj(),1,ARG_NAME($1),[$1]));
  35. }
  36. RType operator()(ARG_BOTH($1))
  37. {
  38. return reinterpret_cast<RType (*)(LIST(gObj*,1,ARG_TYPE($1),[$1]))>
  39. - (emit_func) (LIST(obj->gtkobj(),1,ARG_NAME($1),[$1]));
  40. + (emit_func) (LIST(this->obj->gtkobj(),1,ARG_NAME($1),[$1]));
  41. }
  42. };
  43. diff -ruN gtkmm-1.2.10/src/curve.gen_h gtkmm-1.2.10-new/src/curve.gen_h
  44. --- gtkmm-1.2.10/src/curve.gen_h 2001-07-15 15:33:38.000000000 +0200
  45. +++ gtkmm-1.2.10-new/src/curve.gen_h 2004-07-12 15:36:09.064121270 +0200
  46. @@ -143,8 +143,8 @@
  47. int i;
  48. Iterator iter;
  49. for (iter=b,i=0;iter!=e;++iter,i++);
  50. - gfloat data[]=new gfloat[i];
  51. - get_vector(n,data);
  52. + gfloat *data=new gfloat[i];
  53. + get_vector(i,data);
  54. for (iter=b,i=0;iter!=e;++iter,i++)
  55. (*iter)=data[i];
  56. delete [] data;
  57. diff -ruN gtkmm-1.2.10/src/gtk--/base.h gtkmm-1.2.10-new/src/gtk--/base.h
  58. --- gtkmm-1.2.10/src/gtk--/base.h 2001-12-06 16:32:51.000000000 +0100
  59. +++ gtkmm-1.2.10-new/src/gtk--/base.h 2004-07-12 15:44:41.636602722 +0200
  60. @@ -90,6 +90,8 @@
  61. struct _GtkObject;
  62. +namespace Gtk { Gtk::Object *wrap (GtkObject *o); }
  63. +
  64. namespace Gtk
  65. {
  66. @@ -482,7 +484,7 @@
  67. value_type operator*() const
  68. {
  69. if (node && node->data)
  70. - return Gtk::wrap(static_cast<impl*>((*node).data));
  71. + return static_cast<value_type>(Gtk::wrap(static_cast<GtkObject*>((*node).data)));
  72. return 0;
  73. }