summaryrefslogtreecommitdiffstats
path: root/math/gnumeric2
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-03 09:31:03 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-03 09:31:03 +0800
commitbd8a34b2045fa600ae1bc82ab433c479ab188468 (patch)
treeb4d225eed01fbd9354e229a2a7ce3f41537705bd /math/gnumeric2
parent169ac7e35ba971a1e1f2772d76bbd2bd177d0217 (diff)
downloadmarcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.tar
marcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.tar.gz
marcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.tar.bz2
marcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.tar.lz
marcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.tar.xz
marcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.tar.zst
marcuscom-ports-bd8a34b2045fa600ae1bc82ab433c479ab188468.zip
Fix build on gcc 3.4 and use pygtk2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2596 df743ca5-7f9a-e211-a948-0013205c9059
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,