From de24a55dfb040d96f35c02843e0395aa90166e83 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 20 Sep 2004 20:38:31 +0000 Subject: Unbreak with GCC 3.4.2. Submitted by: Anish Mistry Approved by: portmgr (implicit) --- math/gnumeric/Makefile | 4 ---- math/gnumeric/files/patch-plugins::html::html.c | 10 ++++++++ .../files/patch-plugins::psiconv::psiconv-read.c | 27 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 math/gnumeric/files/patch-plugins::html::html.c create mode 100644 math/gnumeric/files/patch-plugins::psiconv::psiconv-read.c (limited to 'math/gnumeric') 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 -.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 @@ + "\n\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; + } + } + -- cgit v1.1