diff --git a/math/geg/Makefile b/math/geg/Makefile index eb5f7151c01..9fe2842e51e 100644 --- a/math/geg/Makefile +++ b/math/geg/Makefile @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.5 2002/05/13 23:31:25 espie Exp $ +# $OpenBSD: Makefile,v 1.6 2002/10/23 07:16:11 pvalchev Exp $ COMMENT= "simple program for plotting 2d mathematical functions" DISTNAME= geg-1.0.2 CATEGORIES= math -NEED_VERSION= 1.363 MASTER_SITES= http://www.infolaunch.com/~daveb/ \ ${MASTER_SITE_SUNSITE:=science/visualization/plotting/} diff --git a/math/geg/patches/patch-src_colorsel_c b/math/geg/patches/patch-src_colorsel_c new file mode 100644 index 00000000000..033bd07d91e --- /dev/null +++ b/math/geg/patches/patch-src_colorsel_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_colorsel_c,v 1.1 2002/10/23 07:16:11 pvalchev Exp $ +--- src/colorsel.c.orig Wed Oct 23 00:52:12 2002 ++++ src/colorsel.c Wed Oct 23 00:52:50 2002 +@@ -7,6 +7,7 @@ + #include + #endif /* HAVE_CONFIG_H */ + ++#include + #include + #include "colorsel.h" + diff --git a/math/geg/patches/patch-src_formulas_c b/math/geg/patches/patch-src_formulas_c new file mode 100644 index 00000000000..5f56d5d1be8 --- /dev/null +++ b/math/geg/patches/patch-src_formulas_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_formulas_c,v 1.1 2002/10/23 07:16:11 pvalchev Exp $ +--- src/formulas.c.orig Wed Oct 23 00:53:31 2002 ++++ src/formulas.c Wed Oct 23 00:56:21 2002 +@@ -200,7 +200,7 @@ really_remove_event(gpointer data, gpoin + gint i = 0; + gchar *text; + +- gtk_clist_get_text((GtkCList *)user_data, (gint)data, 0, &text); ++ gtk_clist_get_text((GtkCList *)user_data, GPOINTER_TO_INT(data), 0, &text); + while(strcmp(text, formulas[i++])); + g_free(formulas[--i]); + nformulas--; diff --git a/math/geg/patches/patch-src_help_h b/math/geg/patches/patch-src_help_h new file mode 100644 index 00000000000..8346df19104 --- /dev/null +++ b/math/geg/patches/patch-src_help_h @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_help_h,v 1.1 2002/10/23 07:16:11 pvalchev Exp $ +--- src/help.h.orig Wed Oct 23 00:53:16 2002 ++++ src/help.h Wed Oct 23 00:53:21 2002 +@@ -2,6 +2,7 @@ + #define __HELP_H__ + + #include ++#include + + void help_event(GtkWidget *widget, gpointer data); +