diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-02 18:02:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-02 18:02:11 +0000 |
commit | 331a0571ee7f6dbf1dc5f959b1d3fb80e791efc1 (patch) | |
tree | 50413d2ae4454090bb4f030a323c57b5fc48a549 /math | |
parent | 50e35b1db1decb81f18cfe26c8946db334c3bc54 (diff) | |
download | pkgsrc-331a0571ee7f6dbf1dc5f959b1d3fb80e791efc1.tar.gz |
Fix inline use.
Diffstat (limited to 'math')
-rw-r--r-- | math/genius/distinfo | 4 | ||||
-rw-r--r-- | math/genius/patches/patch-gtkextra_gtkplot.c | 22 | ||||
-rw-r--r-- | math/genius/patches/patch-gtkextra_gtkplotsurface.c | 13 |
3 files changed, 38 insertions, 1 deletions
diff --git a/math/genius/distinfo b/math/genius/distinfo index e50b30dce7b..69c08841e99 100644 --- a/math/genius/distinfo +++ b/math/genius/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.15 2012/04/14 13:28:23 drochner Exp $ +$NetBSD: distinfo,v 1.16 2013/03/02 18:02:11 joerg Exp $ SHA1 (genius-1.0.15.tar.gz) = 6f38b700f2a6e3f1d1b62dac3bf49d383ca4d3ce RMD160 (genius-1.0.15.tar.gz) = 118f9875099867a73fcee917c6c72ff0daf27a22 Size (genius-1.0.15.tar.gz) = 3580821 bytes +SHA1 (patch-gtkextra_gtkplot.c) = 3ea37b0a15454b5d81d62b93dd4a70828259d97f +SHA1 (patch-gtkextra_gtkplotsurface.c) = 5f1e98dc7268ebef3a5edf04496a92b4f620114c diff --git a/math/genius/patches/patch-gtkextra_gtkplot.c b/math/genius/patches/patch-gtkextra_gtkplot.c new file mode 100644 index 00000000000..5c95c8748a0 --- /dev/null +++ b/math/genius/patches/patch-gtkextra_gtkplot.c @@ -0,0 +1,22 @@ +$NetBSD: patch-gtkextra_gtkplot.c,v 1.1 2013/03/02 18:02:11 joerg Exp $ + +--- gtkextra/gtkplot.c.orig 2013-03-01 16:04:54.000000000 +0000 ++++ gtkextra/gtkplot.c +@@ -219,7 +219,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; +@@ -2971,7 +2971,7 @@ gtk_plot_ticks_inverse(GtkPlotAxis *axis + return point; + } + +-inline gint ++gint + roundint (gdouble x) + { + return (x+.50999999471); diff --git a/math/genius/patches/patch-gtkextra_gtkplotsurface.c b/math/genius/patches/patch-gtkextra_gtkplotsurface.c new file mode 100644 index 00000000000..041c974a3f1 --- /dev/null +++ b/math/genius/patches/patch-gtkextra_gtkplotsurface.c @@ -0,0 +1,13 @@ +$NetBSD: patch-gtkextra_gtkplotsurface.c,v 1.1 2013/03/02 18:02:11 joerg Exp $ + +--- gtkextra/gtkplotsurface.c.orig 2013-03-01 16:05:52.000000000 +0000 ++++ gtkextra/gtkplotsurface.c +@@ -99,7 +99,7 @@ enum { + static GtkPlotDataClass *parent_class = NULL; + + /* "stolen" from 3dgpl */ +-inline gulong _sqrt(register gulong arg) ++static inline gulong _sqrt(register gulong arg) + { + register gint i; + register gulong nprd,msk=0x8000L,val=0,prd=0; |