summaryrefslogtreecommitdiffstats
path: root/math/gnumeric
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-09-20 20:38:31 +0000
committermarcus <marcus@FreeBSD.org>2004-09-20 20:38:31 +0000
commitde24a55dfb040d96f35c02843e0395aa90166e83 (patch)
tree04ac653b6a82823603ee6b6284ae95219fa88c74 /math/gnumeric
parentea3e03dd42f55e8c0ec3f080ac6f37c96d995331 (diff)
downloadFreeBSD-ports-de24a55dfb040d96f35c02843e0395aa90166e83.zip
FreeBSD-ports-de24a55dfb040d96f35c02843e0395aa90166e83.tar.gz
Unbreak with GCC 3.4.2.
Submitted by: Anish Mistry <mistry.7@osu.edu> Approved by: portmgr (implicit)
Diffstat (limited to 'math/gnumeric')
-rw-r--r--math/gnumeric/Makefile4
-rw-r--r--math/gnumeric/files/patch-plugins::html::html.c10
-rw-r--r--math/gnumeric/files/patch-plugins::psiconv::psiconv-read.c27
3 files changed, 37 insertions, 4 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index b25aaad..001fcfc 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -38,10 +38,6 @@ PLIST_SUB= VERSION=${PORTVERSION}-bonobo
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
post-install:
.for dir in share/gnome lib
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
diff --git a/math/gnumeric/files/patch-plugins::html::html.c b/math/gnumeric/files/patch-plugins::html::html.c
new file mode 100644
index 0000000..22d9a59
--- /dev/null
+++ b/math/gnumeric/files/patch-plugins::html::html.c
@@ -0,0 +1,10 @@
+--- plugins/html/html.c.orig Sun Sep 19 16:34:22 2004
++++ plugins/html/html.c Sun Sep 19 16:34:43 2004
+@@ -410,6 +410,7 @@
+ "</HEAD>\n<BODY>\n", fp);
+ break;
+ default:
++ break;
+ }
+
+ sheets = workbook_sheets (wb);
diff --git a/math/gnumeric/files/patch-plugins::psiconv::psiconv-read.c b/math/gnumeric/files/patch-plugins::psiconv::psiconv-read.c
new file mode 100644
index 0000000..a14b75c
--- /dev/null
+++ b/math/gnumeric/files/patch-plugins::psiconv::psiconv-read.c
@@ -0,0 +1,27 @@
+--- plugins/psiconv/psiconv-read.c.orig Sun Sep 19 16:43:32 2004
++++ plugins/psiconv/psiconv-read.c Sun Sep 19 16:44:35 2004
+@@ -301,7 +301,7 @@
+ /* case psiconv_formula_mark_opend: */
+ default:
+ /* kind = -1; */
+- /* break; */
++ break;
+ }
+
+ if (kind == -1) {
+@@ -336,6 +336,7 @@
+ v = value_new_cellrange(cr1,cr2,1,1);
+ break;
+ default:
++ break;
+ }
+ if (!v)
+ return NULL;
+@@ -407,6 +408,7 @@
+ return NULL;
+ return parse_subexpr(psi_form1);
+ default:
++ break;
+ }
+ }
+
OpenPOWER on IntegriCloud