diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-04 22:59:36 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-04 22:59:36 +0000 |
commit | 0cef6c1b8787413e481c27e6e5eacc1b69ecc605 (patch) | |
tree | 0860b26ac814ca95be8ecd361cd467670f0c9884 /x11/gtk2+extra/patches | |
parent | 3a94c0eed089ebeecf7afd229b02cf4b3c0f6457 (diff) | |
download | pkgsrc-0cef6c1b8787413e481c27e6e5eacc1b69ecc605.tar.gz |
Added two patches to make the package build with sunpro.
Diffstat (limited to 'x11/gtk2+extra/patches')
-rw-r--r-- | x11/gtk2+extra/patches/patch-ae | 22 | ||||
-rw-r--r-- | x11/gtk2+extra/patches/patch-af | 15 |
2 files changed, 37 insertions, 0 deletions
diff --git a/x11/gtk2+extra/patches/patch-ae b/x11/gtk2+extra/patches/patch-ae new file mode 100644 index 00000000000..5c4bd99969e --- /dev/null +++ b/x11/gtk2+extra/patches/patch-ae @@ -0,0 +1,22 @@ +$NetBSD: patch-ae,v 1.1 2007/11/04 22:59:36 rillig Exp $ + +--- gtkextra/gtkplot.c.orig 2005-02-25 02:18:46.000000000 +0100 ++++ gtkextra/gtkplot.c 2007-11-04 23:53:15.922868000 +0100 +@@ -218,7 +218,7 @@ static void gtk_plot_real_get_point (Gt + gdouble *px, gdouble *py); + void gtk_plot_remove_dimension (GtkPlot *plot, + const gchar *dimension); +-inline gint roundint (gdouble x); ++gint roundint (gdouble x); + static void update_datasets (GtkPlot *plot, gboolean new_range); + + static GtkWidgetClass *parent_class = NULL; +@@ -2934,7 +2934,7 @@ gtk_plot_ticks_inverse(GtkPlotAxis *axis + return point; + } + +-inline gint ++gint + roundint (gdouble x) + { + return (x+.50999999471); diff --git a/x11/gtk2+extra/patches/patch-af b/x11/gtk2+extra/patches/patch-af new file mode 100644 index 00000000000..173e3d36a7a --- /dev/null +++ b/x11/gtk2+extra/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1 2007/11/04 22:59:36 rillig Exp $ + +enum and guint are different types. + +--- gtkextra/gtkplotsegment.c.orig 2004-12-17 03:05:03.000000000 +0100 ++++ gtkextra/gtkplotsegment.c 2007-11-04 23:49:50.438613000 +0100 +@@ -592,7 +592,7 @@ gtk_plot_segment_is_centered (GtkPlotSeg + } + + void +-gtk_plot_segment_set_arrow_mask(GtkPlotSegment *segment, guint mask) ++gtk_plot_segment_set_arrow_mask(GtkPlotSegment *segment, GtkPlotArrow mask) + { + segment->arrow_mask = mask; + } |