1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Unbreak with GCC 3.4.2.

Submitted by:	Anish Mistry <mistry.7@osu.edu>
Approved by:	portmgr (implicit)
This commit is contained in:
Joe Marcus Clarke 2004-09-20 20:38:31 +00:00
parent 14a4d02444
commit 03d4563c99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118309
3 changed files with 37 additions and 4 deletions

View File

@ -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

View File

@ -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);

View File

@ -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;
}
}