1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/textproc/xmlroff/files/patch-result-to-fo.c
Jeremy Messenger 69b4da2359 -Add a missing dependency. [1]
-Fix the build on FreeBSD 4.x.

Reported by:	pointyhat via kris [1]
Submitted by:	hrs and James Earl <james@icionline.ca> (maintainer)
2005-01-11 02:48:09 +00:00

23 lines
610 B
C

--- result-to-fo.c.orig Mon Jan 10 14:56:38 2005
+++ result-to-fo.c Mon Jan 10 14:57:14 2005
@@ -852,6 +852,8 @@
while (iterator)
{
FoProperty *property = NULL;
+ FoPropertyClass *property_class = NULL;
+ FoTypeFunc type_func;
if (strcmp (xslAttrListIteratorName (iterator), "font-size") == 0 ||
(FO_IS_TABLE_CELL (fo_fo) &&
@@ -872,8 +874,8 @@
}
}
- FoPropertyClass *property_class = NULL;
- FoTypeFunc type_func =
+ property_class = NULL;
+ type_func =
g_hash_table_lookup (prop_eval_hash,
xslAttrListIteratorName (iterator));