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.

96 lines
4.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../guppi/gcc4.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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Nur Guppi-0.40.3-orig/src/libguppidata/guppi-data.c Guppi-0.40.3/src/libguppidata/guppi-data.c
  17. --- Guppi-0.40.3-orig/src/libguppidata/guppi-data.c 2001-11-19 05:40:40.000000000 +0000
  18. +++ Guppi-0.40.3/src/libguppidata/guppi-data.c 2006-01-19 22:29:21.545734250 +0000
  19. @@ -1079,8 +1079,6 @@
  20. static void
  21. guppi_data_class_init (GuppiDataClass *klass)
  22. {
  23. - static void build_menu (GuppiData *, GtkMenu *, gpointer);
  24. -
  25. GtkObjectClass *object_class = (GtkObjectClass *) klass;
  26. parent_class = gtk_type_class (GTK_TYPE_OBJECT);
  27. diff -Nur Guppi-0.40.3-orig/src/libguppidata/guppi-seq-scalar.c Guppi-0.40.3/src/libguppidata/guppi-seq-scalar.c
  28. --- Guppi-0.40.3-orig/src/libguppidata/guppi-seq-scalar.c 2002-01-14 05:01:17.000000000 +0000
  29. +++ Guppi-0.40.3/src/libguppidata/guppi-seq-scalar.c 2006-01-19 22:30:14.325032750 +0000
  30. @@ -1775,8 +1775,6 @@
  31. static void
  32. guppi_seq_scalar_class_init (GuppiSeqScalarClass *klass)
  33. {
  34. - static GtkWidget *info_display (GuppiData *);
  35. -
  36. GtkObjectClass *object_class = (GtkObjectClass *) klass;
  37. GuppiDataClass *data_class = GUPPI_DATA_CLASS (klass);
  38. GuppiSeqClass *seq_class = GUPPI_SEQ_CLASS (klass);
  39. diff -Nur Guppi-0.40.3-orig/src/libguppiplot/guppi-axis-markers.c Guppi-0.40.3/src/libguppiplot/guppi-axis-markers.c
  40. --- Guppi-0.40.3-orig/src/libguppiplot/guppi-axis-markers.c 2002-01-21 03:19:05.000000000 +0000
  41. +++ Guppi-0.40.3/src/libguppiplot/guppi-axis-markers.c 2006-01-19 22:32:21.953009000 +0000
  42. @@ -47,10 +47,11 @@
  43. static guint gam_signals[LAST_SIGNAL] = { 0 };
  44. + static void clear (GuppiAxisMarkers *);
  45. +
  46. static void
  47. guppi_axis_markers_finalize (GtkObject * obj)
  48. {
  49. - static void clear (GuppiAxisMarkers *);
  50. GuppiAxisMarkers *gal = GUPPI_AXIS_MARKERS (obj);
  51. guppi_finalized (obj);
  52. diff -Nur Guppi-0.40.3-orig/src/libguppiplot/guppi-root-group-item.c Guppi-0.40.3/src/libguppiplot/guppi-root-group-item.c
  53. --- Guppi-0.40.3-orig/src/libguppiplot/guppi-root-group-item.c 2002-01-08 06:31:08.000000000 +0000
  54. +++ Guppi-0.40.3/src/libguppiplot/guppi-root-group-item.c 2006-01-19 22:31:46.090767750 +0000
  55. @@ -153,10 +153,11 @@
  56. guppi_canvas_item_set_bbox_c (item, 0, 0, xsize, ysize);
  57. }
  58. + static void canv_size_allocate (GtkWidget *, GtkAllocation *, gpointer);
  59. +
  60. static void
  61. changed_scale (GuppiCanvasItem *item, double scale)
  62. {
  63. - static void canv_size_allocate (GtkWidget *, GtkAllocation *, gpointer);
  64. GuppiRootGroupItem *root_item = GUPPI_ROOT_GROUP_ITEM (item);
  65. if (GUPPI_CANVAS_ITEM_CLASS (parent_class)->changed_scale)
  66. diff -Nur Guppi-0.40.3-orig/src/libguppispecfns/mtherr.c Guppi-0.40.3/src/libguppispecfns/mtherr.c
  67. --- Guppi-0.40.3-orig/src/libguppispecfns/mtherr.c 2000-10-20 01:21:48.000000000 +0000
  68. +++ Guppi-0.40.3/src/libguppispecfns/mtherr.c 2006-01-19 22:28:21.645990750 +0000
  69. @@ -58,7 +58,7 @@
  70. #include <glib.h>
  71. #include "mconf.h"
  72. -static int merror = 0;
  73. +int merror = 0;
  74. /* Notice: the order of appearance of the following
  75. * messages is bound to the error codes defined
  76. diff -Nur Guppi-0.40.3-orig/src/libguppiuseful/guppi-plug-in.c Guppi-0.40.3/src/libguppiuseful/guppi-plug-in.c
  77. --- Guppi-0.40.3-orig/src/libguppiuseful/guppi-plug-in.c 2001-09-08 05:49:59.000000000 +0000
  78. +++ Guppi-0.40.3/src/libguppiuseful/guppi-plug-in.c 2006-01-19 22:27:56.764435750 +0000
  79. @@ -47,7 +47,7 @@
  80. guppi_finalized (obj);
  81. - guppi_free0 ((gpointer)pi->load_path);
  82. + guppi_free0 (pi->load_path);
  83. if (parent_class->finalize)
  84. parent_class->finalize (obj);