- 64bit clean
- add missing prototypes
This commit is contained in:
parent
474e26d391
commit
a63a9cc1bf
@ -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/}
|
||||
|
11
math/geg/patches/patch-src_colorsel_c
Normal file
11
math/geg/patches/patch-src_colorsel_c
Normal file
@ -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 <config.h>
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
+#include <string.h>
|
||||
#include <glib.h>
|
||||
#include "colorsel.h"
|
||||
|
12
math/geg/patches/patch-src_formulas_c
Normal file
12
math/geg/patches/patch-src_formulas_c
Normal file
@ -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--;
|
11
math/geg/patches/patch-src_help_h
Normal file
11
math/geg/patches/patch-src_help_h
Normal file
@ -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 <gtk/gtk.h>
|
||||
+#include <string.h>
|
||||
|
||||
void help_event(GtkWidget *widget, gpointer data);
|
||||
|
Loading…
Reference in New Issue
Block a user