summaryrefslogtreecommitdiffstats
path: root/math/gnumeric2
diff options
context:
space:
mode:
Diffstat (limited to 'math/gnumeric2')
-rw-r--r--math/gnumeric2/Makefile5
-rw-r--r--math/gnumeric2/files/patch-src_workbook-control-gui-priv.h11
2 files changed, 12 insertions, 4 deletions
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile
index 02df3a25c..d28cca151 100644
--- a/math/gnumeric2/Makefile
+++ b/math/gnumeric2/Makefile
@@ -16,15 +16,12 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= The GNOME 2 spreadsheet
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
-
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier libgnomeprintui \
- libgnomedb libgsf_gnome
+ libgnomedb libgsf_gnome pygtk2
USE_PYTHON= yes
USE_REINPLACE= yes
USE_LIBTOOL_VER=15
diff --git a/math/gnumeric2/files/patch-src_workbook-control-gui-priv.h b/math/gnumeric2/files/patch-src_workbook-control-gui-priv.h
new file mode 100644
index 000000000..ff5a8336b
--- /dev/null
+++ b/math/gnumeric2/files/patch-src_workbook-control-gui-priv.h
@@ -0,0 +1,11 @@
+--- src/workbook-control-gui-priv.h.orig Mon Aug 2 21:26:30 2004
++++ src/workbook-control-gui-priv.h Mon Aug 2 21:27:53 2004
+@@ -111,7 +111,7 @@
+ void wbcg_insert_sheet (GtkWidget *ignored, WorkbookControlGUI *wbcg);
+ void wbcg_append_sheet (GtkWidget *ignored, WorkbookControlGUI *wbcg);
+ void wbcg_set_selection_halign (WorkbookControlGUI *wbcg, StyleHAlignFlags halign);
+-void wbcg_set_selection_valign (WorkbookControlGUI *wbcg, StyleHAlignFlags halign);
++void wbcg_set_selection_valign (WorkbookControlGUI *wbcg, StyleVAlignFlags valign);
+
+ enum {
+ WBCG_MARKUP_CHANGED,